Maciej Madajczyk [https://community.jboss.org/people/maciejmad] created the 
discussion

"How to get inner class name with annotation by ClassFile ?"

To view the discussion, visit: https://community.jboss.org/message/741159#741159

--------------------------------------------------------------
Hi
I have simple class with annotated inner classes:

public class Main {

     @MyAnnotation
     private static final class A{

     }

     @MyAnnotation
     private static final class B{

     }

     private static final class C{

     }

}

The only thing I have is binary data of Main class, so I create ClassFile.

How can I get all inner class names exist in Main class with annotation 
@MyAnnotation from this classFile ? (in this case name for class A and B)

Best regards
maciejmad
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/741159#741159]

Start a new discussion in Javassist at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2062]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to