private static class TempDirectory.FieldContext extends java.lang.Object implements AnnotatedElementContext
| Modifier and Type | Field and Description |
|---|---|
private java.lang.reflect.Field |
field |
| Modifier | Constructor and Description |
|---|---|
private |
FieldContext(java.lang.reflect.Field field) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.AnnotatedElement |
getAnnotatedElement()
Get the
AnnotatedElement for this context. |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindAnnotation, findRepeatableAnnotations, isAnnotatedpublic java.lang.reflect.AnnotatedElement getAnnotatedElement()
AnnotatedElementContextAnnotatedElement for this context.
When searching for annotations on the annotated element in this context,
favor AnnotatedElementContext.isAnnotated(Class), AnnotatedElementContext.findAnnotation(Class), and
AnnotatedElementContext.findRepeatableAnnotations(Class) over methods in the
AnnotatedElement API due to a bug in javac on JDK versions prior
to JDK 9.
getAnnotatedElement in interface AnnotatedElementContextnullpublic java.lang.String toString()
toString in class java.lang.Object