public enum AtmCombo extends java.lang.Enum<AtmCombo>
For example:
switch (AtmCombo.valueOf(atm1, atm2)) {
case WILDCARD_WILDCARD:
case TYPEVAR_TYPEVAR:
doSomething(atm1, atm2);
break;
}
Modifier and Type | Field and Description |
---|---|
org.checkerframework.framework.util.AtmKind |
type1Kind |
org.checkerframework.framework.util.AtmKind |
type2Kind |
Modifier and Type | Method and Description |
---|---|
static <RETURN_TYPE,PARAM> |
accept(AnnotatedTypeMirror type1,
AnnotatedTypeMirror type2,
PARAM initialParam,
AtmComboVisitor<RETURN_TYPE,PARAM> visitor)
Call the visit method that corresponds to the AtmCombo that represents the classes of type1
and type2.
|
static AtmCombo |
valueOf(AnnotatedTypeMirror type1,
AnnotatedTypeMirror type2) |
static AtmCombo |
valueOf(org.checkerframework.framework.util.AtmKind type1,
org.checkerframework.framework.util.AtmKind type2) |
static AtmCombo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AtmCombo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AtmCombo ARRAY_ARRAY
public static final AtmCombo ARRAY_DECLARED
public static final AtmCombo ARRAY_EXECUTABLE
public static final AtmCombo ARRAY_INTERSECTION
public static final AtmCombo ARRAY_NONE
public static final AtmCombo ARRAY_NULL
public static final AtmCombo ARRAY_PRIMITIVE
public static final AtmCombo ARRAY_UNION
public static final AtmCombo ARRAY_TYPEVAR
public static final AtmCombo ARRAY_WILDCARD
public static final AtmCombo DECLARED_ARRAY
public static final AtmCombo DECLARED_DECLARED
public static final AtmCombo DECLARED_EXECUTABLE
public static final AtmCombo DECLARED_INTERSECTION
public static final AtmCombo DECLARED_NONE
public static final AtmCombo DECLARED_NULL
public static final AtmCombo DECLARED_PRIMITIVE
public static final AtmCombo DECLARED_TYPEVAR
public static final AtmCombo DECLARED_UNION
public static final AtmCombo DECLARED_WILDCARD
public static final AtmCombo EXECUTABLE_ARRAY
public static final AtmCombo EXECUTABLE_DECLARED
public static final AtmCombo EXECUTABLE_EXECUTABLE
public static final AtmCombo EXECUTABLE_INTERSECTION
public static final AtmCombo EXECUTABLE_NONE
public static final AtmCombo EXECUTABLE_NULL
public static final AtmCombo EXECUTABLE_PRIMITIVE
public static final AtmCombo EXECUTABLE_TYPEVAR
public static final AtmCombo EXECUTABLE_UNION
public static final AtmCombo EXECUTABLE_WILDCARD
public static final AtmCombo INTERSECTION_ARRAY
public static final AtmCombo INTERSECTION_DECLARED
public static final AtmCombo INTERSECTION_EXECUTABLE
public static final AtmCombo INTERSECTION_INTERSECTION
public static final AtmCombo INTERSECTION_NONE
public static final AtmCombo INTERSECTION_NULL
public static final AtmCombo INTERSECTION_PRIMITIVE
public static final AtmCombo INTERSECTION_TYPEVAR
public static final AtmCombo INTERSECTION_UNION
public static final AtmCombo INTERSECTION_WILDCARD
public static final AtmCombo NONE_ARRAY
public static final AtmCombo NONE_DECLARED
public static final AtmCombo NONE_EXECUTABLE
public static final AtmCombo NONE_INTERSECTION
public static final AtmCombo NONE_NONE
public static final AtmCombo NONE_NULL
public static final AtmCombo NONE_PRIMITIVE
public static final AtmCombo NONE_TYPEVAR
public static final AtmCombo NONE_UNION
public static final AtmCombo NONE_WILDCARD
public static final AtmCombo NULL_ARRAY
public static final AtmCombo NULL_DECLARED
public static final AtmCombo NULL_EXECUTABLE
public static final AtmCombo NULL_INTERSECTION
public static final AtmCombo NULL_NONE
public static final AtmCombo NULL_NULL
public static final AtmCombo NULL_PRIMITIVE
public static final AtmCombo NULL_TYPEVAR
public static final AtmCombo NULL_UNION
public static final AtmCombo NULL_WILDCARD
public static final AtmCombo PRIMITIVE_ARRAY
public static final AtmCombo PRIMITIVE_DECLARED
public static final AtmCombo PRIMITIVE_EXECUTABLE
public static final AtmCombo PRIMITIVE_INTERSECTION
public static final AtmCombo PRIMITIVE_NONE
public static final AtmCombo PRIMITIVE_NULL
public static final AtmCombo PRIMITIVE_PRIMITIVE
public static final AtmCombo PRIMITIVE_TYPEVAR
public static final AtmCombo PRIMITIVE_UNION
public static final AtmCombo PRIMITIVE_WILDCARD
public static final AtmCombo TYPEVAR_ARRAY
public static final AtmCombo TYPEVAR_DECLARED
public static final AtmCombo TYPEVAR_EXECUTABLE
public static final AtmCombo TYPEVAR_INTERSECTION
public static final AtmCombo TYPEVAR_NONE
public static final AtmCombo TYPEVAR_NULL
public static final AtmCombo TYPEVAR_PRIMITIVE
public static final AtmCombo TYPEVAR_TYPEVAR
public static final AtmCombo TYPEVAR_UNION
public static final AtmCombo TYPEVAR_WILDCARD
public static final AtmCombo UNION_ARRAY
public static final AtmCombo UNION_DECLARED
public static final AtmCombo UNION_EXECUTABLE
public static final AtmCombo UNION_INTERSECTION
public static final AtmCombo UNION_NONE
public static final AtmCombo UNION_NULL
public static final AtmCombo UNION_PRIMITIVE
public static final AtmCombo UNION_TYPEVAR
public static final AtmCombo UNION_UNION
public static final AtmCombo UNION_WILDCARD
public static final AtmCombo WILDCARD_ARRAY
public static final AtmCombo WILDCARD_DECLARED
public static final AtmCombo WILDCARD_EXECUTABLE
public static final AtmCombo WILDCARD_INTERSECTION
public static final AtmCombo WILDCARD_NONE
public static final AtmCombo WILDCARD_NULL
public static final AtmCombo WILDCARD_PRIMITIVE
public static final AtmCombo WILDCARD_TYPEVAR
public static final AtmCombo WILDCARD_UNION
public static final AtmCombo WILDCARD_WILDCARD
public final org.checkerframework.framework.util.AtmKind type1Kind
public final org.checkerframework.framework.util.AtmKind type2Kind
public static AtmCombo[] values()
for (AtmCombo c : AtmCombo.values()) System.out.println(c);
public static AtmCombo 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 static AtmCombo valueOf(org.checkerframework.framework.util.AtmKind type1, org.checkerframework.framework.util.AtmKind type2)
public static AtmCombo valueOf(AnnotatedTypeMirror type1, AnnotatedTypeMirror type2)
public static <RETURN_TYPE,PARAM> RETURN_TYPE accept(AnnotatedTypeMirror type1, AnnotatedTypeMirror type2, PARAM initialParam, AtmComboVisitor<RETURN_TYPE,PARAM> visitor)
RETURN_TYPE
- the return type of the visitor's visit methodsPARAM
- the parameter type of the visitor's visit methodstype1
- first argument to the called visit methodtype2
- second argument to the called visit methodinitialParam
- the parameter passed to the called visit methodvisitor
- the visitor that is visiting the given types