| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private ClassInfo | |
| private static ThreadLocal | |
| private String | |
| private static ThreadLocal | |
| private boolean | |
| private Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private static final Type | |
| private String | |
| private String | |
| private static Map | |
| private String | |
| private int | |
| private Type. | |
| private Class | |
| private int |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public static Type | |
| public Type | |
| public ClassInfo | |
| private static boolean | |
| public String | |
| public static final void | |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Class | |
| public int | |
| public boolean | hasPrimitiveNarrowingConversionFrom(Type t)
Return true iff there is a primitive narrowing conversion from Type t to this type. |
| public boolean | hasPrimitiveWideningConversionFrom(Type t)
Return true iff there is a primitive widening conversion from Type t to this type. |
| public boolean | hasReferenceNarrowingConversionFrom(Type t)
Return true iff there is a reference narrowing conversion from Type t to this type. |
| public boolean | hasReferenceWideningConversionFrom(Type t)
Return true iff there is a reference widening conversion from Type t to this type. |
| public boolean | |
| public boolean | isAssignmentConvertibleFrom(Type t)
Return true iff there is an assignment conversion from Type t to this type. |
| public boolean | isCastingConvertibleFrom(Type t)
Return true iff there is a casting conversion from Type t to this type. |
| private boolean | |
| public boolean | isMethodInvocationConvertibleFrom(Type t)
Return true iff one of the following statements is true:
|
| public boolean | |
| public boolean | |
| private boolean | |
| public Type | |
| private int | |
| public String | |
| private boolean | |
| public String | |
| private boolean | |
| public String | |
| public int | |
| public String | |
| public static synchronized Type | |
| public Type |
| classInfo | back to summary |
|---|---|
| private ClassInfo classInfo | |
| classMap | back to summary |
|---|---|
| private static ThreadLocal<Map<Class<T>, Type>> classMap | |
| className | back to summary |
|---|---|
| private String className | |
| classNameMap | back to summary |
|---|---|
| private static ThreadLocal<Map<String, Type>> classNameMap | |
| isNumber | back to summary |
|---|---|
| private boolean isNumber | |
| memberType | back to summary |
|---|---|
| private Type memberType | |
| myBoolean | back to summary |
|---|---|
| private static final Type myBoolean | |
| myByte | back to summary |
|---|---|
| private static final Type myByte | |
| myChar | back to summary |
|---|---|
| private static final Type myChar | |
| myClass | back to summary |
|---|---|
| private static final Type myClass | |
| myCloneable | back to summary |
|---|---|
| private static final Type myCloneable | |
| myDouble | back to summary |
|---|---|
| private static final Type myDouble | |
| myFloat | back to summary |
|---|---|
| private static final Type myFloat | |
| myInt | back to summary |
|---|---|
| private static final Type myInt | |
| myLong | back to summary |
|---|---|
| private static final Type myLong | |
| myNull | back to summary |
|---|---|
| private static final Type myNull | |
| myObject | back to summary |
|---|---|
| private static final Type myObject | |
| myShort | back to summary |
|---|---|
| private static final Type myShort | |
| myString | back to summary |
|---|---|
| private static final Type myString | |
| myVoid | back to summary |
|---|---|
| private static final Type myVoid | |
| name | back to summary |
|---|---|
| private String name | |
| packageName | back to summary |
|---|---|
| private String packageName | |
| ptcToType | back to summary |
|---|---|
| private static Map<Class<T>, Type> ptcToType | |
| signature | back to summary |
|---|---|
| private String signature | |
| size | back to summary |
|---|---|
| private int size | |
| sort | back to summary |
|---|---|
| private Type. | |
| typeClass | back to summary |
|---|---|
| private Class<?> typeClass | |
| wideningNumber | back to summary |
|---|---|
| private int wideningNumber | |
| Type | back to summary |
|---|---|
| private Type(String name, String signature, int size, boolean isNumber, Type. | |
| Type | back to summary |
|---|---|
| private Type(String name, String signature, int size, boolean isNumber, Type. | |
| _array | back to summary |
|---|---|
| public static Type _array(Type memberType) | |
| _boolean | back to summary |
|---|---|
| public static Type _boolean() | |
| _byte | back to summary |
|---|---|
| public static Type _byte() | |
| _char | back to summary |
|---|---|
| public static Type _char() | |
| _class | back to summary |
|---|---|
| public static Type _class(String name) Return a codegen Type representing a class with the given name. This is not bound to a specific Class object until/unless getTypeClass is called. | |
| _Class | back to summary |
|---|---|
| public static Type _Class() | |
| _classGenerator | back to summary |
|---|---|
| public static Type _classGenerator(ClassGenerator cg) | |
| _Cloneable | back to summary |
|---|---|
| public static Type _Cloneable() | |
| _double | back to summary |
|---|---|
| public static Type _double() | |
| _float | back to summary |
|---|---|
| public static Type _float() | |
| _int | back to summary |
|---|---|
| public static Type _int() | |
| _long | back to summary |
|---|---|
| public static Type _long() | |
| _null | back to summary |
|---|---|
| public static Type _null() | |
| _Object | back to summary |
|---|---|
| public static Type _Object() | |
| _short | back to summary |
|---|---|
| public static Type _short() | |
| _String | back to summary |
|---|---|
| public static Type _String() | |
| _void | back to summary |
|---|---|
| public static Type _void() | |
| binaryPromotion | back to summary |
|---|---|
| public Type binaryPromotion(Type t) Return the type that is the binary promotion of this type and Type t. | |
| classInfo | back to summary |
|---|---|
| public ClassInfo classInfo() | |
| classIsStandard | back to summary |
|---|---|
| private static boolean classIsStandard(Class<T> cls) | |
| className | back to summary |
|---|---|
| public String className() | |
| clearCaches | back to summary |
|---|---|
| public static final void clearCaches() This method is only intended for internal use. It is public because the implementation that needs this is in a different package. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getTypeClass | back to summary |
|---|---|
| public Class | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasPrimitiveNarrowingConversionFrom | back to summary |
|---|---|
| public boolean hasPrimitiveNarrowingConversionFrom(Type t) Return true iff there is a primitive narrowing conversion from Type t to this type. | |
| hasPrimitiveWideningConversionFrom | back to summary |
|---|---|
| public boolean hasPrimitiveWideningConversionFrom(Type t) Return true iff there is a primitive widening conversion from Type t to this type. | |
| hasReferenceNarrowingConversionFrom | back to summary |
|---|---|
| public boolean hasReferenceNarrowingConversionFrom(Type t) Return true iff there is a reference narrowing conversion from Type t to this type. | |
| hasReferenceWideningConversionFrom | back to summary |
|---|---|
| public boolean hasReferenceWideningConversionFrom(Type t) Return true iff there is a reference widening conversion from Type t to this type. | |
| isArray | back to summary |
|---|---|
| public boolean isArray() | |
| isAssignmentConvertibleFrom | back to summary |
|---|---|
| public boolean isAssignmentConvertibleFrom(Type t) Return true iff there is an assignment conversion from Type t to this type. | |
| isCastingConvertibleFrom | back to summary |
|---|---|
| public boolean isCastingConvertibleFrom(Type t) Return true iff there is a casting conversion from Type t to this type. | |
| isInterface | back to summary |
|---|---|
| private boolean isInterface() | |
| isMethodInvocationConvertibleFrom | back to summary |
|---|---|
| public boolean isMethodInvocationConvertibleFrom(Type t) Return true iff one of the following statements is true:
| |
| isNumber | back to summary |
|---|---|
| public boolean isNumber() | |
| isPrimitive | back to summary |
|---|---|
| public boolean isPrimitive() | |
| isSubclass | back to summary |
|---|---|
| private boolean isSubclass(Type t) | |
| memberType | back to summary |
|---|---|
| public Type memberType() | |
| modifiers | back to summary |
|---|---|
| private int modifiers() | |
| name | back to summary |
|---|---|
| public String name() | |
| noMethodConflicts | back to summary |
|---|---|
| private boolean noMethodConflicts(Type t1, Type t2) | |
| packageName | back to summary |
|---|---|
| public String packageName() | |
| returnTypeCollision | back to summary |
|---|---|
| private boolean returnTypeCollision(Set<MethodInfo> set1, Set<MethodInfo> set2) | |
| signature | back to summary |
|---|---|
| public String signature() | |
| size | back to summary |
|---|---|
| public int size() Number of 32 bit words occupied by this type if primitive, or 0 if non-primitive. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| type | back to summary |
|---|---|
| public static synchronized Type type(Class<T> cls) Return the codegen Type that corresponds to the Java (non-generic) Type represented by cls. | |
| unaryPromotion | back to summary |
|---|---|
| public Type unaryPromotion() Return the type that is a unary promotion of this type. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Type. | |
| public static final Type. | |
| public static final Type. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Type. | |
| public static Type. |
| ARRAY | back to summary |
|---|---|
| public static final Type. | |
| CLASS | back to summary |
|---|---|
| public static final Type. | |
| PRIMITIVE | back to summary |
|---|---|
| public static final Type. | |
| Sort | back to summary |
|---|---|
| private Sort() | |
| valueOf | back to summary |
|---|---|
| public static Type. | |
| values | back to summary |
|---|---|
| public static Type. | |