예제 #1
0
 @Override
 public void field(FieldDef defined) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.field(defined);
     } catch (Exception e) {
       reporter.error("Fail to call field on %s", cd);
     }
 }
예제 #2
0
 @Override
 public void memberEnd() {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.memberEnd();
     } catch (Exception e) {
       reporter.error("Fail to call memberEnd on %s", cd);
     }
 }
예제 #3
0
 @Override
 public void addReference(TypeRef ref) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.addReference(ref);
     } catch (Exception e) {
       reporter.error("Fail to class addReference on %s", cd);
     }
 }
예제 #4
0
 @Override
 public void implementsInterfaces(TypeRef[] interfaces) throws Exception {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.implementsInterfaces(interfaces);
     } catch (Exception e) {
       reporter.error("Fail to class implementsInterfaces on %s", cd);
     }
 }
예제 #5
0
 @Override
 public void annotation(Annotation annotation) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.annotation(annotation);
     } catch (Exception e) {
       reporter.error("Fail to class annotation on %s", cd);
     }
 }
예제 #6
0
 @Override
 public void referTo(TypeRef typeRef, int modifiers) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.referTo(typeRef, modifiers);
     } catch (Exception e) {
       reporter.error("Fail to call referTo on %s", cd);
     }
 }
예제 #7
0
 @Override
 public void extendsClass(TypeRef zuper) throws Exception {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.extendsClass(zuper);
     } catch (Exception e) {
       reporter.error("Fail to class extendsClass on %s", cd);
     }
 }
예제 #8
0
 @Override
 public void classBegin(int access, TypeRef name) {
   for (ClassDataCollector cd : delegates)
     try {
       cd.classBegin(access, name);
     } catch (Exception e) {
       reporter.error("Fail to class classBegin on %s", cd);
     }
 }
예제 #9
0
 @Override
 public void version(int minor, int major) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.version(minor, major);
     } catch (Exception e) {
       reporter.error("Fail to call version on %s", cd);
     }
 }
예제 #10
0
 @Override
 public void referenceMethod(int access, TypeRef className, String method, String descriptor) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.referenceMethod(access, className, method, descriptor);
     } catch (Exception e) {
       reporter.error("Fail to call referenceMethod on %s", cd);
     }
 }
예제 #11
0
 @Override
 public void constant(Object object) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.constant(object);
     } catch (Exception e) {
       reporter.error("Fail to call constant on %s", cd);
     }
 }
예제 #12
0
 @Override
 public void parameter(int p) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.parameter(p);
     } catch (Exception e) {
       reporter.error("Fail to class parameter on %s", cd);
     }
 }
예제 #13
0
 @Override
 public void signature(String signature) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.signature(signature);
     } catch (Exception e) {
       reporter.error("Fail to call innerClass on %s", cd);
     }
 }
예제 #14
0
 @Override
 public void enclosingMethod(TypeRef cName, String mName, String mDescriptor) {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.enclosingMethod(cName, mName, mDescriptor);
     } catch (Exception e) {
       reporter.error("Fail to call enclosingMethod on %s", cd);
     }
 }
예제 #15
0
 @Override
 public void deprecated() throws Exception {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.deprecated();
     } catch (Exception e) {
       reporter.error("Fail to call deprecated on %s", cd);
     }
 }
예제 #16
0
 @Override
 public void classEnd() throws Exception {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.classEnd();
     } catch (Exception e) {
       reporter.error("Fail to call classEnd on %s", cd);
     }
   shortlist.clear();
 }
예제 #17
0
 @Override
 public void innerClass(
     TypeRef innerClass, TypeRef outerClass, String innerName, int innerClassAccessFlags)
     throws Exception {
   for (ClassDataCollector cd : shortlist)
     try {
       cd.innerClass(innerClass, outerClass, innerName, innerClassAccessFlags);
     } catch (Exception e) {
       reporter.error("Fail to call innerClass on %s", cd);
     }
 }
예제 #18
0
 @Override
 public boolean classStart(Clazz clazz) {
   boolean start = false;
   for (ClassDataCollector cd : delegates)
     try {
       if (cd.classStart(clazz)) {
         shortlist.add(cd);
         start = true;
       }
     } catch (Exception e) {
       reporter.error("Fail to class classStart on %s", cd);
     }
   return start;
 }