public class LazyType extends ObjectType
Type.NeverReturns| Modifier and Type | Field and Description |
|---|---|
static ClassType |
lazyType |
static ClassType |
promiseType |
flagsboolean_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 |
|---|
LazyType(ClassType rawType,
Type valueType) |
| 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.
|
Type |
getImplementationType()
Return Java-level implementation type.
|
static LazyType |
getInstance(ClassType rawType,
Type valueType) |
static LazyType |
getLazyType(Type valueType) |
static LazyType |
getPromiseType(Type valueType) |
Type |
getRawType()
Return JVM-level implementation type.
|
Type |
getValueType() |
static boolean |
maybeLazy(Type type) |
java.lang.String |
toString() |
coerceFromObject, emitCoerceFromObject, getContextClass, getContextClassLoader, getField, getInternalName, getMethod, getMethods, getMethods, getReflectClass, isExisting, isInstance, promote, setExistingcoerceToObject, emitCoerceToObject, emitConvertFromPrimitive, emitIsInstance, getGenericSignature, getMaybeGenericSignature, getName, getRealType, getSignature, getSize, getSizeInWords, getType, hashCode, isCompatibleWithValue, isInterface, isMoreSpecific, isSubtype, isValidJavaTypeName, isVoid, lookupType, lowestCommonSuperType, make, make, printSignature, registerTypeForClass, setGenericSignature, setName, setReflectClass, setSignature, signatureLength, signatureLength, signatureToName, signatureToPrimitive, signatureToType, signatureToType, swappedCompareResultpublic static final ClassType lazyType
public static final ClassType promiseType
public Type getValueType()
public Type getRawType()
TypegetRawType in class Typepublic Type getImplementationType()
TypegetImplementationType in class Typepublic int compare(Type other)
Typecompare in class ObjectTypepublic static boolean maybeLazy(Type type)