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) void
encode
(StringBuilder sb) Returns theCtClass
representing this primitive type.char
Returns 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 theCtClass
representing this primitive type. -
toString
Returns the string representation. -
encode
- Specified by:
encode
in classSignatureAttribute.Type
-