|
||||||||||
| 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.ClassType
public class ClassType
Type of objects that are instances of a class. This includes all class and interface types, but excludes array types.
| 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)
|
java.lang.String |
getClassName()
|
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? |
void |
setIsInterface(boolean isInterface)
Mark the type as an interface. |
void |
setUnknown()
Mark the type as unknown: a check to determine whether it was a class or interface failed. |
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 void setIsInterface(boolean isInterface)
public void setUnknown()
public int getTypeCode()
TypeExtendedTypes.
public java.lang.String getClassName()
public boolean isValidArrayBaseType()
Type
public void accept(TypeVisitor visitor)
Type
visitor - the visitorpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isInterface()
ObjectType
isInterface in class ObjectTypepublic boolean isArray()
ObjectType
isArray in class ObjectTypepublic 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 | |||||||||