public class SpecialObjectType extends ObjectType
Type.NeverReturns
Modifier and Type | Field and Description |
---|---|
protected ClassType |
implementationType |
flags
boolean_ctype, boolean_type, booleanType, booleanValue_method, byte_type, byteType, char_type, charType, clone_method, double_type, doubleType, doubleValue_method, errorType, float_type, floatType, floatValue_method, int_type, intType, intValue_method, java_lang_Class_type, javalangannotationAnnotationType, javalangBooleanType, javalangCharacterType, javalangClassType, javalanginvokeMethodHandleType, javalangNumberType, javalangObjectType, javalangStringType, javalangThrowableType, long_type, longType, longValue_method, neverReturnsType, nullType, number_type, objectType, pointer_type, reflectClass, short_type, shortType, string_type, throwable_type, toString_method, tostring_type, toStringType, typeArray0, void_type, voidType
Constructor and Description |
---|
SpecialObjectType(java.lang.String name,
ClassType implementationType) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Type other)
Return a numeric code showing "subtype" relationship:
1: if other is a pure subtype of this;
0: if has the same values;
-1: if this is a pure subtype of other;
-2: if they have values in common but neither is a subtype of the other;
-3: if the types have no values in common.
|
Method |
getDeclaredMethod(java.lang.String name,
int argCount) |
Field |
getField(java.lang.String name,
int mask) |
Type |
getImplementationType()
Return Java-level implementation type.
|
ClassType[] |
getInterfaces() |
Method |
getMethod(java.lang.String name,
Type[] arg_types) |
int |
getMethods(Filter filter,
int searchSupers,
java.util.List<Method> result) |
Type |
getRealType()
If this is a type alias, get the aliased type.
|
java.lang.Class |
getReflectClass()
Get the java.lang.Class object for the representation type.
|
ClassType |
getSuperclass() |
coerceFromObject, emitCoerceFromObject, getContextClass, getContextClassLoader, getInternalName, getMethods, isExisting, isInstance, setExisting
coerceToObject, emitCoerceToObject, emitConvertFromPrimitive, emitIsInstance, getGenericSignature, getMaybeGenericSignature, getName, getRawType, getSignature, getSize, getSizeInWords, getType, hashCode, isCompatibleWithValue, isCompatibleWithValue, isInterface, isMoreSpecific, isSame, isSubtype, isValidJavaTypeName, isVoid, lookupType, lowestCommonSharedType, lowestCommonSuperType, make, make, printSignature, promote, promoteIfUnsigned, registerTypeForClass, setGenericSignature, setName, setReflectClass, setSignature, signatureLength, signatureLength, signatureToName, signatureToPrimitive, signatureToType, signatureToType, swappedCompareResult, toString
protected ClassType implementationType
public SpecialObjectType(java.lang.String name, ClassType implementationType)
public ClassType getSuperclass()
getSuperclass
in class ObjectType
public ClassType[] getInterfaces()
getInterfaces
in class ObjectType
public Field getField(java.lang.String name, int mask)
getField
in class ObjectType
public Method getMethod(java.lang.String name, Type[] arg_types)
getMethod
in class ObjectType
public Method getDeclaredMethod(java.lang.String name, int argCount)
public int getMethods(Filter filter, int searchSupers, java.util.List<Method> result)
getMethods
in class ObjectType
public java.lang.Class getReflectClass()
ObjectType
getReflectClass
in class ObjectType
public Type getRealType()
Type
getRealType
in class Type
public Type getImplementationType()
Type
getImplementationType
in class Type
public int compare(Type other)
Type
compare
in class ObjectType