Class SignatureAttribute.ArrayType
java.lang.Object
javassist.bytecode.SignatureAttribute.Type
javassist.bytecode.SignatureAttribute.ObjectType
javassist.bytecode.SignatureAttribute.ArrayType
- Enclosing class:
SignatureAttribute
Array types.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidencode(StringBuilder sb) Returns the component type.intReturns the dimension of the array.toString()Returns the string representation.Methods inherited from class SignatureAttribute.ObjectType
encodeMethods inherited from class SignatureAttribute.Type
jvmTypeName, toString
-
Field Details
-
dim
int dim -
componentType
SignatureAttribute.Type componentType
-
-
Constructor Details
-
ArrayType
Constructs anArrayType.- Parameters:
d- dimension.comp- the component type.
-
-
Method Details
-
getDimension
public int getDimension()Returns the dimension of the array. -
getComponentType
Returns the component type. -
toString
-
encode
- Specified by:
encodein classSignatureAttribute.Type
-