Package com.tonic.analysis.query.ast
Enum Target
- java.lang.Object
-
- java.lang.Enum<Target>
-
- com.tonic.analysis.query.ast.Target
-
- All Implemented Interfaces:
Serializable,Comparable<Target>
public enum Target extends Enum<Target>
Query target type - what kind of entities the query returns.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSESEach row is a class, writtenclasses; candidates come straight from the class pool.EVENTSEach row is a runtime event recorded while executing, writtenevents.METHODSEach row is a method, writtenmethods.OBJECTSEach row is an object allocated during the run, writtenobjects.PATHSEach row is an execution path rather than a single entity, writtenpaths.STRINGSEach row is a string value observed in the program, writtenstrings.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TargetvalueOf(String name)Returns the enum constant of this type with the specified name.static Target[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METHODS
public static final Target METHODS
Each row is a method, writtenmethods.
-
CLASSES
public static final Target CLASSES
Each row is a class, writtenclasses; candidates come straight from the class pool.
-
PATHS
public static final Target PATHS
Each row is an execution path rather than a single entity, writtenpaths.
-
EVENTS
public static final Target EVENTS
Each row is a runtime event recorded while executing, writtenevents.
-
STRINGS
public static final Target STRINGS
Each row is a string value observed in the program, writtenstrings.
-
OBJECTS
public static final Target OBJECTS
Each row is an object allocated during the run, writtenobjects.
-
-
Method Detail
-
values
public static Target[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Target c : Target.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Target valueOf(String name)
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
-
-