1 15 16 package javassist; 17 18 22 public final class CtPrimitiveType extends CtClass { 23 private char descriptor; 24 private String wrapperName; 25 private String getMethodName; 26 private String mDescriptor; 27 private int returnOp; 28 private int arrayType; 29 private int dataSize; 30 31 CtPrimitiveType(String name, char desc, String wrapper, 32 String methodName, String mDesc, int opcode, int atype, 33 int size) { 34 super(name); 35 descriptor = desc; 36 wrapperName = wrapper; 37 getMethodName = methodName; 38 mDescriptor = mDesc; 39 returnOp = opcode; 40 arrayType = atype; 41 dataSize = size; 42 } 43 44 49 public boolean isPrimitive() { return true; } 50 51 55 public char getDescriptor() { return descriptor; } 56 57 62 public String getWrapperName() { return wrapperName; } 63 64 70 public String getGetMethodName() { return getMethodName; } 71 72 78 public String getGetMethodDescriptor() { return mDescriptor; } 79 80 85 public int getReturnOp() { return returnOp; } 86 87 93 public int getArrayType() { return arrayType; } 94 95 100 public int getDataSize() { return dataSize; } 101 } 102 | Popular Tags |