private void emit_type(int opcode, Type type) { String desc; if (TypeUtils.isArray(type)) { desc = type.getDescriptor(); } else { desc = type.getInternalName(); } mv.visitTypeInsn(opcode, desc); }
public static Type getComponentType(Type type) { if (!isArray(type)) { throw new IllegalArgumentException("Type " + type + " is not an array"); } return Type.getType(type.getDescriptor().substring(1)); }
public static Type getComponentType(Type type) { if (!isArray(type)) { throw new IllegalArgumentException("Type " + type + " is not an array"); } return Type.getType(type.getDescriptor().substring(1)); }
private void emit_type(int opcode, Type type) { String desc; if (TypeUtils.isArray(type)) { desc = type.getDescriptor(); } else { desc = type.getInternalName(); } mv.visitTypeInsn(opcode, desc); }
public static String emulateClassGetName(Type type) { if (isArray(type)) { return type.getDescriptor().replace('/', '.'); } else { return getClassName(type); } }
public static String emulateClassGetName(Type type) { if (isArray(type)) { return type.getDescriptor().replace('/', '.'); } else { return getClassName(type); } }
public static String getClassName(Type type) { if (isPrimitive(type)) { return (String)rtransforms.get(type.getDescriptor()); } else if (isArray(type)) { return getClassName(getComponentType(type)) + "[]"; } else { return type.getClassName(); } }
public static String getClassName(Type type) { if (isPrimitive(type)) { return (String)rtransforms.get(type.getDescriptor()); } else if (isArray(type)) { return getClassName(getComponentType(type)) + "[]"; } else { return type.getClassName(); } }
public static void hash_code(CodeEmitter e, Type type, int multiplier, final CustomizerRegistry registry) { if (TypeUtils.isArray(type)) { hash_array(e, type, multiplier, registry); } else { e.swap(Type.INT_TYPE, type); e.push(multiplier); e.math(e.MUL, Type.INT_TYPE); e.swap(type, Type.INT_TYPE); if (TypeUtils.isPrimitive(type)) { hash_primitive(e, type); } else { hash_object(e, type, registry); } e.math(e.ADD, Type.INT_TYPE); } }
public static void hash_code(CodeEmitter e, Type type, int multiplier, final CustomizerRegistry registry) { if (TypeUtils.isArray(type)) { hash_array(e, type, multiplier, registry); } else { e.swap(Type.INT_TYPE, type); e.push(multiplier); e.math(e.MUL, Type.INT_TYPE); e.swap(type, Type.INT_TYPE); if (TypeUtils.isPrimitive(type)) { hash_primitive(e, type); } else { hash_object(e, type, registry); } e.math(e.ADD, Type.INT_TYPE); } }
Label end = e.make_label(); nullcmp(e, notEquals, end); if (TypeUtils.isArray(type)) { Label checkContents = e.make_label(); e.dup2();
Label end = e.make_label(); nullcmp(e, notEquals, end); if (TypeUtils.isArray(type)) { Label checkContents = e.make_label(); e.dup2();
break; } else if (TypeUtils.isArray(type)) { e.dup(); e.ifnull(skip);
break; } else if (TypeUtils.isArray(type)) { e.dup(); e.ifnull(skip);
private void emit_type(int opcode, Type type) { String desc; if (TypeUtils.isArray(type)) { desc = type.getDescriptor(); } else { desc = type.getInternalName(); } mv.visitTypeInsn(opcode, desc); }
private void emit_type(int opcode, Type type) { String desc; if (TypeUtils.isArray(type)) { desc = type.getDescriptor(); } else { desc = type.getInternalName(); } mv.visitTypeInsn(opcode, desc); }
public static Type getComponentType(Type type) { if (!isArray(type)) { throw new IllegalArgumentException("Type " + type + " is not an array"); } return Type.getType(type.getDescriptor().substring(1)); }
public static Type getComponentType(Type type) { if (!isArray(type)) { throw new IllegalArgumentException("Type " + type + " is not an array"); } return Type.getType(type.getDescriptor().substring(1)); }
public static String emulateClassGetName(Type type) { if (isArray(type)) { return type.getDescriptor().replace('/', '.'); } else { return getClassName(type); } }
public static String getClassName(Type type) { if (isPrimitive(type)) { return (String)rtransforms.get(type.getDescriptor()); } else if (isArray(type)) { return getClassName(getComponentType(type)) + "[]"; } else { return type.getClassName(); } }