AnnotationFinder.Info
public class AnnotationFinder.MethodInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
Constructor | 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 | 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() |
|
java.lang.String |
toString() |
getAnnotations
getAnnotations
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
Copyright © 2005–2018. All rights reserved.