| Modifier and Type | Class and Description |
|---|---|
| public static class | AnnotationFinder.AnnotatedStructure
AnnotatedStructure Annotations on an object such as a class, field or method. |
| public class | AnnotationFinder.MyClassVisitor
MyClassVisitor ASM visitor for a class. |
| public static class | AnnotationFinder.ParsedClass
ParsedClass A class that contains annotations. |
| public static class | AnnotationFinder.ParsedField
ParsedField A class field that can contain annotations. |
| public static class | AnnotationFinder.ParsedMethod
ParsedMethod A class method that can contain annotations. |
| Modifier and Type | Field and Description |
|---|---|
| private Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Class | |
| public static Class | |
| protected boolean | excludeClass(String name)
Exclude class by name
Instances of |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | find(ClassLoader loader, boolean visitParents, String jarNamePattern, boolean nullInclusive, final ClassNameResolver resolver)
|
| public List | |
| public List | |
| public List | |
| public static String | |
| private void | |
| public String |
| parsedClasses | back to summary |
|---|---|
| private Map<String, AnnotationFinder. | |
| AnnotationFinder | back to summary |
|---|---|
| public AnnotationFinder() | |
| convertType | back to summary |
|---|---|
| public static Class | |
| convertTypes | back to summary |
|---|---|
| public static Class | |
| excludeClass | back to summary |
|---|---|
| protected boolean excludeClass(String name) Exclude class by name
Instances of | |
| find | back to summary |
|---|---|
| public void find(String className, ClassNameResolver resolver) throws Exception | |
| find | back to summary |
|---|---|
| public void find(String[] classNames, ClassNameResolver resolver) throws Exception | |
| find | back to summary |
|---|---|
| public void find(List<String> classNames, ClassNameResolver resolver) throws Exception | |
| find | back to summary |
|---|---|
| public void find(Resource dir, ClassNameResolver resolver) throws Exception | |
| find | back to summary |
|---|---|
| public void find(ClassLoader loader, boolean visitParents, String jarNamePattern, boolean nullInclusive, final ClassNameResolver resolver) throws Exception | |
| getClassesForAnnotation | back to summary |
|---|---|
| public List | |
| getFieldsForAnnotation | back to summary |
|---|---|
| public List | |
| getMethodsForAnnotation | back to summary |
|---|---|
| public List | |
| normalize | back to summary |
|---|---|
| public static String normalize(String name) | |
| scanClass | back to summary |
|---|---|
| private void scanClass(InputStream is) throws IOException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationVisitor | |
| public Map | |
| public String |
| AnnotatedStructure | back to summary |
|---|---|
| public AnnotatedStructure() | |
| addAnnotation | back to summary |
|---|---|
| public AnnotationVisitor addAnnotation(final String name) | |
| getAnnotations | back to summary |
|---|---|
| public Map | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv AnnotationFinder. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | visit(int
the class version. version, int the class's access flags (see access, String Opcodes). This
parameter also indicates if the class is deprecated.the internal name of the class (see
name, String getInternalName).the signature of this class. May be null if
the class is not a generic one, and does not extend or implement
generic classes or interfaces. signature, String the internal of name of the super class (see
superName, String[] getInternalName). For interfaces,
the super class is Object. May be null, but
only for the Object class.the internal names of the class's interfaces (see
interfaces)getInternalName). May be
null.Overrides org. Implements org. |
| public AnnotationVisitor | visitAnnotation(String
the class descriptor of the annotation class. desc, boolean true if the annotation is visible at runtime. visible)Overrides org. Implements org. |
| public FieldVisitor | visitField(int
the field's access flags (see access, String Opcodes). This
parameter also indicates if the field is synthetic and/or
deprecated.the field's name. name, String the field's descriptor (see desc, String Type).the field's signature. May be null if the
field's type does not use generic types. signature, Object the field's initial value. This parameter, which may be
null if the field does not have an initial value, must
be an value)Integer, a Float, a Long, a
Double or a String (for int,
float, long or String fields
respectively). This parameter is only used for static fields.
Its value is ignored for non static fields, which must be
initialized through bytecode instructions in constructors or
methods.Overrides org. Implements org. |
| public MethodVisitor | visitMethod(int
the method's access flags (see access, String Opcodes). This
parameter also indicates if the method is synthetic and/or
deprecated.the method's name. name, String the method's descriptor (see desc, String Type).the method's signature. May be null if the
method parameters, return type and exceptions do not use generic
types. signature, String[] the internal names of the method's exception classes
(see exceptions)getInternalName). May be
null.Overrides org. Implements org. |
| pclass | back to summary |
|---|---|
| pack-priv AnnotationFinder. | |
| MyClassVisitor | back to summary |
|---|---|
| public MyClassVisitor() | |
| visit | back to summary |
|---|---|
| public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) Overrides org. Implements org. Doc from org. Visits the header of the class.
| |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationVisitor visitAnnotation(String desc, boolean visible) Overrides org. Implements org. Doc from org. Visits an annotation of the class.
| |
| visitField | back to summary |
|---|---|
| public FieldVisitor visitField(int access, String name, String desc, String signature, Object value) Overrides org. Implements org. Doc from org. Visits a field of the class.
| |
| visitMethod | back to summary |
|---|---|
| public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) Overrides org. Implements org. Doc from org. Visits a method of the class. This method must return a new
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv Class | |
| pack-priv List | |
| pack-priv List | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public String | |
| public AnnotationFinder. | |
| public List | |
| public AnnotationFinder. | |
| public List | |
| public String | |
| public Class | |
| public String | toString()
Overrides org. |
| className | back to summary |
|---|---|
| pack-priv String className | |
| clazz | back to summary |
|---|---|
| pack-priv Class<T> clazz | |
| fields | back to summary |
|---|---|
| pack-priv List<AnnotationFinder. | |
| methods | back to summary |
|---|---|
| pack-priv List<AnnotationFinder. | |
| superClassName | back to summary |
|---|---|
| pack-priv String superClassName | |
| ParsedClass | back to summary |
|---|---|
| public ParsedClass(String className, String superClassName) | |
| addField | back to summary |
|---|---|
| public void addField(AnnotationFinder. | |
| addMethod | back to summary |
|---|---|
| public void addMethod(AnnotationFinder. | |
| getClassName | back to summary |
|---|---|
| public String getClassName() | |
| getField | back to summary |
|---|---|
| public AnnotationFinder. | |
| getFields | back to summary |
|---|---|
| public List | |
| getMethod | back to summary |
|---|---|
| public AnnotationFinder. | |
| getMethods | back to summary |
|---|---|
| public List | |
| getSuperClassName | back to summary |
|---|---|
| public String getSuperClassName() | |
| toClass | back to summary |
|---|---|
| public Class | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Field | |
| pack-priv String | |
| pack-priv AnnotationFinder. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Field | |
| public String | toString()
Overrides org. |
| public AnnotationVisitor | visitAnnotation(String
the class descriptor of the annotation class. desc, boolean true if the annotation is visible at runtime. visible)Overrides org. Implements org. |
| field | back to summary |
|---|---|
| pack-priv Field field | |
| fieldName | back to summary |
|---|---|
| pack-priv String fieldName | |
| pclass | back to summary |
|---|---|
| pack-priv AnnotationFinder. | |
| ParsedField | back to summary |
|---|---|
| public ParsedField(AnnotationFinder. | |
| matches | back to summary |
|---|---|
| public boolean matches(String name) | |
| toField | back to summary |
|---|---|
| public Field toField() throws Exception | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
| |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationVisitor visitAnnotation(String desc, boolean visible) Overrides org. Implements org. Doc from org. Visits an annotation of the class.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Method | |
| pack-priv String | |
| pack-priv String | |
| pack-priv AnnotationFinder. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Method | |
| public String | toString()
Overrides org. |
| public AnnotationVisitor | visitAnnotation(String
the class descriptor of the annotation class. desc, boolean true if the annotation is visible at runtime. visible)Overrides org. Implements org. |
| method | back to summary |
|---|---|
| pack-priv Method method | |
| methodName | back to summary |
|---|---|
| pack-priv String methodName | |
| paramString | back to summary |
|---|---|
| pack-priv String paramString | |
| pclass | back to summary |
|---|---|
| pack-priv AnnotationFinder. | |
| ParsedMethod | back to summary |
|---|---|
| public ParsedMethod(AnnotationFinder. | |
| matches | back to summary |
|---|---|
| public boolean matches(String name, String paramString) | |
| toMethod | back to summary |
|---|---|
| public Method toMethod() throws Exception | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
| |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationVisitor visitAnnotation(String desc, boolean visible) Overrides org. Implements org. Doc from org. Visits an annotation of the class.
| |