Enum CSharpMethodKind
- java.lang.Object
-
- java.lang.Enum<CSharpMethodKind>
-
- com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpMethodKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CSharpMethodKind>
public enum CSharpMethodKind extends java.lang.Enum<CSharpMethodKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTRUCTOR
DESTRUCTOR
EVENT_ADDER
EVENT_REMOVER
EXPLICIT_CONVERSION
GETTER
IMPLICIT_CONVERSION
METHOD
OPERATOR
SETTER
STATIC_CONSTRUCTOR
STATIC_METHOD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CSharpMethodKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CSharpMethodKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METHOD
public static final CSharpMethodKind METHOD
-
STATIC_METHOD
public static final CSharpMethodKind STATIC_METHOD
-
CONSTRUCTOR
public static final CSharpMethodKind CONSTRUCTOR
-
DESTRUCTOR
public static final CSharpMethodKind DESTRUCTOR
-
STATIC_CONSTRUCTOR
public static final CSharpMethodKind STATIC_CONSTRUCTOR
-
OPERATOR
public static final CSharpMethodKind OPERATOR
-
IMPLICIT_CONVERSION
public static final CSharpMethodKind IMPLICIT_CONVERSION
-
EXPLICIT_CONVERSION
public static final CSharpMethodKind EXPLICIT_CONVERSION
-
SETTER
public static final CSharpMethodKind SETTER
-
GETTER
public static final CSharpMethodKind GETTER
-
EVENT_ADDER
public static final CSharpMethodKind EVENT_ADDER
-
EVENT_REMOVER
public static final CSharpMethodKind EVENT_REMOVER
-
-
Method Detail
-
values
public static CSharpMethodKind[] 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 (CSharpMethodKind c : CSharpMethodKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CSharpMethodKind 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
-
-