Top Description Fields Constructors Methods
org.junit.platform.commons.support

public final Enum SearchOption

extends Enum<SearchOption>
Class Inheritance
Annotations
@Deprecated
since:1.12
@API
status:DEPRECATED
since:1.12
Static Imports
org.apiguardian.api.API.Status.DEPRECATED

Deprecated

since 1.12.

because there is only a single non-deprecated search option left

Search options for finding an annotation within a class hierarchy.
Since
1.8
See Also
DEFAULT, INCLUDE_ENCLOSING_CLASSES

Field Summary

Modifier and TypeField and Description
public static final SearchOption
DEFAULT

References Deprecated SearchOption is deprecated or references (maybe indirectly) at least one deprecated element.
Search the inheritance hierarchy (i.e., the current class, implemented interfaces, and superclasses), but do not search on enclosing classes.
public static final SearchOption
INCLUDE_ENCLOSING_CLASSES

Deprecated since 1.12. because it is preferable to inspect the runtime enclosing types of a class rather than where they are declared.
Search the inheritance hierarchy as with the DEFAULT search option but also search the enclosing class hierarchy for inner classes (i.e., a non-static member classes).

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SearchOption
valueOf(String name)
References Deprecated SearchOption is deprecated or references (maybe indirectly) at least one deprecated element.

public static SearchOption[]
values()
References Deprecated SearchOption is deprecated or references (maybe indirectly) at least one deprecated element.

Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DEFAULTback to summary
public static final SearchOption DEFAULT

References Deprecated

SearchOption is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Search the inheritance hierarchy (i.e., the current class, implemented interfaces, and superclasses), but do not search on enclosing classes.

See Also
Class#getSuperclass(), Class#getInterfaces()
INCLUDE_ENCLOSING_CLASSESback to summary
public static final SearchOption INCLUDE_ENCLOSING_CLASSES

Deprecated

since 1.12.

because it is preferable to inspect the runtime enclosing types of a class rather than where they are declared.

Search the inheritance hierarchy as with the DEFAULT search option but also search the enclosing class hierarchy for inner classes (i.e., a non-static member classes).

Annotations
@Deprecated
since:1.12
@API
status:DEPRECATED
since:1.12

Constructor Detail

SearchOptionback to summary
private SearchOption()

Method Detail

valueOfback to summary
public static SearchOption valueOf(String name)

References Deprecated

SearchOption is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

valuesback to summary
public static SearchOption[] values()

References Deprecated

SearchOption is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.