|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object checkers.util.TypesUtils
@DefaultQualifier(value="checkers.nullness.quals.NonNull") public final class TypesUtils
A Utilities class that helps with Element
s.
Method Summary | |
---|---|
static Name |
getQualifiedName(DeclaredType type)
Gets the fully qualified name for a provided type. |
static boolean |
isAnonymousType(TypeMirror type)
Checks if the type represents an anonymous type, e.g. |
static boolean |
isBoxedPrimitive(TypeMirror type)
|
static boolean |
isClass(TypeMirror type)
Checks if the type represents a java.lang.Object declared type |
static boolean |
isDeclaredOfName(TypeMirror type,
CharSequence qualifiedName)
Check if the type represent a declared type of the given qualified name |
static boolean |
isObject(TypeMirror type)
Checks if the type represents a java.lang.Object declared type |
static boolean |
isThrowable(TypeMirror type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Name getQualifiedName(DeclaredType type)
type
- the declared type
public static boolean isObject(TypeMirror type)
type
- the type
public static boolean isClass(TypeMirror type)
type
- the type
public static boolean isDeclaredOfName(TypeMirror type, CharSequence qualifiedName)
type
- the type
public static boolean isAnonymousType(TypeMirror type)
type
- the declared type
public static boolean isBoxedPrimitive(TypeMirror type)
public static boolean isThrowable(TypeMirror type)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |