Package io.shiftleft.proto.cpg
Enum Cpg.LANGUAGES
- java.lang.Object
-
- java.lang.Enum<Cpg.LANGUAGES>
-
- io.shiftleft.proto.cpg.Cpg.LANGUAGES
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<Cpg.LANGUAGES>
- Enclosing class:
- Cpg
public static enum Cpg.LANGUAGES extends java.lang.Enum<Cpg.LANGUAGES> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcpg.LANGUAGES
-
-
Enum Constant Summary
Enum Constants Enum Constant Description C
C = 5;
CSHARP
CSHARP = 4;
FUZZY_TEST_LANG
FUZZY_TEST_LANG = 9;
GHIDRA
generic reverse engineering frameworkGOLANG
GOLANG = 3;
JAVA
JAVA = 1;
JAVASCRIPT
JAVASCRIPT = 2;
KOTLIN
KOTLIN = 11;
LLVM
LLVM = 7;
PHP
PHP = 8;
PYTHON
PYTHON = 6;
UNKNOWN_LANGUAGE
UNKNOWN_LANGUAGE = 0;
UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
C_VALUE
C = 5;
static int
CSHARP_VALUE
CSHARP = 4;
static int
FUZZY_TEST_LANG_VALUE
FUZZY_TEST_LANG = 9;
static int
GHIDRA_VALUE
generic reverse engineering frameworkstatic int
GOLANG_VALUE
GOLANG = 3;
static int
JAVA_VALUE
JAVA = 1;
static int
JAVASCRIPT_VALUE
JAVASCRIPT = 2;
static int
KOTLIN_VALUE
KOTLIN = 11;
static int
LLVM_VALUE
LLVM = 7;
static int
PHP_VALUE
PHP = 8;
static int
PYTHON_VALUE
PYTHON = 6;
static int
UNKNOWN_LANGUAGE_VALUE
UNKNOWN_LANGUAGE = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Cpg.LANGUAGES
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.LANGUAGES>
internalGetValueMap()
static Cpg.LANGUAGES
valueOf(int value)
Deprecated.static Cpg.LANGUAGES
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Cpg.LANGUAGES
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Cpg.LANGUAGES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_LANGUAGE
public static final Cpg.LANGUAGES UNKNOWN_LANGUAGE
UNKNOWN_LANGUAGE = 0;
-
JAVA
public static final Cpg.LANGUAGES JAVA
JAVA = 1;
-
JAVASCRIPT
public static final Cpg.LANGUAGES JAVASCRIPT
JAVASCRIPT = 2;
-
GOLANG
public static final Cpg.LANGUAGES GOLANG
GOLANG = 3;
-
CSHARP
public static final Cpg.LANGUAGES CSHARP
CSHARP = 4;
-
C
public static final Cpg.LANGUAGES C
C = 5;
-
PYTHON
public static final Cpg.LANGUAGES PYTHON
PYTHON = 6;
-
LLVM
public static final Cpg.LANGUAGES LLVM
LLVM = 7;
-
PHP
public static final Cpg.LANGUAGES PHP
PHP = 8;
-
FUZZY_TEST_LANG
public static final Cpg.LANGUAGES FUZZY_TEST_LANG
FUZZY_TEST_LANG = 9;
-
GHIDRA
public static final Cpg.LANGUAGES GHIDRA
generic reverse engineering framework
GHIDRA = 10;
-
KOTLIN
public static final Cpg.LANGUAGES KOTLIN
KOTLIN = 11;
-
UNRECOGNIZED
public static final Cpg.LANGUAGES UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_LANGUAGE_VALUE
public static final int UNKNOWN_LANGUAGE_VALUE
UNKNOWN_LANGUAGE = 0;
- See Also:
- Constant Field Values
-
JAVA_VALUE
public static final int JAVA_VALUE
JAVA = 1;
- See Also:
- Constant Field Values
-
JAVASCRIPT_VALUE
public static final int JAVASCRIPT_VALUE
JAVASCRIPT = 2;
- See Also:
- Constant Field Values
-
GOLANG_VALUE
public static final int GOLANG_VALUE
GOLANG = 3;
- See Also:
- Constant Field Values
-
CSHARP_VALUE
public static final int CSHARP_VALUE
CSHARP = 4;
- See Also:
- Constant Field Values
-
C_VALUE
public static final int C_VALUE
C = 5;
- See Also:
- Constant Field Values
-
PYTHON_VALUE
public static final int PYTHON_VALUE
PYTHON = 6;
- See Also:
- Constant Field Values
-
LLVM_VALUE
public static final int LLVM_VALUE
LLVM = 7;
- See Also:
- Constant Field Values
-
PHP_VALUE
public static final int PHP_VALUE
PHP = 8;
- See Also:
- Constant Field Values
-
FUZZY_TEST_LANG_VALUE
public static final int FUZZY_TEST_LANG_VALUE
FUZZY_TEST_LANG = 9;
- See Also:
- Constant Field Values
-
GHIDRA_VALUE
public static final int GHIDRA_VALUE
generic reverse engineering framework
GHIDRA = 10;
- See Also:
- Constant Field Values
-
KOTLIN_VALUE
public static final int KOTLIN_VALUE
KOTLIN = 11;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Cpg.LANGUAGES[] 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 (Cpg.LANGUAGES c : Cpg.LANGUAGES.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cpg.LANGUAGES valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Cpg.LANGUAGES valueOf(int value)
Deprecated.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:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static Cpg.LANGUAGES forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Cpg.LANGUAGES> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Cpg.LANGUAGES valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-