|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.gen.Type<T>
public final class Type<T>
A primitive type, interface or class.
| Field Summary | |
|---|---|
static Type<Boolean> |
BOOLEAN
The boolean primitive type. |
static Type<Byte> |
BYTE
The byte primitive type. |
static Type<Character> |
CHAR
The char primitive type. |
static Type<Double> |
DOUBLE
The double primitive type. |
static Type<Float> |
FLOAT
The float primitive type. |
static Type<Integer> |
INT
The int primitive type. |
static Type<Long> |
LONG
The long primitive type. |
static Type<Object> |
OBJECT
The Object type. |
static Type<Short> |
SHORT
The short primitive type. |
static Type<String> |
STRING
The String type. |
static Type<Void> |
VOID
The void primitive type. |
| Method Summary | ||
|---|---|---|
boolean |
equals(Object o)
|
|
static
|
get(Class<T> type)
|
|
static
|
get(String name)
|
|
MethodId<T,Void> |
getConstructor(Type<?>... parameters)
|
|
|
getField(Type<V> type,
String name)
|
|
|
getMethod(Type<R> returnType,
String name,
Type<?>... parameters)
|
|
String |
getName()
|
|
int |
hashCode()
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Type<Boolean> BOOLEAN
boolean primitive type.
public static final Type<Byte> BYTE
byte primitive type.
public static final Type<Character> CHAR
char primitive type.
public static final Type<Double> DOUBLE
double primitive type.
public static final Type<Float> FLOAT
float primitive type.
public static final Type<Integer> INT
int primitive type.
public static final Type<Long> LONG
long primitive type.
public static final Type<Short> SHORT
short primitive type.
public static final Type<Void> VOID
void primitive type. Only used as a return type.
public static final Type<Object> OBJECT
Object type.
public static final Type<String> STRING
String type.
| Method Detail |
|---|
public static <T> Type<T> get(String name)
name - a descriptor like "Ljava/lang/Class;".public static <T> Type<T> get(Class<T> type)
public <V> FieldId<T,V> getField(Type<V> type,
String name)
public MethodId<T,Void> getConstructor(Type<?>... parameters)
public <R> MethodId<T,R> getMethod(Type<R> returnType,
String name,
Type<?>... parameters)
public String getName()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||