public interface AnnotatedClass
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
getAllAnnotations() |
AnnotatedMethod |
getAnnotatedMethod(Method method) |
AnnotatedMethod |
getAnnotatedMethod(String name,
Class<?>[] parameterType) |
AnnotatedMethod[] |
getAnnotatedMethods() |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Class<?> |
getTheClass() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type is present on this element, else false.
|
Class<?> getTheClass()
boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
annotationClass - the Class object corresponding to the annotation typeAnnotation[] getAllAnnotations()
<T extends Annotation> T getAnnotation(Class<T> annotationClass)
annotationClass - to find an annotation.AnnotatedMethod[] getAnnotatedMethods()
AnnotatedMethod getAnnotatedMethod(String name, Class<?>[] parameterType)
name - of the method to find.parameterType - of the method to find.AnnotatedMethod getAnnotatedMethod(Method method)
public - method of the annotated class.Copyright © 2020. All rights reserved.