public class AnnotationFinder
extends java.lang.Object
Constructor and Description |
---|
AnnotationFinder(java.lang.Class<?> annotatedClass) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
createInheritMemberName(java.lang.String memberName)
Creates the inherit member name by prefixing "inherit" to the capitalized
member name.
|
<T,A extends java.lang.annotation.Annotation> |
getAnnotatedClasses(java.lang.Class<A> annotationClass,
java.lang.Class<T> type,
java.lang.String memberName) |
<T,A extends java.lang.annotation.Annotation> |
getAnnotatedValue(java.lang.Class<A> annotationClass,
java.lang.Class<T> memberType,
java.lang.String memberName) |
<T,A extends java.lang.annotation.Annotation> |
getAnnotatedValues(java.lang.Class<A> annotationClass,
java.lang.Class<T> type,
java.lang.String memberName) |
protected <A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> annotationClass) |
protected java.lang.Object |
getAnnotationValue(java.lang.annotation.Annotation annotation,
java.lang.String attributeName) |
<A extends java.lang.annotation.Annotation> |
isAnnotationPresent(java.lang.Class<A> annotationClass) |
<A extends java.lang.annotation.Annotation> |
isAnnotationValuePresent(java.lang.Class<A> annotationClass,
java.lang.String memberName) |
public <A extends java.lang.annotation.Annotation> boolean isAnnotationPresent(java.lang.Class<A> annotationClass)
public <A extends java.lang.annotation.Annotation> boolean isAnnotationValuePresent(java.lang.Class<A> annotationClass, java.lang.String memberName)
public <T,A extends java.lang.annotation.Annotation> T getAnnotatedValue(java.lang.Class<A> annotationClass, java.lang.Class<T> memberType, java.lang.String memberName)
public <T,A extends java.lang.annotation.Annotation> java.util.List<T> getAnnotatedValues(java.lang.Class<A> annotationClass, java.lang.Class<T> type, java.lang.String memberName)
protected java.lang.String createInheritMemberName(java.lang.String memberName)
memberName
- public <T,A extends java.lang.annotation.Annotation> java.util.List<java.lang.Class<T>> getAnnotatedClasses(java.lang.Class<A> annotationClass, java.lang.Class<T> type, java.lang.String memberName)
protected <A extends java.lang.annotation.Annotation> java.lang.annotation.Annotation getAnnotation(java.lang.Class<A> annotationClass)
protected java.lang.Object getAnnotationValue(java.lang.annotation.Annotation annotation, java.lang.String attributeName)
Copyright © 2003-2014. All Rights Reserved.