Class AnnotationHelper
java.lang.Object
io.higson.runtime.engine.util.reflection.AnnotationHelper
- Author:
- Adam Dubiel
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TextractValue(Annotation annotation, String methodName) Extract value from given annotation method, if anything goes wrong throwsInnerReflectiveOperationExceptionwith real reason as cause.
-
Method Details
-
extractValue
Extract value from given annotation method, if anything goes wrong throwsInnerReflectiveOperationExceptionwith real reason as cause.- Type Parameters:
T- type of returned value- Parameters:
annotation- source annotationmethodName- annotation method to look for- Returns:
- value returned from annotation method
-