Warning
Use care when dealing with boxed primitive
types. Java's lack of support for parameterized primitive types means that
a primitive type like int and its boxed type java.lang.Integer have the same type parameter: TypeId<Integer>.
These types are different and it will be a runtime error if the boxed type
java.lang.Integer is used where the primitive type int is
expected.
| Modifier and Type | Field and Description |
|---|---|
| public static final TypeId | BOOLEAN
The |
| public static final TypeId | BYTE
The |
| public static final TypeId | CHAR
The |
| pack-priv final CstType | |
| public static final TypeId | DOUBLE
The |
| public static final TypeId | FLOAT
The |
| public static final TypeId | INT
The |
| public static final TypeId | LONG
The |
| pack-priv final String | |
| public static final TypeId | OBJECT
The |
| private static final Map | |
| pack-priv final Type | ropType
cached converted values |
| public static final TypeId | SHORT
The |
| public static final TypeId | STRING
The |
| public static final TypeId | VOID
The |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public static <T> TypeId | |
| public static <T> TypeId | |
| public MethodId | |
| public <V> FieldId | |
| public <R> MethodId | |
| public String | |
| public int | |
| public String |
| BOOLEAN | back to summary |
|---|---|
| public static final TypeId<Boolean> BOOLEAN The | |
| BYTE | back to summary |
|---|---|
| public static final TypeId<Byte> BYTE The | |
| CHAR | back to summary |
|---|---|
| public static final TypeId<Character> CHAR The | |
| constant | back to summary |
|---|---|
| pack-priv final CstType constant | |
| DOUBLE | back to summary |
|---|---|
| public static final TypeId<Double> DOUBLE The | |
| FLOAT | back to summary |
|---|---|
| public static final TypeId<Float> FLOAT The | |
| INT | back to summary |
|---|---|
| public static final TypeId<Integer> INT The | |
| LONG | back to summary |
|---|---|
| public static final TypeId<Long> LONG The | |
| name | back to summary |
|---|---|
| pack-priv final String name | |
| OBJECT | back to summary |
|---|---|
| public static final TypeId<Object> OBJECT The | |
| PRIMITIVE_TO_TYPE | back to summary |
|---|---|
| private static final Map<Class<?>, TypeId<?>> PRIMITIVE_TO_TYPE | |
| ropType | back to summary |
|---|---|
| pack-priv final Type ropType cached converted values | |
| SHORT | back to summary |
|---|---|
| public static final TypeId<Short> SHORT The | |
| STRING | back to summary |
|---|---|
| public static final TypeId<String> STRING The | |
| VOID | back to summary |
|---|---|
| public static final TypeId<Void> VOID The | |
| TypeId | back to summary |
|---|---|
| pack-priv TypeId(Type ropType) | |
| TypeId | back to summary |
|---|---|
| pack-priv TypeId(String name, Type ropType) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) 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. | |
| get | back to summary |
|---|---|
public static <T> TypeId
| |
| get | back to summary |
|---|---|
| public static <T> TypeId | |
| getConstructor | back to summary |
|---|---|
| public MethodId | |
| getField | back to summary |
|---|---|
| public <V> FieldId | |
| getMethod | back to summary |
|---|---|
| public <R> MethodId | |
| getName | back to summary |
|---|---|
| public String getName() | |
| 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
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |