Enum TryWithResourcesJavacFilter.Matcher.JavacPattern
java.lang.Object
java.lang.Enum<TryWithResourcesJavacFilter.Matcher.JavacPattern>
org.jacoco.core.internal.analysis.filter.TryWithResourcesJavacFilter.Matcher.JavacPattern
- All Implemented Interfaces:
Serializable, Comparable<TryWithResourcesJavacFilter.Matcher.JavacPattern>, java.lang.constant.Constable
- Enclosing class:
TryWithResourcesJavacFilter.Matcher
private static enum TryWithResourcesJavacFilter.Matcher.JavacPattern
extends Enum<TryWithResourcesJavacFilter.Matcher.JavacPattern>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionresource is loaded before primaryExc and both are checked onnullresource is loaded before primaryExc and checked onnull, method$closeResourceis usedresource is loaded after primaryExc,nullcheck of resource is omittedresource is loaded after primaryExc,nullcheck of resource is omitted, method$closeResourceis used -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPTIMAL
resource is loaded after primaryExc,nullcheck of resource is omitted, method$closeResourceis used -
FULL
resource is loaded before primaryExc and both are checked onnull -
OMITTED_NULL_CHECK
resource is loaded after primaryExc,nullcheck of resource is omitted -
METHOD
resource is loaded before primaryExc and checked onnull, method$closeResourceis used
-
-
Constructor Details
-
JavacPattern
private JavacPattern()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-