| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcheckers.util.TypesUtils
@DefaultQualifier(value="checkers.nullness.quals.NonNull") public final class TypesUtils extends Object
A Utilities class that helps with Elements.
| Modifier and Type | Method and Description | 
|---|---|
| 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 typepublic static boolean isObject(TypeMirror type)
type - the typepublic static boolean isClass(TypeMirror type)
type - the type
public static boolean isDeclaredOfName(TypeMirror type,
                                       CharSequence qualifiedName)
type - the typepublic static boolean isAnonymousType(TypeMirror type)
type - the declared typepublic 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 | ||||||||