public class AnnotationFinder.MethodInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
Modifier and Type | Field and Description |
---|---|
private AnnotationFinder.ClassInfo |
declaringClass |
private java.lang.String |
descriptor |
private java.lang.reflect.Member |
method |
private java.lang.String |
name |
private java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>> |
parameterAnnotations |
private java.util.List<AnnotationFinder.ParameterInfo> |
parameters |
Constructor and Description |
---|
MethodInfo(AnnotationFinder.ClassInfo info,
java.lang.reflect.Constructor constructor) |
MethodInfo(AnnotationFinder.ClassInfo info,
java.lang.reflect.Method method) |
MethodInfo(AnnotationFinder.ClassInfo declarignClass,
java.lang.String name,
java.lang.String descriptor) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Member |
get() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
AnnotationFinder.ClassInfo |
getDeclaringClass() |
java.lang.String |
getDescriptor() |
java.lang.String |
getMetaAnnotationName() |
java.lang.String |
getName() |
java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>> |
getParameterAnnotations() |
java.util.List<AnnotationFinder.AnnotationInfo> |
getParameterAnnotations(int index) |
java.util.List<AnnotationFinder.ParameterInfo> |
getParameters() |
boolean |
isConstructor() |
private java.lang.reflect.Member |
toMethod() |
java.lang.String |
toString() |
getAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotations
private final AnnotationFinder.ClassInfo declaringClass
private final java.lang.String descriptor
private final java.lang.String name
private final java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>> parameterAnnotations
private final java.util.List<AnnotationFinder.ParameterInfo> parameters
private java.lang.reflect.Member method
public MethodInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Constructor constructor)
public MethodInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Method method)
public MethodInfo(AnnotationFinder.ClassInfo declarignClass, java.lang.String name, java.lang.String descriptor)
public java.lang.String getDescriptor()
public java.lang.String getMetaAnnotationName()
getMetaAnnotationName
in interface AnnotationFinder.Info
getMetaAnnotationName
in class AnnotationFinder.Annotatable
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotationFinder.Info
getDeclaredAnnotations
in class AnnotationFinder.Annotatable
public boolean isConstructor()
public java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>> getParameterAnnotations()
public java.util.List<AnnotationFinder.AnnotationInfo> getParameterAnnotations(int index)
public java.util.List<AnnotationFinder.ParameterInfo> getParameters()
public java.lang.String getName()
getName
in interface AnnotationFinder.Info
public AnnotationFinder.ClassInfo getDeclaringClass()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.reflect.Member get() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
private java.lang.reflect.Member toMethod() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException