public class JavassistAdapter extends Object implements MetadataAdapter<ClassFile,FieldInfo,MethodInfo>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
includeInvisibleTag
setting this to false will result in returning only visible annotations from the relevant methods here (only
RetentionPolicy.RUNTIME) |
| Constructor and Description |
|---|
JavassistAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsInput(String file) |
List<String> |
getClassAnnotationNames(ClassFile aClass) |
String |
getClassName(ClassFile cls) |
List<String> |
getFieldAnnotationNames(FieldInfo field) |
String |
getFieldName(FieldInfo field) |
List<FieldInfo> |
getFields(ClassFile cls) |
List<String> |
getInterfacesNames(ClassFile cls) |
List<String> |
getMethodAnnotationNames(MethodInfo method) |
String |
getMethodFullKey(ClassFile cls,
MethodInfo method) |
String |
getMethodKey(ClassFile cls,
MethodInfo method) |
String |
getMethodModifier(MethodInfo method) |
String |
getMethodName(MethodInfo method) |
List<MethodInfo> |
getMethods(ClassFile cls) |
ClassFile |
getOfCreateClassObject(Vfs.File file) |
List<String> |
getParameterAnnotationNames(MethodInfo method,
int parameterIndex) |
List<String> |
getParameterNames(MethodInfo method) |
String |
getReturnTypeName(MethodInfo method) |
String |
getSuperclassName(ClassFile cls) |
boolean |
isPublic(Object o) |
public static boolean includeInvisibleTag
RetentionPolicy.RUNTIME)public List<FieldInfo> getFields(ClassFile cls)
getFields in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public List<MethodInfo> getMethods(ClassFile cls)
getMethods in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public String getMethodName(MethodInfo method)
getMethodName in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public List<String> getParameterNames(MethodInfo method)
getParameterNames in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public List<String> getClassAnnotationNames(ClassFile aClass)
getClassAnnotationNames in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public List<String> getFieldAnnotationNames(FieldInfo field)
getFieldAnnotationNames in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public List<String> getMethodAnnotationNames(MethodInfo method)
getMethodAnnotationNames in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public List<String> getParameterAnnotationNames(MethodInfo method, int parameterIndex)
getParameterAnnotationNames in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public String getReturnTypeName(MethodInfo method)
getReturnTypeName in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public String getFieldName(FieldInfo field)
getFieldName in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public ClassFile getOfCreateClassObject(Vfs.File file)
getOfCreateClassObject in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public String getMethodModifier(MethodInfo method)
getMethodModifier in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public String getMethodKey(ClassFile cls, MethodInfo method)
getMethodKey in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public String getMethodFullKey(ClassFile cls, MethodInfo method)
getMethodFullKey in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public boolean isPublic(Object o)
isPublic in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public String getClassName(ClassFile cls)
getClassName in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public String getSuperclassName(ClassFile cls)
getSuperclassName in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public List<String> getInterfacesNames(ClassFile cls)
getInterfacesNames in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>public boolean acceptsInput(String file)
acceptsInput in interface MetadataAdapter<ClassFile,FieldInfo,MethodInfo>Copyright © 2014. All rights reserved.