Constructor and Description |
---|
AnnotationRegistry() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getValue(AnnotatedElement annotatedElement,
Annotation annotation,
String attribute,
T valueIfNull)
Returns the a value to a given annotation attribute that might have been modified by a
Copy annotation |
static void |
reset() |
public static final <T> T getValue(AnnotatedElement annotatedElement, Annotation annotation, String attribute, T valueIfNull)
Copy
annotationT
- the expected value type to be returned by this method.annotatedElement
- a method or field that has an annotation whose properties might have been changed by a Copy
annotationannotation
- the possibly altered annotation of the given annotatedElementattribute
- the attribute of the possibly altered annotationvalueIfNull
- the value to return from the unmodified annotation, if it has not been changed by a Copy
public static final void reset()
Copyright © 2019 Univocity Software Pty Ltd. All rights reserved.