- /** Class representing Object types (any non-primitive type) */
- public static class Object extends Type {
- protected Object(String s) { super(_initHelper(s), _initHelper2(s)); }
- protected Object(String descriptor, String hr) { super(_initHelper(descriptor), _initHelper2(hr)); }
- public Type.Object asObject() { return this; }
- public boolean isObject() { return true; }
+ public static class Ref extends Type {
+ protected Ref(String descriptor) { super(descriptor); }
+ protected Ref(String descriptor, String humanReadable) { super(descriptor, humanReadable); }
+ public Type.Ref asRef() { return this; }
+ public boolean isRef() { return true; }
+ }
+
+ public static class Class extends Type.Ref {
+ protected Class(String s) { super(_initHelper(s), _initHelper2(s)); }
+ public Type.Class asClass() { return this; }
+ public boolean isClass() { return true; }