public static enum Cpg.CpgStruct.Node.NodeType extends java.lang.Enum<Cpg.CpgStruct.Node.NodeType> implements com.google.protobuf.ProtocolMessageEnum
Logical node type.Protobuf enum
cpg.CpgStruct.Node.NodeType| Enum Constant and Description |
|---|
ANNOTATION
A method annotation
|
ANNOTATION_LITERAL
A literal value assigned to an ANNOTATION_PARAMETER
|
ANNOTATION_PARAMETER
Formal annotation parameter
|
ANNOTATION_PARAMETER_ASSIGN
Assignment of annotation argument to annotation parameter
|
ARRAY_INITIALIZER
Initialization construct for arrays
|
BLOCK
A structuring block in the AST
|
CALL
A (method)-call
|
CLOSURE_BINDING
Represents the binding of a LOCAL or METHOD_PARAMETER_IN into the closure of a method
|
COMMENT
A comment
|
CONFIG_FILE
Configuration file contents.
|
CONTROL_STRUCTURE
A control structure such as if, while, or for
|
DEPENDENCY
This node represents a dependency
|
FILE
Node representing a source file.
|
IDENTIFIER
An arbitrary identifier/reference
|
IMPLICIT_CALL
An implicit call site hidden in a method indicated by METHOD_MAP policy entries
|
LITERAL
Literal/Constant
|
LOCAL
A local variable
|
MEMBER
Member of a class struct or union
|
META_DATA
Node to save meta data about the graph on its properties.
|
METHOD
A method/function/procedure
|
METHOD_INST
A method instance which always has to reference a method and may have type argument children if the referred to method is a template
|
METHOD_PARAMETER_IN
This node represents a formal parameter going towards the callee side
|
METHOD_PARAMETER_OUT
This node represents a formal parameter going towards the caller side
|
METHOD_REF
Reference to a method instance
|
METHOD_RETURN
A formal method return
|
MODIFIER
A modifier, e.g., static, public, private
|
NAMESPACE
This node represents a namespace as a whole whereas the NAMESPACE_BLOCK is used for each grouping occurrence of a namespace in code.
|
NAMESPACE_BLOCK
A reference to a namespace
|
PACKAGE_PREFIX
This node records what package prefix is most common to all analysed classes in the CPG
|
RETURN
A return instruction
|
TAG
A string tag
|
TYPE
A type which always has to reference a type declaration and may have type argument children if the referred to type declaration is a template
|
TYPE_ARGUMENT
Argument for a TYPE_PARAMETER that belongs to a TYPE or METHOD_INST.
|
TYPE_DECL
A type declaration
|
TYPE_PARAMETER
Type parameter of TYPE_DECL or METHOD
|
UNKNOWN
A language-specific node
|
UNKNOWN_NODE_TYPE
UNKNOWN_NODE_TYPE = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_LITERAL_VALUE
A literal value assigned to an ANNOTATION_PARAMETER
|
static int |
ANNOTATION_PARAMETER_ASSIGN_VALUE
Assignment of annotation argument to annotation parameter
|
static int |
ANNOTATION_PARAMETER_VALUE
Formal annotation parameter
|
static int |
ANNOTATION_VALUE
A method annotation
|
static int |
ARRAY_INITIALIZER_VALUE
Initialization construct for arrays
|
static int |
BLOCK_VALUE
A structuring block in the AST
|
static int |
CALL_VALUE
A (method)-call
|
static int |
CLOSURE_BINDING_VALUE
Represents the binding of a LOCAL or METHOD_PARAMETER_IN into the closure of a method
|
static int |
COMMENT_VALUE
A comment
|
static int |
CONFIG_FILE_VALUE
Configuration file contents.
|
static int |
CONTROL_STRUCTURE_VALUE
A control structure such as if, while, or for
|
static int |
DEPENDENCY_VALUE
This node represents a dependency
|
static int |
FILE_VALUE
Node representing a source file.
|
static int |
IDENTIFIER_VALUE
An arbitrary identifier/reference
|
static int |
IMPLICIT_CALL_VALUE
An implicit call site hidden in a method indicated by METHOD_MAP policy entries
|
static int |
LITERAL_VALUE
Literal/Constant
|
static int |
LOCAL_VALUE
A local variable
|
static int |
MEMBER_VALUE
Member of a class struct or union
|
static int |
META_DATA_VALUE
Node to save meta data about the graph on its properties.
|
static int |
METHOD_INST_VALUE
A method instance which always has to reference a method and may have type argument children if the referred to method is a template
|
static int |
METHOD_PARAMETER_IN_VALUE
This node represents a formal parameter going towards the callee side
|
static int |
METHOD_PARAMETER_OUT_VALUE
This node represents a formal parameter going towards the caller side
|
static int |
METHOD_REF_VALUE
Reference to a method instance
|
static int |
METHOD_RETURN_VALUE
A formal method return
|
static int |
METHOD_VALUE
A method/function/procedure
|
static int |
MODIFIER_VALUE
A modifier, e.g., static, public, private
|
static int |
NAMESPACE_BLOCK_VALUE
A reference to a namespace
|
static int |
NAMESPACE_VALUE
This node represents a namespace as a whole whereas the NAMESPACE_BLOCK is used for each grouping occurrence of a namespace in code.
|
static int |
PACKAGE_PREFIX_VALUE
This node records what package prefix is most common to all analysed classes in the CPG
|
static int |
RETURN_VALUE
A return instruction
|
static int |
TAG_VALUE
A string tag
|
static int |
TYPE_ARGUMENT_VALUE
Argument for a TYPE_PARAMETER that belongs to a TYPE or METHOD_INST.
|
static int |
TYPE_DECL_VALUE
A type declaration
|
static int |
TYPE_PARAMETER_VALUE
Type parameter of TYPE_DECL or METHOD
|
static int |
TYPE_VALUE
A type which always has to reference a type declaration and may have type argument children if the referred to type declaration is a template
|
static int |
UNKNOWN_NODE_TYPE_VALUE
UNKNOWN_NODE_TYPE = 0; |
static int |
UNKNOWN_VALUE
A language-specific node
|
| Modifier and Type | Method and Description |
|---|---|
static Cpg.CpgStruct.Node.NodeType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Cpg.CpgStruct.Node.NodeType> |
internalGetValueMap() |
static Cpg.CpgStruct.Node.NodeType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cpg.CpgStruct.Node.NodeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cpg.CpgStruct.Node.NodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cpg.CpgStruct.Node.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cpg.CpgStruct.Node.NodeType UNKNOWN_NODE_TYPE
UNKNOWN_NODE_TYPE = 0;public static final Cpg.CpgStruct.Node.NodeType ANNOTATION
A method annotation
ANNOTATION = 5;public static final Cpg.CpgStruct.Node.NodeType ANNOTATION_LITERAL
A literal value assigned to an ANNOTATION_PARAMETER
ANNOTATION_LITERAL = 49;public static final Cpg.CpgStruct.Node.NodeType ANNOTATION_PARAMETER
Formal annotation parameter
ANNOTATION_PARAMETER = 7;public static final Cpg.CpgStruct.Node.NodeType ANNOTATION_PARAMETER_ASSIGN
Assignment of annotation argument to annotation parameter
ANNOTATION_PARAMETER_ASSIGN = 6;public static final Cpg.CpgStruct.Node.NodeType ARRAY_INITIALIZER
Initialization construct for arrays
ARRAY_INITIALIZER = 14;public static final Cpg.CpgStruct.Node.NodeType BLOCK
A structuring block in the AST
BLOCK = 31;public static final Cpg.CpgStruct.Node.NodeType CALL
A (method)-call
CALL = 15;public static final Cpg.CpgStruct.Node.NodeType CLOSURE_BINDING
Represents the binding of a LOCAL or METHOD_PARAMETER_IN into the closure of a method
CLOSURE_BINDING = 334;public static final Cpg.CpgStruct.Node.NodeType COMMENT
A comment
COMMENT = 511;public static final Cpg.CpgStruct.Node.NodeType CONFIG_FILE
Configuration file contents. Might be in use by a framework
CONFIG_FILE = 50;public static final Cpg.CpgStruct.Node.NodeType CONTROL_STRUCTURE
A control structure such as if, while, or for
CONTROL_STRUCTURE = 339;public static final Cpg.CpgStruct.Node.NodeType DEPENDENCY
This node represents a dependency
DEPENDENCY = 35;public static final Cpg.CpgStruct.Node.NodeType FILE
Node representing a source file. Often also the AST root
FILE = 38;public static final Cpg.CpgStruct.Node.NodeType IDENTIFIER
An arbitrary identifier/reference
IDENTIFIER = 27;public static final Cpg.CpgStruct.Node.NodeType IMPLICIT_CALL
An implicit call site hidden in a method indicated by METHOD_MAP policy entries
IMPLICIT_CALL = 307;public static final Cpg.CpgStruct.Node.NodeType LITERAL
Literal/Constant
LITERAL = 8;public static final Cpg.CpgStruct.Node.NodeType LOCAL
A local variable
LOCAL = 23;public static final Cpg.CpgStruct.Node.NodeType MEMBER
Member of a class struct or union
MEMBER = 9;public static final Cpg.CpgStruct.Node.NodeType META_DATA
Node to save meta data about the graph on its properties. Exactly one node of this type per graph
META_DATA = 39;public static final Cpg.CpgStruct.Node.NodeType METHOD
A method/function/procedure
METHOD = 1;public static final Cpg.CpgStruct.Node.NodeType METHOD_INST
A method instance which always has to reference a method and may have type argument children if the referred to method is a template
METHOD_INST = 32;public static final Cpg.CpgStruct.Node.NodeType METHOD_PARAMETER_IN
This node represents a formal parameter going towards the callee side
METHOD_PARAMETER_IN = 34;public static final Cpg.CpgStruct.Node.NodeType METHOD_PARAMETER_OUT
This node represents a formal parameter going towards the caller side
METHOD_PARAMETER_OUT = 33;public static final Cpg.CpgStruct.Node.NodeType METHOD_REF
Reference to a method instance
METHOD_REF = 333;public static final Cpg.CpgStruct.Node.NodeType METHOD_RETURN
A formal method return
METHOD_RETURN = 3;public static final Cpg.CpgStruct.Node.NodeType MODIFIER
A modifier, e.g., static, public, private
MODIFIER = 300;public static final Cpg.CpgStruct.Node.NodeType NAMESPACE
This node represents a namespace as a whole whereas the NAMESPACE_BLOCK is used for each grouping occurrence of a namespace in code. Single representing NAMESPACE node is required for easier navigation in the query language
NAMESPACE = 40;public static final Cpg.CpgStruct.Node.NodeType NAMESPACE_BLOCK
A reference to a namespace
NAMESPACE_BLOCK = 41;public static final Cpg.CpgStruct.Node.NodeType RETURN
A return instruction
RETURN = 30;public static final Cpg.CpgStruct.Node.NodeType TAG
A string tag
TAG = 24;public static final Cpg.CpgStruct.Node.NodeType TYPE
A type which always has to reference a type declaration and may have type argument children if the referred to type declaration is a template
TYPE = 45;public static final Cpg.CpgStruct.Node.NodeType TYPE_ARGUMENT
Argument for a TYPE_PARAMETER that belongs to a TYPE or METHOD_INST. It binds another TYPE to a TYPE_PARAMETER
TYPE_ARGUMENT = 48;public static final Cpg.CpgStruct.Node.NodeType TYPE_DECL
A type declaration
TYPE_DECL = 46;public static final Cpg.CpgStruct.Node.NodeType TYPE_PARAMETER
Type parameter of TYPE_DECL or METHOD
TYPE_PARAMETER = 47;public static final Cpg.CpgStruct.Node.NodeType UNKNOWN
A language-specific node
UNKNOWN = 44;public static final Cpg.CpgStruct.Node.NodeType PACKAGE_PREFIX
This node records what package prefix is most common to all analysed classes in the CPG
PACKAGE_PREFIX = 36;public static final Cpg.CpgStruct.Node.NodeType UNRECOGNIZED
public static final int UNKNOWN_NODE_TYPE_VALUE
UNKNOWN_NODE_TYPE = 0;public static final int ANNOTATION_VALUE
A method annotation
ANNOTATION = 5;public static final int ANNOTATION_LITERAL_VALUE
A literal value assigned to an ANNOTATION_PARAMETER
ANNOTATION_LITERAL = 49;public static final int ANNOTATION_PARAMETER_VALUE
Formal annotation parameter
ANNOTATION_PARAMETER = 7;public static final int ANNOTATION_PARAMETER_ASSIGN_VALUE
Assignment of annotation argument to annotation parameter
ANNOTATION_PARAMETER_ASSIGN = 6;public static final int ARRAY_INITIALIZER_VALUE
Initialization construct for arrays
ARRAY_INITIALIZER = 14;public static final int BLOCK_VALUE
A structuring block in the AST
BLOCK = 31;public static final int CALL_VALUE
A (method)-call
CALL = 15;public static final int CLOSURE_BINDING_VALUE
Represents the binding of a LOCAL or METHOD_PARAMETER_IN into the closure of a method
CLOSURE_BINDING = 334;public static final int COMMENT_VALUE
A comment
COMMENT = 511;public static final int CONFIG_FILE_VALUE
Configuration file contents. Might be in use by a framework
CONFIG_FILE = 50;public static final int CONTROL_STRUCTURE_VALUE
A control structure such as if, while, or for
CONTROL_STRUCTURE = 339;public static final int DEPENDENCY_VALUE
This node represents a dependency
DEPENDENCY = 35;public static final int FILE_VALUE
Node representing a source file. Often also the AST root
FILE = 38;public static final int IDENTIFIER_VALUE
An arbitrary identifier/reference
IDENTIFIER = 27;public static final int IMPLICIT_CALL_VALUE
An implicit call site hidden in a method indicated by METHOD_MAP policy entries
IMPLICIT_CALL = 307;public static final int LITERAL_VALUE
Literal/Constant
LITERAL = 8;public static final int LOCAL_VALUE
A local variable
LOCAL = 23;public static final int MEMBER_VALUE
Member of a class struct or union
MEMBER = 9;public static final int META_DATA_VALUE
Node to save meta data about the graph on its properties. Exactly one node of this type per graph
META_DATA = 39;public static final int METHOD_VALUE
A method/function/procedure
METHOD = 1;public static final int METHOD_INST_VALUE
A method instance which always has to reference a method and may have type argument children if the referred to method is a template
METHOD_INST = 32;public static final int METHOD_PARAMETER_IN_VALUE
This node represents a formal parameter going towards the callee side
METHOD_PARAMETER_IN = 34;public static final int METHOD_PARAMETER_OUT_VALUE
This node represents a formal parameter going towards the caller side
METHOD_PARAMETER_OUT = 33;public static final int METHOD_REF_VALUE
Reference to a method instance
METHOD_REF = 333;public static final int METHOD_RETURN_VALUE
A formal method return
METHOD_RETURN = 3;public static final int MODIFIER_VALUE
A modifier, e.g., static, public, private
MODIFIER = 300;public static final int NAMESPACE_VALUE
This node represents a namespace as a whole whereas the NAMESPACE_BLOCK is used for each grouping occurrence of a namespace in code. Single representing NAMESPACE node is required for easier navigation in the query language
NAMESPACE = 40;public static final int NAMESPACE_BLOCK_VALUE
A reference to a namespace
NAMESPACE_BLOCK = 41;public static final int RETURN_VALUE
A return instruction
RETURN = 30;public static final int TAG_VALUE
A string tag
TAG = 24;public static final int TYPE_VALUE
A type which always has to reference a type declaration and may have type argument children if the referred to type declaration is a template
TYPE = 45;public static final int TYPE_ARGUMENT_VALUE
Argument for a TYPE_PARAMETER that belongs to a TYPE or METHOD_INST. It binds another TYPE to a TYPE_PARAMETER
TYPE_ARGUMENT = 48;public static final int TYPE_DECL_VALUE
A type declaration
TYPE_DECL = 46;public static final int TYPE_PARAMETER_VALUE
Type parameter of TYPE_DECL or METHOD
TYPE_PARAMETER = 47;public static final int UNKNOWN_VALUE
A language-specific node
UNKNOWN = 44;public static final int PACKAGE_PREFIX_VALUE
This node records what package prefix is most common to all analysed classes in the CPG
PACKAGE_PREFIX = 36;public static Cpg.CpgStruct.Node.NodeType[] values()
for (Cpg.CpgStruct.Node.NodeType c : Cpg.CpgStruct.Node.NodeType.values()) System.out.println(c);
public static Cpg.CpgStruct.Node.NodeType 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Cpg.CpgStruct.Node.NodeType valueOf(int value)
forNumber(int) instead.public static Cpg.CpgStruct.Node.NodeType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Cpg.CpgStruct.Node.NodeType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Cpg.CpgStruct.Node.NodeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)