public abstract class ReferenceType extends Type
| Modifier | Constructor and Description |
|---|---|
protected |
ReferenceType(byte t,
String s) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getArgumentTypes, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, toStringprotected ReferenceType(byte t,
String s)
public boolean isCastableTo(Type t)
public boolean isAssignmentCompatibleWith(Type t)
public ReferenceType getFirstCommonSuperclass(ReferenceType t)
public ReferenceType firstCommonSuperclass(ReferenceType t)
Copyright © 2018–2021 mhoffrogge. All rights reserved.