Module org.junit.jupiter.engine
Class TempDirectory.FieldContext
java.lang.Object
org.junit.jupiter.engine.extension.TempDirectory.FieldContext
- All Implemented Interfaces:
AnnotatedElementContext
- Enclosing class:
TempDirectory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.junit.jupiter.api.extension.AnnotatedElementContext
findAnnotation, findRepeatableAnnotations, isAnnotated
-
Field Details
-
field
-
-
Constructor Details
-
FieldContext
-
-
Method Details
-
getAnnotatedElement
Description copied from interface:AnnotatedElementContext
Get theAnnotatedElement
for this context.WARNING
When searching for annotations on the annotated element in this context, favor
AnnotatedElementContext.isAnnotated(Class)
,AnnotatedElementContext.findAnnotation(Class)
, andAnnotatedElementContext.findRepeatableAnnotations(Class)
over methods in theAnnotatedElement
API due to a bug injavac
on JDK versions prior to JDK 9.- Specified by:
getAnnotatedElement
in interfaceAnnotatedElementContext
- Returns:
- the annotated element; never
null
-
toString
-