Package javassist.bytecode
Class SignatureAttribute.BaseType
java.lang.Object
javassist.bytecode.SignatureAttribute.Type
javassist.bytecode.SignatureAttribute.BaseType
- Enclosing class:
- SignatureAttribute
Primitive types.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidencode(StringBuilder sb) Returns theCtClassrepresenting this primitive type.charReturns the descriptor representing this primitive type.toString()Returns the string representation.Methods inherited from class javassist.bytecode.SignatureAttribute.Type
jvmTypeName, toString
-
Field Details
-
descriptor
char descriptor
-
-
Constructor Details
-
BaseType
BaseType(char c) -
BaseType
Constructs aBaseType.- Parameters:
typeName-void,int, ...
-
-
Method Details
-
getDescriptor
public char getDescriptor()Returns the descriptor representing this primitive type.- See Also:
-
getCtlass
Returns theCtClassrepresenting this primitive type. -
toString
Returns the string representation. -
encode
- Specified by:
encodein classSignatureAttribute.Type
-