A
- Annotation type@NoImplement public interface AnnotationValueFetcher<A extends Annotation>
Modifier and Type | Method and Description |
---|---|
<E> List<E> |
getArrayValue(Function<A,E[]> function)
|
Boolean |
getBooleanValue(Function<A,Boolean> function)
Returns a
Boolean value of an Annotation property |
List<Type> |
getClassArrayValue(Function<A,Class[]> function)
Return the list of
Type representing a Class[] property. |
Type |
getClassValue(Function<A,Class> function)
|
<E extends Enum> |
getEnumValue(Function<A,E> function)
Returns the
Enum value of an annotation property |
<E extends Annotation> |
getInnerAnnotation(Function<A,E> function)
|
<E extends Annotation> |
getInnerAnnotations(Function<A,E[]> function)
|
<N extends Number> |
getNumberValue(Function<A,N> function)
Returns a
Number value of an Annotation property |
String |
getStringValue(Function<A,String> function)
Returns a
String value of an Annotation property |
String getStringValue(Function<A,String> function)
String
value of an Annotation
propertyfunction
- A function which executes the logic of retrieving the property value.<E> List<E> getArrayValue(Function<A,E[]> function)
E
- The array type.function
- A function which executes the logic of retrieving the property value.List<Type> getClassArrayValue(Function<A,Class[]> function)
Type
representing a Class[]
property.function
- A function which executes the logic of retrieving the property value.Type
Type getClassValue(Function<A,Class> function)
function
- A function which executes the logic of retrieving the property value.Type
<N extends Number> N getNumberValue(Function<A,N> function)
Number
value of an Annotation
propertyfunction
- A function which executes the logic of retrieving the property value.Type
Boolean getBooleanValue(Function<A,Boolean> function)
Boolean
value of an Annotation
propertyfunction
- A function which executes the logic of retrieving the property value.Type
<E extends Enum> E getEnumValue(Function<A,E> function)
Enum
value of an annotation property<E extends Annotation> AnnotationValueFetcher<E> getInnerAnnotation(Function<A,E> function)
E
- The Annotation
typefunction
- A function which executes the logic of retrieving the property value.AnnotationValueFetcher
wrapping the inner annotation<E extends Annotation> List<AnnotationValueFetcher<E>> getInnerAnnotations(Function<A,E[]> function)
E
- The Annotation
typefunction
- A function which executes the logic of retrieving the property value.AnnotationValueFetcher
wrapping the inner annotationsCopyright © 2018. All rights reserved.