Enum Class ExcludedElement.ElementType
java.lang.Object
java.lang.Enum<ExcludedElement.ElementType>
com.arc_e_tect.gradle.jacoco.model.ExcludedElement.ElementType
- All Implemented Interfaces:
Serializable,Comparable<ExcludedElement.ElementType>,Constable
- Enclosing class:
ExcludedElement
Classifies the kind of Java element that carries the exclusion annotation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnnotation is placed on a class or interface declaration.Annotation is placed on a constructor declaration.Annotation is placed on a field declaration.Annotation is placed on a method declaration. -
Method Summary
Modifier and TypeMethodDescriptionlabel()Human-readable label used in reports.static ExcludedElement.ElementTypeReturns the enum constant of this class with the specified name.static ExcludedElement.ElementType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASS
Annotation is placed on a class or interface declaration. -
CONSTRUCTOR
Annotation is placed on a constructor declaration. -
METHOD
Annotation is placed on a method declaration. -
FIELD
Annotation is placed on a field declaration.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
label
Human-readable label used in reports.- Returns:
- title-cased element type name (e.g.
"Class","Method")
-