edu.umd.cs.findbugs.ba.generic

Class GenericUtilities.TypeCategory

public abstract static class GenericUtilities.TypeCategory extends Object

Field Summary
static GenericUtilities.TypeCategoryARRAY_TYPE
A array
static GenericUtilities.TypeCategoryNON_REFERENCE_TYPE
anything that is not a reference
static GenericUtilities.TypeCategoryPARAMETERS
A parameterized class e.g.
static GenericUtilities.TypeCategoryPLAIN_OBJECT_TYPE
A simple (non-generic ObjectType)
static GenericUtilities.TypeCategoryTYPE_VARIABLE
A simple type variable e.g.
static GenericUtilities.TypeCategoryWILDCARD
A simple wildcard i.e.
static GenericUtilities.TypeCategoryWILDCARD_EXTENDS
A wildcard that extends another ObjectType e.g.
static GenericUtilities.TypeCategoryWILDCARD_SUPER
A wildcard that is extended by another ObjectType e.g.
Method Summary
abstract StringasString(GenericObjectType obj)
static StringasString(ArrayType atype)

Field Detail

ARRAY_TYPE

public static final GenericUtilities.TypeCategory ARRAY_TYPE
A array

NON_REFERENCE_TYPE

public static final GenericUtilities.TypeCategory NON_REFERENCE_TYPE
anything that is not a reference

PARAMETERS

public static final GenericUtilities.TypeCategory PARAMETERS
A parameterized class e.g. List<String>

PLAIN_OBJECT_TYPE

public static final GenericUtilities.TypeCategory PLAIN_OBJECT_TYPE
A simple (non-generic ObjectType)

TYPE_VARIABLE

public static final GenericUtilities.TypeCategory TYPE_VARIABLE
A simple type variable e.g. E. Underlying ObjectType is java.lang.Object

WILDCARD

public static final GenericUtilities.TypeCategory WILDCARD
A simple wildcard i.e. ?. Underlying ObjectType is java.lang.Object

WILDCARD_EXTENDS

public static final GenericUtilities.TypeCategory WILDCARD_EXTENDS
A wildcard that extends another ObjectType e.g. ? extends Comparable. Underlying ObjectType is java.lang.Object. The extended type can be an ObjectType or a GenericObjectType

WILDCARD_SUPER

public static final GenericUtilities.TypeCategory WILDCARD_SUPER
A wildcard that is extended by another ObjectType e.g. ? super Comparable. Underlying ObjectType is java.lang.Object. The super type can be an ObjectType or a GenericObjectType

Method Detail

asString

public abstract String asString(GenericObjectType obj)

asString

public static String asString(ArrayType atype)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.