public static class SignatureAttribute.ArrayType extends SignatureAttribute.ObjectType
Modifier and Type | Field and Description |
---|---|
(package private) SignatureAttribute.Type |
componentType |
(package private) int |
dim |
Constructor and Description |
---|
ArrayType(int d,
SignatureAttribute.Type comp)
Constructs an
ArrayType . |
Modifier and Type | Method and 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.
|
encode
toString
int dim
SignatureAttribute.Type componentType
public ArrayType(int d, SignatureAttribute.Type comp)
ArrayType
.d
- dimension.comp
- the component type.public int getDimension()
public SignatureAttribute.Type getComponentType()
public java.lang.String toString()
toString
in class java.lang.Object
void encode(java.lang.StringBuffer sb)
encode
in class SignatureAttribute.Type