|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavassist.CtClass
javassist.CtPrimitiveType
public final class CtPrimitiveType
An instance of CtPrimitiveType represents a primitive type.
It is obtained from CtClass.
| Field Summary |
|---|
| Fields inherited from class javassist.CtClass |
|---|
booleanType, byteType, charType, doubleType, floatType, intType, longType, qualifiedName, shortType, version, voidType |
| Method Summary | |
|---|---|
int |
getArrayType()
Returns the array-type code representing the type. |
int |
getDataSize()
Returns the data size of the primitive type. |
char |
getDescriptor()
Returns the descriptor representing this type. |
String |
getGetMethodDescriptor()
Returns the descriptor of the method for retrieving the value from the wrapper object. |
String |
getGetMethodName()
Returns the name of the method for retrieving the value from the wrapper object. |
int |
getModifiers()
Returns the modifiers for this type. |
int |
getReturnOp()
Returns the opcode for returning a value of the type. |
String |
getWrapperName()
Returns the name of the wrapper class. |
boolean |
isPrimitive()
Returns true if this object represents a primitive
Java type: boolean, byte, char, short, int, long, float, double,
or void. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean isPrimitive()
true if this object represents a primitive
Java type: boolean, byte, char, short, int, long, float, double,
or void.
isPrimitive in class CtClasspublic int getModifiers()
javassist.Modifier.
getModifiers in class CtClassModifierpublic char getDescriptor()
public String getWrapperName()
java.lang.Integer.
public String getGetMethodName()
intValue.
public String getGetMethodDescriptor()
()I.
public int getReturnOp()
javassit.bytecode.Opcode.IRETURN.
public int getArrayType()
javassit.bytecode.Opcode.T_INT.
public int getDataSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||