| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.javassist.CompileTimeClass
classUtils.javassist.CompileTimePrimitiveType
public final class CompileTimePrimitiveType
An instance of CtPrimitiveType represents a primitive type.
 It is obtained from CtClass.
| Field Summary | 
|---|
| Fields inherited from class classUtils.javassist.CompileTimeClass | 
|---|
| booleanType, byteType, charType, doubleType, floatType, intType, longType, 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. | 
|  java.lang.String | getGetMethodDescriptor()Returns the descriptor of the method for retrieving the value from the wrapper object. | 
|  java.lang.String | getGetMethodName()Returns the name of the method for retrieving the value from the wrapper object. | 
|  int | getReturnOp()Returns the opcode for returning a value of the type. | 
|  java.lang.String | getWrapperName()Returns the name of the wrapper class. | 
|  boolean | isPrimitive()Returns trueif this object represents a primitive
 Java type: boolean, byte, char, short, int, long, float, double,
 or void. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, 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 CompileTimeClasspublic char getDescriptor()
public java.lang.String getWrapperName()
java.lang.Integer.
public java.lang.String getGetMethodName()
intValue.
public java.lang.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 | |||||||||