|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.bcel.generic.Type | +--org.apache.bcel.generic.ReferenceType
Super class for object and array types.
Field Summary |
Fields inherited from class org.apache.bcel.generic.Type |
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, NO_ARGS, NULL, OBJECT, SHORT, signature, STRING, STRINGBUFFER, THROWABLE, type, UNKNOWN, VOID |
Constructor Summary | |
protected |
ReferenceType(byte t,
java.lang.String s)
|
Method Summary | |
ReferenceType |
firstCommonSuperclass(ReferenceType t)
Deprecated. use getFirstCommonSuperclass(ReferenceType t) which has slightly changed semantics. |
ReferenceType |
getFirstCommonSuperclass(ReferenceType t)
This commutative operation returns the first common superclass (narrowest ReferenceType referencing a class, not an interface). |
boolean |
isAssignmentCompatibleWith(Type t)
Return true iff this is assignment compatible with another type t as defined in the JVM specification; see the AASTORE definition there. |
boolean |
isCastableTo(Type t)
Return true iff this type is castable to another type t as defined in the JVM specification. |
Methods inherited from class org.apache.bcel.generic.Type |
getArgumentTypes, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected ReferenceType(byte t, java.lang.String s)
Method Detail |
public boolean isCastableTo(Type t)
public boolean isAssignmentCompatibleWith(Type t)
public ReferenceType getFirstCommonSuperclass(ReferenceType t)
public ReferenceType firstCommonSuperclass(ReferenceType t)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |