public class AnnotationFinder.MethodInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
| Constructor and Description |
|---|
MethodInfo(AnnotationFinder.ClassInfo info,
Constructor constructor) |
MethodInfo(AnnotationFinder.ClassInfo info,
Method method) |
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() |
getAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotationspublic MethodInfo(AnnotationFinder.ClassInfo info, Constructor constructor)
public MethodInfo(AnnotationFinder.ClassInfo info, Method method)
public MethodInfo(AnnotationFinder.ClassInfo declarignClass, String name, String descriptor)
public String getDescriptor()
public String getMetaAnnotationName()
getMetaAnnotationName in interface AnnotationFinder.InfogetMetaAnnotationName in class AnnotationFinder.Annotatablepublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotationFinder.InfogetDeclaredAnnotations in class AnnotationFinder.Annotatablepublic 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.Infopublic AnnotationFinder.ClassInfo getDeclaringClass()
public Member get() throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.