コード例 #1
0
 public void setAnnotationsDone(ClassFile cf, Object tag) {
   curAttr.defaultEntries = getDefaultValueEntries();
   annotationAttributes.put(annotationName, curAttr);
 }
コード例 #2
0
 public void setAnnotation(
     ClassFile cf, Object tag, int annotationIndex, String annotationType) {
   if (annotationType.equals("Ljava/lang/annotation/Inherited;")) {
     curAttr.isInherited = true;
   }
 }