public class AnnotationFinder.MethodInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
Constructor and Description |
---|
AnnotationFinder.MethodInfo(AnnotationFinder.ClassInfo info,
Constructor constructor) |
AnnotationFinder.MethodInfo(AnnotationFinder.ClassInfo info,
Method method) |
AnnotationFinder.MethodInfo(AnnotationFinder.ClassInfo declarignClass,
String name,
String descriptor) |
Modifier and Type | Method and Description |
---|---|
Member |
get() |
Annotation[] |
getDeclaredAnnotations() |
AnnotationFinder.ClassInfo |
getDeclaringClass() |
String |
getDescriptor() |
String |
getMetaAnnotationName() |
String |
getName() |
List<List<AnnotationFinder.AnnotationInfo>> |
getParameterAnnotations() |
List<AnnotationFinder.AnnotationInfo> |
getParameterAnnotations(int index) |
List<AnnotationFinder.ParameterInfo> |
getParameters() |
boolean |
isConstructor() |
String |
toString() |
getAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotations
public AnnotationFinder.MethodInfo(AnnotationFinder.ClassInfo info, Constructor constructor)
public AnnotationFinder.MethodInfo(AnnotationFinder.ClassInfo info, Method method)
public AnnotationFinder.MethodInfo(AnnotationFinder.ClassInfo declarignClass, String name, String descriptor)
public String getDescriptor()
public String getMetaAnnotationName()
getMetaAnnotationName
in interface AnnotationFinder.Info
getMetaAnnotationName
in class AnnotationFinder.Annotatable
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotationFinder.Info
getDeclaredAnnotations
in class AnnotationFinder.Annotatable
public boolean isConstructor()
public List<List<AnnotationFinder.AnnotationInfo>> getParameterAnnotations()
public List<AnnotationFinder.AnnotationInfo> getParameterAnnotations(int index)
public List<AnnotationFinder.ParameterInfo> getParameters()
public String getName()
getName
in interface AnnotationFinder.Info
public AnnotationFinder.ClassInfo getDeclaringClass()
public Member get() throws ClassNotFoundException
ClassNotFoundException
Copyright © 2005–2015. All rights reserved.