Lines Matching defs:CstType

26 public final class CstType extends TypedConstant {
33 private static final ConcurrentMap<Type, CstType> interns =
37 public static final CstType OBJECT = new CstType(Type.OBJECT);
40 public static final CstType BOOLEAN = new CstType(Type.BOOLEAN_CLASS);
43 public static final CstType BYTE = new CstType(Type.BYTE_CLASS);
46 public static final CstType CHARACTER = new CstType(Type.CHARACTER_CLASS);
49 public static final CstType DOUBLE = new CstType(Type.DOUBLE_CLASS);
52 public static final CstType FLOAT = new CstType(Type.FLOAT_CLASS);
55 public static final CstType LONG = new CstType(Type.LONG_CLASS);
58 public static final CstType INTEGER = new CstType(Type.INTEGER_CLASS);
61 public static final CstType SHORT = new CstType(Type.SHORT_CLASS);
64 public static final CstType VOID = new CstType(Type.VOID_CLASS);
67 public static final CstType BOOLEAN_ARRAY = new CstType(Type.BOOLEAN_ARRAY);
70 public static final CstType BYTE_ARRAY = new CstType(Type.BYTE_ARRAY);
73 public static final CstType CHAR_ARRAY = new CstType(Type.CHAR_ARRAY);
76 public static final CstType DOUBLE_ARRAY = new CstType(Type.DOUBLE_ARRAY);
79 public static final CstType FLOAT_ARRAY = new CstType(Type.FLOAT_ARRAY);
82 public static final CstType LONG_ARRAY = new CstType(Type.LONG_ARRAY);
85 public static final CstType INT_ARRAY = new CstType(Type.INT_ARRAY);
88 public static final CstType SHORT_ARRAY = new CstType(Type.SHORT_ARRAY);
93 public static final CstType METHOD_HANDLE = new CstType(Type.METHOD_HANDLE);
98 public static final CstType VAR_HANDLE = new CstType(Type.VAR_HANDLE);
126 private static void internInitial(CstType cst) {
151 public static CstType forBoxedPrimitiveType(Type primitiveType) {
173 public static CstType intern(Type type) {
174 CstType cst = new CstType(type);
175 CstType result = interns.putIfAbsent(type, cst);
184 public CstType(Type type) {
201 if (!(other instanceof CstType)) {
205 return type == ((CstType) other).type;
218 String otherDescriptor = ((CstType) other).type.getDescriptor();