private static void hash_array(final CodeEmitter e, Type type, final int multiplier, final CustomizerRegistry registry) { Label skip = e.make_label(); Label end = e.make_label(); e.dup(); e.ifnull(skip); EmitUtils.process_array(e, type, new ProcessArrayCallback() { public void processElement(Type type) { hash_code(e, type, multiplier, registry); } }); e.goTo(end); e.mark(skip); e.pop(); e.mark(end); }
private static void hash_array(final CodeEmitter e, Type type, final int multiplier, final CustomizerRegistry registry) { Label skip = e.make_label(); Label end = e.make_label(); e.dup(); e.ifnull(skip); EmitUtils.process_array(e, type, new ProcessArrayCallback() { public void processElement(Type type) { hash_code(e, type, multiplier, registry); } }); e.goTo(end); e.mark(skip); e.pop(); e.mark(end); }
e.super_getfield("targets", Constants.TYPE_OBJECT_ARRAY); final Local result2 = result; EmitUtils.process_array(e, Constants.TYPE_OBJECT_ARRAY, new ProcessArrayCallback() { public void processElement(Type type) { e.checkcast(Type.getType(iface));
e.super_getfield("targets", Constants.TYPE_OBJECT_ARRAY); final Local result2 = result; EmitUtils.process_array(e, Constants.TYPE_OBJECT_ARRAY, new ProcessArrayCallback() { public void processElement(Type type) { e.checkcast(Type.getType(iface));
e.swap(); EmitUtils.process_array(e, type, callback); shrinkStringBuffer(e, 2); if (delims != null && delims.after != null && !"".equals(delims.after)) {
e.swap(); EmitUtils.process_array(e, type, callback); shrinkStringBuffer(e, 2); if (delims != null && delims.after != null && !"".equals(delims.after)) {
private static void hash_array(final CodeEmitter e, Type type, final int multiplier, final Customizer customizer) { Label skip = e.make_label(); Label end = e.make_label(); e.dup(); e.ifnull(skip); EmitUtils.process_array(e, type, new ProcessArrayCallback() { public void processElement(Type type) { hash_code(e, type, multiplier, customizer); } }); e.goTo(end); e.mark(skip); e.pop(); e.mark(end); }
private static void hash_array(final CodeEmitter e, Type type, final int multiplier, final Customizer customizer) { Label skip = e.make_label(); Label end = e.make_label(); e.dup(); e.ifnull(skip); EmitUtils.process_array(e, type, new ProcessArrayCallback() { public void processElement(Type type) { hash_code(e, type, multiplier, customizer); } }); e.goTo(end); e.mark(skip); e.pop(); e.mark(end); }
private static void hash_array(final CodeEmitter e, Type type, final int multiplier, final Customizer customizer) { Label skip = e.make_label(); Label end = e.make_label(); e.dup(); e.ifnull(skip); EmitUtils.process_array(e, type, new ProcessArrayCallback() { public void processElement(Type type) { hash_code(e, type, multiplier, customizer); } }); e.goTo(end); e.mark(skip); e.pop(); e.mark(end); }
private void emitProxy(ClassEmitter ce, final MethodInfo method) { final CodeEmitter e = EmitUtils.begin_method(ce, method, Constants.ACC_PUBLIC); Type returnType = method.getSignature().getReturnType(); final boolean returns = returnType != Type.VOID_TYPE; Local result = null; if (returns) { result = e.make_local(returnType); e.zero_or_null(returnType); e.store_local(result); } e.load_this(); e.super_getfield("targets", Constants.TYPE_OBJECT_ARRAY); final Local result2 = result; EmitUtils.process_array(e, Constants.TYPE_OBJECT_ARRAY, new ProcessArrayCallback() { public void processElement(Type type) { e.checkcast(Type.getType(iface)); e.load_args(); e.invoke(method); if (returns) { e.store_local(result2); } } }); if (returns) { e.load_local(result); } e.return_value(); e.end_method(); }
private void emitProxy(ClassEmitter ce, final MethodInfo method) { final CodeEmitter e = EmitUtils.begin_method(ce, method, Constants.ACC_PUBLIC); Type returnType = method.getSignature().getReturnType(); final boolean returns = returnType != Type.VOID_TYPE; Local result = null; if (returns) { result = e.make_local(returnType); e.zero_or_null(returnType); e.store_local(result); } e.load_this(); e.super_getfield("targets", Constants.TYPE_OBJECT_ARRAY); final Local result2 = result; EmitUtils.process_array(e, Constants.TYPE_OBJECT_ARRAY, new ProcessArrayCallback() { public void processElement(Type type) { e.checkcast(Type.getType(iface)); e.load_args(); e.invoke(method); if (returns) { e.store_local(result2); } } }); if (returns) { e.load_local(result); } e.return_value(); e.end_method(); }
private void emitProxy(ClassEmitter ce, final MethodInfo method) { final CodeEmitter e = EmitUtils.begin_method(ce, method, Constants.ACC_PUBLIC); Type returnType = method.getSignature().getReturnType(); final boolean returns = returnType != Type.VOID_TYPE; Local result = null; if (returns) { result = e.make_local(returnType); e.zero_or_null(returnType); e.store_local(result); } e.load_this(); e.super_getfield("targets", Constants.TYPE_OBJECT_ARRAY); final Local result2 = result; EmitUtils.process_array(e, Constants.TYPE_OBJECT_ARRAY, new ProcessArrayCallback() { public void processElement(Type type) { e.checkcast(Type.getType(iface)); e.load_args(); e.invoke(method); if (returns) { e.store_local(result2); } } }); if (returns) { e.load_local(result); } e.return_value(); e.end_method(); }
e.swap(); EmitUtils.process_array(e, type, callback); shrinkStringBuffer(e, 2); if (delims != null && delims.after != null && !"".equals(delims.after)) {
e.swap(); EmitUtils.process_array(e, type, callback); shrinkStringBuffer(e, 2); if (delims != null && delims.after != null && !"".equals(delims.after)) {
e.swap(); EmitUtils.process_array(e, type, callback); shrinkStringBuffer(e, 2); if (delims != null && delims.after != null && !"".equals(delims.after)) {