Package org.aspectj.apache.bcel.generic
Class ReferenceType
- java.lang.Object
-
- org.aspectj.apache.bcel.generic.Type
-
- org.aspectj.apache.bcel.generic.ReferenceType
-
- Direct Known Subclasses:
ArrayType,ObjectType
public abstract class ReferenceType extends Type
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.aspectj.apache.bcel.generic.Type
Type.TypeHolder
-
-
Field Summary
-
Fields inherited from class org.aspectj.apache.bcel.generic.Type
BOOLEAN, BYTE, CHAR, CLASS, CLASS_ARRAY, DOUBLE, EXCEPTION, FLOAT, INT, INTEGER, ITERATOR, LIST, LONG, NO_ARGS, NULL, OBJECT, OBJECT_ARRAY, SHORT, signature, STRING, STRING_ARRAY, STRINGARRAY1, STRINGARRAY2, STRINGARRAY3, STRINGARRAY4, STRINGARRAY5, STRINGARRAY6, STRINGARRAY7, STRINGBUFFER, STRINGBUILDER, THROWABLE, type, UNKNOWN, VOID
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedReferenceType(byte t, String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceTypegetFirstCommonSuperclass(ReferenceType t)booleanisAssignmentCompatibleWith(Type t)booleanisCastableTo(Type t)-
Methods inherited from class org.aspectj.apache.bcel.generic.Type
getArgumentSizes, getArgumentTypes, getReturnType, getSignature, getSignature, getSignature, getSize, getType, getType, getType, getTypeInternal, getTypeSize, toString
-
-
-
-
Constructor Detail
-
ReferenceType
protected ReferenceType(byte t, String s)
-
-
Method Detail
-
isCastableTo
public boolean isCastableTo(Type t)
-
isAssignmentCompatibleWith
public boolean isAssignmentCompatibleWith(Type t)
-
getFirstCommonSuperclass
public ReferenceType getFirstCommonSuperclass(ReferenceType t)
-
-