Package io.contextmap.core.reflection
Class ReflectionFunctions
java.lang.Object
io.contextmap.core.reflection.ReflectionFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<Annotation>getAnnotation(Class<?> type, String annotationFullyQualifiedName) static Optional<Annotation>getAnnotation(Field field, String annotationFullyQualifiedName) static Optional<Annotation>getAnnotation(Method method, String annotationFullyQualifiedName) getAnnotationFieldValue(Annotation annotation, String fieldName) static Map<Parameter,Annotation> getArgumentsWithAnnotation(Method method, String annotationFullyQualifiedName)
-
Constructor Details
-
ReflectionFunctions
public ReflectionFunctions()
-
-
Method Details
-
getAnnotation
public static Optional<Annotation> getAnnotation(Class<?> type, String annotationFullyQualifiedName) -
getAnnotation
public static Optional<Annotation> getAnnotation(Method method, String annotationFullyQualifiedName) -
getAnnotation
-
getArgumentsWithAnnotation
public static Map<Parameter,Annotation> getArgumentsWithAnnotation(Method method, String annotationFullyQualifiedName) -
getAnnotationFieldValue
-