Package org.reflections.util
Class JavassistHelper
java.lang.Object
org.reflections.util.JavassistHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
setting this static to false will result in returning onlyRetentionPolicy.RUNTIME
visible annotation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotationNames
(javassist.bytecode.annotation.Annotation[] annotations) static String
fieldName
(javassist.bytecode.ClassFile classFile, javassist.bytecode.FieldInfo object) getAnnotations
(Function<String, javassist.bytecode.AttributeInfo> function) static Stream
<javassist.bytecode.MethodInfo> getConstructors
(javassist.bytecode.ClassFile classFile) static Stream
<javassist.bytecode.MethodInfo> getMethods
(javassist.bytecode.ClassFile classFile) getParameters
(javassist.bytecode.MethodInfo method) getParametersAnnotations
(javassist.bytecode.MethodInfo method) static String
getReturnType
(javassist.bytecode.MethodInfo method) static boolean
static String
methodName
(javassist.bytecode.ClassFile classFile, javassist.bytecode.MethodInfo object)
-
Field Details
-
includeInvisibleTag
public static boolean includeInvisibleTagsetting this static to false will result in returning onlyRetentionPolicy.RUNTIME
visible annotation
-
-
Constructor Details
-
JavassistHelper
public JavassistHelper()
-
-
Method Details
-
fieldName
public static String fieldName(javassist.bytecode.ClassFile classFile, javassist.bytecode.FieldInfo object) -
methodName
public static String methodName(javassist.bytecode.ClassFile classFile, javassist.bytecode.MethodInfo object) -
isPublic
-
getMethods
public static Stream<javassist.bytecode.MethodInfo> getMethods(javassist.bytecode.ClassFile classFile) -
getConstructors
public static Stream<javassist.bytecode.MethodInfo> getConstructors(javassist.bytecode.ClassFile classFile) -
getParameters
-
getReturnType
-
getAnnotations
-
getParametersAnnotations
-
annotationNames
-