|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.graph.AbstractVertex<InheritanceGraphEdge,ObjectType>
edu.umd.cs.findbugs.ba.type2.ObjectType
edu.umd.cs.findbugs.ba.type2.ArrayType
public class ArrayType
| Field Summary |
|---|
| Fields inherited from class edu.umd.cs.findbugs.ba.type2.ObjectType |
|---|
KNOWN, UNCHECKED, UNKNOWN |
| Method Summary | |
|---|---|
void |
accept(TypeVisitor visitor)
Accept an TypeVisitor. |
boolean |
equals(java.lang.Object o)
|
Type |
getBaseType()
|
Type |
getElementType(TypeRepository repos)
|
int |
getNumDimensions()
|
int |
getTypeCode()
Return the type code value as defined in org.apache.bcel.Constants or ExtendedTypes. |
int |
hashCode()
|
boolean |
isArray()
Is this type an array type? |
boolean |
isInterface()
Determine if this type is an interface type (as opposed to a class or array type). |
boolean |
isValidArrayBaseType()
Is this a valid array base type? |
static java.lang.String |
makeArraySignature(int numDimensions,
Type baseType)
|
java.lang.String |
toString()
|
| Methods inherited from class edu.umd.cs.findbugs.ba.type2.ObjectType |
|---|
getSignature, getState, isBasicType, isReferenceType, isValidArrayElementType |
| Methods inherited from class edu.umd.cs.findbugs.graph.AbstractVertex |
|---|
compareTo, getLabel, setLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String makeArraySignature(int numDimensions,
Type baseType)
public int getNumDimensions()
public Type getBaseType()
public Type getElementType(TypeRepository repos)
public int getTypeCode()
TypeExtendedTypes.
public boolean isValidArrayBaseType()
Type
public void accept(TypeVisitor visitor)
Type
visitor - the visitorpublic boolean isInterface()
ObjectType
isInterface in class ObjectTypepublic boolean isArray()
ObjectType
isArray in class ObjectTypepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||