Lines Matching defs:CstType

26 public final class CstType extends TypedConstant {
28 private static final HashMap<Type, CstType> interns =
29 new HashMap<Type, CstType>(100);
32 public static final CstType OBJECT = intern(Type.OBJECT);
35 public static final CstType BOOLEAN = intern(Type.BOOLEAN_CLASS);
38 public static final CstType BYTE = intern(Type.BYTE_CLASS);
41 public static final CstType CHARACTER = intern(Type.CHARACTER_CLASS);
44 public static final CstType DOUBLE = intern(Type.DOUBLE_CLASS);
47 public static final CstType FLOAT = intern(Type.FLOAT_CLASS);
50 public static final CstType LONG = intern(Type.LONG_CLASS);
53 public static final CstType INTEGER = intern(Type.INTEGER_CLASS);
56 public static final CstType SHORT = intern(Type.SHORT_CLASS);
59 public static final CstType VOID = intern(Type.VOID_CLASS);
62 public static final CstType BOOLEAN_ARRAY = intern(Type.BOOLEAN_ARRAY);
65 public static final CstType BYTE_ARRAY = intern(Type.BYTE_ARRAY);
68 public static final CstType CHAR_ARRAY = intern(Type.CHAR_ARRAY);
71 public static final CstType DOUBLE_ARRAY = intern(Type.DOUBLE_ARRAY);
74 public static final CstType FLOAT_ARRAY = intern(Type.FLOAT_ARRAY);
77 public static final CstType LONG_ARRAY = intern(Type.LONG_ARRAY);
80 public static final CstType INT_ARRAY = intern(Type.INT_ARRAY);
83 public static final CstType SHORT_ARRAY = intern(Type.SHORT_ARRAY);
103 public static CstType forBoxedPrimitiveType(Type primitiveType) {
125 public static CstType intern(Type type) {
126 CstType cst = interns.get(type);
129 cst = new CstType(type);
143 public static CstType intern(Class clazz) {
152 public CstType(Type type) {
169 if (!(other instanceof CstType)) {
173 return type == ((CstType) other).type;
186 String otherDescriptor = ((CstType) other).type.getDescriptor();