Package org.aspectj.apache.bcel.generic
Class Type
- java.lang.Object
-
- org.aspectj.apache.bcel.generic.Type
-
- Direct Known Subclasses:
BasicType,ReferenceType,ReturnaddressType
public abstract class Type extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classType.TypeHolder
-
Field Summary
Fields Modifier and Type Field Description static BasicTypeBOOLEANstatic BasicTypeBYTEstatic BasicTypeCHARstatic ObjectTypeCLASSstatic ArrayTypeCLASS_ARRAYstatic BasicTypeDOUBLEstatic ObjectTypeEXCEPTIONstatic BasicTypeFLOATstatic BasicTypeINTstatic ObjectTypeINTEGERstatic ObjectTypeITERATORstatic ObjectTypeLISTstatic BasicTypeLONGstatic Type[]NO_ARGSstatic ReferenceTypeNULLstatic ObjectTypeOBJECTstatic ArrayTypeOBJECT_ARRAYstatic BasicTypeSHORTprotected Stringsignaturestatic ObjectTypeSTRINGstatic ArrayTypeSTRING_ARRAYstatic Type[]STRINGARRAY1static Type[]STRINGARRAY2static Type[]STRINGARRAY3static Type[]STRINGARRAY4static Type[]STRINGARRAY5static Type[]STRINGARRAY6static Type[]STRINGARRAY7static ObjectTypeSTRINGBUFFERstatic ObjectTypeSTRINGBUILDERstatic ObjectTypeTHROWABLEprotected bytetypestatic TypeUNKNOWNstatic BasicTypeVOID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intgetArgumentSizes(String signature)static Type[]getArgumentTypes(String signature)static TypegetReturnType(String signature)StringgetSignature()static StringgetSignature(Constructor<?> cons)static StringgetSignature(Method meth)intgetSize()bytegetType()static TypegetType(Class cl)static TypegetType(String signature)static Type.TypeHoldergetTypeInternal(String signature)static intgetTypeSize(String signature)StringtoString()
-
-
-
Field Detail
-
type
protected byte type
-
signature
protected String signature
-
VOID
public static final BasicType VOID
-
BOOLEAN
public static final BasicType BOOLEAN
-
INT
public static final BasicType INT
-
SHORT
public static final BasicType SHORT
-
BYTE
public static final BasicType BYTE
-
LONG
public static final BasicType LONG
-
DOUBLE
public static final BasicType DOUBLE
-
FLOAT
public static final BasicType FLOAT
-
CHAR
public static final BasicType CHAR
-
OBJECT
public static final ObjectType OBJECT
-
STRING
public static final ObjectType STRING
-
OBJECT_ARRAY
public static final ArrayType OBJECT_ARRAY
-
STRING_ARRAY
public static final ArrayType STRING_ARRAY
-
CLASS_ARRAY
public static final ArrayType CLASS_ARRAY
-
STRINGBUFFER
public static final ObjectType STRINGBUFFER
-
STRINGBUILDER
public static final ObjectType STRINGBUILDER
-
THROWABLE
public static final ObjectType THROWABLE
-
CLASS
public static final ObjectType CLASS
-
INTEGER
public static final ObjectType INTEGER
-
EXCEPTION
public static final ObjectType EXCEPTION
-
LIST
public static final ObjectType LIST
-
ITERATOR
public static final ObjectType ITERATOR
-
NO_ARGS
public static final Type[] NO_ARGS
-
NULL
public static final ReferenceType NULL
-
UNKNOWN
public static final Type UNKNOWN
-
STRINGARRAY1
public static final Type[] STRINGARRAY1
-
STRINGARRAY2
public static final Type[] STRINGARRAY2
-
STRINGARRAY3
public static final Type[] STRINGARRAY3
-
STRINGARRAY4
public static final Type[] STRINGARRAY4
-
STRINGARRAY5
public static final Type[] STRINGARRAY5
-
STRINGARRAY6
public static final Type[] STRINGARRAY6
-
STRINGARRAY7
public static final Type[] STRINGARRAY7
-
-
Constructor Detail
-
Type
protected Type(byte t, String s)
-
-
Method Detail
-
getSignature
public String getSignature()
-
getType
public byte getType()
-
getSize
public int getSize()
-
getTypeInternal
public static final Type.TypeHolder getTypeInternal(String signature) throws StringIndexOutOfBoundsException
- Throws:
StringIndexOutOfBoundsException
-
getArgumentSizes
public static int getArgumentSizes(String signature)
-
getTypeSize
public static int getTypeSize(String signature)
-
getSignature
public static String getSignature(Constructor<?> cons)
-
-