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.Type
componentType
(package private) int
dim
-
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) void
encode(java.lang.StringBuffer sb)
SignatureAttribute.Type
getComponentType()
Returns the component type.int
getDimension()
Returns the dimension of the array.java.lang.String
toString()
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:
toString
in classjava.lang.Object
-
encode
void encode(java.lang.StringBuffer sb)
- Specified by:
encode
in classSignatureAttribute.Type
-
-