public enum ScopeType extends java.lang.Enum<ScopeType>
GROUP_INHERIT but
due to incremental development of SPASS-meter, i.e. legacy modes and results,
we keep these three modes. Therefore, the default mode is SUM.| Enum Constant and Description |
|---|
GROUP
The group monitoring semantics define the instrumentation but only
for the annotated classes.
|
GROUP_INHERIT
The group monitoring semantics is inherited to all classes which
are referenced from the group.
|
SUM
The SUM monitoring semantics define the instrumentation.
|
| Modifier and Type | Field and Description |
|---|---|
private boolean |
isGroup
Stores whether this type is a group-related type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGroup()
Returns whether this type is a group-related type.
|
static ScopeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeType SUM
public static final ScopeType GROUP
public static final ScopeType GROUP_INHERIT
public static ScopeType[] values()
for (ScopeType c : ScopeType.values()) System.out.println(c);
public static ScopeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isGroup()
true if this type is a group-related type,
false else