|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jode.type.Type
net.sf.jode.type.ReferenceType
net.sf.jode.type.ClassType
net.sf.jode.type.SystemClassType
This class represents the type of a system class, i.e. the classes from package java.lang, that need special handling, like Object, String, StringBuffer, etc.
Field Summary |
Fields inherited from class net.sf.jode.type.ClassType |
className |
Fields inherited from class net.sf.jode.type.Type |
EMPTY_IFACES, tBoolByte, tBoolean, tBoolInt, tBoolUInt, tByte, TC_ARRAY, TC_BOOLEAN, TC_BYTE, TC_CHAR, TC_CLASS, TC_CLASSIFACE, TC_DOUBLE, TC_ERROR, TC_FLOAT, TC_INT, TC_INTEGER, TC_LONG, TC_METHOD, TC_NULL, TC_RANGE, TC_SHORT, TC_SYSCLASS, TC_UNKNOWN, TC_VOID, tChar, tCloneable, tComparable, tDouble, tError, tFloat, tInt, tJavaLangClass, tLong, tNull, tObject, tSerializable, tShort, tString, tStringBuffer, tStringBuilder, tUInt, tUnknown, tUObject, tVoid |
Constructor Summary | |
SystemClassType(java.lang.String className,
ClassType superType,
ClassType[] ifacesTypes,
boolean isFinal,
boolean isInterface)
|
Method Summary | |
ClassType[] |
getInterfaces()
Returns the reference type representing the interfaces this class implements. |
ClassType |
getSuperClass()
Returns the reference type representing the super class, or null if this reference type represents java.lang.Object, or for interfaces. |
boolean |
isFinal()
Checks if this type represents an interface. |
boolean |
isInterface()
Checks if this type represents an interface. |
boolean |
isUnknown()
Checks if this type represents an interface. |
Methods inherited from class net.sf.jode.type.ClassType |
createRangeType, equals, getCanonic, getCastHelper, getClassName, getDefaultName, getGeneralizedType, getHint, getSpecializedType, getSubType, getTypeClass, getTypeSignature, hashCode, isClassType, isSubTypeOf, isValidType, maybeSubTypeOf, toString |
Methods inherited from class net.sf.jode.type.ReferenceType |
findCommonClassTypes, getSuperType, implementsAllIfaces, intersection |
Methods inherited from class net.sf.jode.type.Type |
getDefaultValue, getTypeCode, isOfType, stackSize, tArray, tClass, tClass, tMethod, tRange, tSubType, tSuperType, tSystemClass, tType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SystemClassType(java.lang.String className, ClassType superType, ClassType[] ifacesTypes, boolean isFinal, boolean isInterface)
className
- The name of this system class, must be interned.Method Detail |
public boolean isInterface()
ClassType
isInterface
in class ClassType
public boolean isFinal()
ClassType
isFinal
in class ClassType
public boolean isUnknown()
ClassType
isUnknown
in class ClassType
public ClassType getSuperClass()
ClassType
getSuperClass
in class ClassType
public ClassType[] getInterfaces()
ClassType
getInterfaces
in class ClassType
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |