Enum Type.Kind
- java.lang.Object
-
- java.lang.Enum<Type.Kind>
-
- org.sonar.plugins.javascript.api.symbols.Type.Kind
-
- All Implemented Interfaces:
Serializable,Comparable<Type.Kind>
- Enclosing interface:
- Type
public static enum Type.Kind extends Enum<Type.Kind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANGULAR_MODULEARRAYBACKBONE_MODELBACKBONE_MODEL_OBJECTBOOLEANCLASSDATEDOCUMENTDOM_ELEMENTFUNCTIONJQUERY_OBJECTJQUERY_SELECTOR_OBJECTNUMBEROBJECTSTRINGUNKNOWNWINDOW
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Type.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static Type.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Type.Kind UNKNOWN
-
STRING
public static final Type.Kind STRING
-
NUMBER
public static final Type.Kind NUMBER
-
BOOLEAN
public static final Type.Kind BOOLEAN
-
OBJECT
public static final Type.Kind OBJECT
-
FUNCTION
public static final Type.Kind FUNCTION
-
ARRAY
public static final Type.Kind ARRAY
-
DATE
public static final Type.Kind DATE
-
CLASS
public static final Type.Kind CLASS
-
JQUERY_OBJECT
public static final Type.Kind JQUERY_OBJECT
-
JQUERY_SELECTOR_OBJECT
public static final Type.Kind JQUERY_SELECTOR_OBJECT
-
BACKBONE_MODEL
public static final Type.Kind BACKBONE_MODEL
-
BACKBONE_MODEL_OBJECT
public static final Type.Kind BACKBONE_MODEL_OBJECT
-
WINDOW
public static final Type.Kind WINDOW
-
DOCUMENT
public static final Type.Kind DOCUMENT
-
DOM_ELEMENT
public static final Type.Kind DOM_ELEMENT
-
ANGULAR_MODULE
public static final Type.Kind ANGULAR_MODULE
-
-
Method Detail
-
values
public static Type.Kind[] 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 (Type.Kind c : Type.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Type.Kind 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
-
-