public static class SignatureAttribute.BaseType extends SignatureAttribute.Type
| Modifier and Type | Field and Description |
|---|---|
(package private) char |
descriptor |
| Constructor and Description |
|---|
BaseType(char c) |
BaseType(java.lang.String typeName)
Constructs a
BaseType. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
encode(java.lang.StringBuffer sb) |
CtClass |
getCtlass()
Returns the
CtClass representing this
primitive type. |
char |
getDescriptor()
Returns the descriptor representing this primitive type.
|
java.lang.String |
toString()
Returns the string representation.
|
toStringBaseType(char c)
public BaseType(java.lang.String typeName)
BaseType.typeName - void, int, ...public char getDescriptor()
Descriptorpublic CtClass getCtlass()
CtClass representing this
primitive type.public java.lang.String toString()
toString in class java.lang.Objectvoid encode(java.lang.StringBuffer sb)
encode in class SignatureAttribute.Type