Lines Matching refs:Type

72 public class Type {
132 public static final Type VOID_TYPE = new Type(VOID);
137 public static final Type BOOLEAN_TYPE = new Type(BOOLEAN);
142 public static final Type CHAR_TYPE = new Type(CHAR);
147 public static final Type BYTE_TYPE = new Type(BYTE);
152 public static final Type SHORT_TYPE = new Type(SHORT);
157 public static final Type INT_TYPE = new Type(INT);
162 public static final Type FLOAT_TYPE = new Type(FLOAT);
167 public static final Type LONG_TYPE = new Type(LONG);
172 public static final Type DOUBLE_TYPE = new Type(DOUBLE);
210 private Type(final int sort) {
222 private Type(final int sort, final char[] buf, final int off, final int len)
236 public static Type getType(final String typeDescriptor) {
246 public static Type getObjectType(final String internalName) {
248 return new Type(buf[0] == '[' ? ARRAY : OBJECT, buf, 0, buf.length);
257 public static Type getType(final Class c) {
291 public static Type[] getArgumentTypes(final String methodDescriptor) {
307 Type[] args = new Type[size];
326 public static Type[] getArgumentTypes(final Method method) {
328 Type[] types = new Type[classes.length];
343 public static Type getReturnType(final String methodDescriptor) {
356 public static Type getReturnType(final Method method) {
367 private static Type getType(final char[] buf, final int off) {
399 return new Type(ARRAY, buf, off, len + 1);
406 return new Type(OBJECT, buf, off + 1, len - 1);
447 public Type getElementType() {
525 final Type returnType,
526 final Type[] argumentTypes)
586 // without intermediate Type objects
781 if (!(o instanceof Type)) {
784 Type t = (Type) o;