Package javassist.bytecode
Class SignatureAttribute.ArrayType
- java.lang.Object
-
- javassist.bytecode.SignatureAttribute.Type
-
- javassist.bytecode.SignatureAttribute.ObjectType
-
- javassist.bytecode.SignatureAttribute.ArrayType
-
- Enclosing class:
- SignatureAttribute
public static class SignatureAttribute.ArrayType extends SignatureAttribute.ObjectType
Array types.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SignatureAttribute.TypecomponentType(package private) intdim
-
Constructor Summary
Constructors Constructor Description ArrayType(int d, SignatureAttribute.Type comp)Constructs anArrayType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidencode(java.lang.StringBuffer sb)SignatureAttribute.TypegetComponentType()Returns the component type.intgetDimension()Returns the dimension of the array.java.lang.StringtoString()Returns the string representation.-
Methods inherited from class javassist.bytecode.SignatureAttribute.ObjectType
encode
-
Methods inherited from class javassist.bytecode.SignatureAttribute.Type
jvmTypeName, toString
-
-
-
-
Field Detail
-
dim
int dim
-
componentType
SignatureAttribute.Type componentType
-
-
Constructor Detail
-
ArrayType
public ArrayType(int d, SignatureAttribute.Type comp)Constructs anArrayType.- Parameters:
d- dimension.comp- the component type.
-
-
Method Detail
-
getDimension
public int getDimension()
Returns the dimension of the array.
-
getComponentType
public SignatureAttribute.Type getComponentType()
Returns the component type.
-
toString
public java.lang.String toString()
Returns the string representation.- Overrides:
toStringin classjava.lang.Object
-
encode
void encode(java.lang.StringBuffer sb)
- Specified by:
encodein classSignatureAttribute.Type
-
-