| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final BasicType | |
| public static final BasicType | |
| public static final BasicType | |
| public static final ObjectType | |
| public static final ArrayType | |
| private static Map | |
| public static final BasicType | |
| public static final ObjectType | |
| public static final BasicType | |
| public static final BasicType | |
| public static final ObjectType | |
| public static final ObjectType | |
| public static final ObjectType | |
| public static final BasicType | |
| public static final Type[] | |
| public static final ReferenceType | |
| public static final ObjectType | |
| public static final ArrayType | |
| public static final BasicType | |
| protected String | |
| public static final ObjectType | |
| public static final ArrayType | |
| public static final Type[] | |
| public static final Type[] | |
| public static final Type[] | |
| public static final Type[] | |
| public static final Type[] | |
| public static final Type[] | |
| public static final Type[] | |
| public static final ObjectType | |
| public static final ObjectType | |
| public static final ObjectType | |
| protected byte | |
| public static final Type | |
| public static final BasicType |
| Modifier and Type | Method and Description |
|---|---|
| public static int | getArgumentSizes(String signature)
Work out the type of each argument in the signature and return the cumulative sizes of all the types (size means number of stack slots it consumes, eg double=2, int=1). |
| public static Type[] | Returns: array of argument typessignature string such as (Ljava/lang/String;)V signature)Convert arguments of a method (signature) to an array of Type objects. |
| public static Type | Returns: return typesignature string such as (Ljava/lang/String;)V signature)Convert return value of a method (signature) to a Type object. |
| public String | |
| public static String | |
| public static String | |
| public int | |
| public byte | |
| public static final Type | |
| public static Type | |
| public static final Type. | Returns: type objectsignature string such as Ljava/lang/String; signature)Convert signature to a Type object. |
| public static int | |
| public String | Returns: Type string, e.g. 'int[]'Overrides java. |
| BOOLEAN | back to summary |
|---|---|
| public static final BasicType BOOLEAN | |
| BYTE | back to summary |
|---|---|
| public static final BasicType BYTE | |
| CHAR | back to summary |
|---|---|
| public static final BasicType CHAR | |
| CLASS | back to summary |
|---|---|
| public static final ObjectType CLASS | |
| CLASS_ARRAY | back to summary |
|---|---|
| public static final ArrayType CLASS_ARRAY | |
| commonTypes | back to summary |
|---|---|
| private static Map<String, Type> commonTypes | |
| DOUBLE | back to summary |
|---|---|
| public static final BasicType DOUBLE | |
| EXCEPTION | back to summary |
|---|---|
| public static final ObjectType EXCEPTION | |
| FLOAT | back to summary |
|---|---|
| public static final BasicType FLOAT | |
| INT | back to summary |
|---|---|
| public static final BasicType INT | |
| INTEGER | back to summary |
|---|---|
| public static final ObjectType INTEGER | |
| ITERATOR | back to summary |
|---|---|
| public static final ObjectType ITERATOR | |
| LIST | back to summary |
|---|---|
| public static final ObjectType LIST | |
| LONG | back to summary |
|---|---|
| public static final BasicType LONG | |
| NO_ARGS | back to summary |
|---|---|
| public static final Type[] NO_ARGS | |
| NULL | back to summary |
|---|---|
| public static final ReferenceType NULL | |
| OBJECT | back to summary |
|---|---|
| public static final ObjectType OBJECT | |
| OBJECT_ARRAY | back to summary |
|---|---|
| public static final ArrayType OBJECT_ARRAY | |
| SHORT | back to summary |
|---|---|
| public static final BasicType SHORT | |
| signature | back to summary |
|---|---|
| protected String signature | |
| STRING | back to summary |
|---|---|
| public static final ObjectType STRING | |
| STRING_ARRAY | back to summary |
|---|---|
| public static final ArrayType STRING_ARRAY | |
| STRINGARRAY1 | back to summary |
|---|---|
| public static final Type[] STRINGARRAY1 | |
| STRINGARRAY2 | back to summary |
|---|---|
| public static final Type[] STRINGARRAY2 | |
| STRINGARRAY3 | back to summary |
|---|---|
| public static final Type[] STRINGARRAY3 | |
| STRINGARRAY4 | back to summary |
|---|---|
| public static final Type[] STRINGARRAY4 | |
| STRINGARRAY5 | back to summary |
|---|---|
| public static final Type[] STRINGARRAY5 | |
| STRINGARRAY6 | back to summary |
|---|---|
| public static final Type[] STRINGARRAY6 | |
| STRINGARRAY7 | back to summary |
|---|---|
| public static final Type[] STRINGARRAY7 | |
| STRINGBUFFER | back to summary |
|---|---|
| public static final ObjectType STRINGBUFFER | |
| STRINGBUILDER | back to summary |
|---|---|
| public static final ObjectType STRINGBUILDER | |
| THROWABLE | back to summary |
|---|---|
| public static final ObjectType THROWABLE | |
| type | back to summary |
|---|---|
| protected byte type | |
| UNKNOWN | back to summary |
|---|---|
| public static final Type UNKNOWN | |
| VOID | back to summary |
|---|---|
| public static final BasicType VOID | |
| Type | back to summary |
|---|---|
| protected Type(byte t, String s) | |
| getArgumentSizes | back to summary |
|---|---|
| public static int getArgumentSizes(String signature) Work out the type of each argument in the signature and return the cumulative sizes of all the types (size means number of stack slots it consumes, eg double=2, int=1). Unlike the call above, this does minimal unpacking | |
| getArgumentTypes | back to summary |
|---|---|
| public static Type[] getArgumentTypes(String signature) Convert arguments of a method (signature) to an array of Type objects. | |
| getReturnType | back to summary |
|---|---|
| public static Type getReturnType(String signature) Convert return value of a method (signature) to a Type object. | |
| getSignature | back to summary |
|---|---|
| public String getSignature() | |
| getSignature | back to summary |
|---|---|
| public static String getSignature(Method meth) | |
| getSignature | back to summary |
|---|---|
| public static String getSignature(Constructor<?> cons) | |
| getSize | back to summary |
|---|---|
public int getSize()
| |
| getType | back to summary |
|---|---|
| public byte getType() | |
| getType | back to summary |
|---|---|
| public static final Type getType(String signature) | |
| getType | back to summary |
|---|---|
| public static Type getType(Class<T> cl) Convert runtime java.lang.Class to BCEL Type object. | |
| getTypeInternal | back to summary |
|---|---|
| public static final Type. Convert signature to a Type object.
| |
| getTypeSize | back to summary |
|---|---|
| public static int getTypeSize(String signature) Return the size of the type expressed in the signature. The signature should contain only one type. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public Type |
| TypeHolder | back to summary |
|---|---|
| public TypeHolder(Type t, int i) | |
| getConsumed | back to summary |
|---|---|
| public int getConsumed() | |
| getType | back to summary |
|---|---|
| public Type getType() | |