@Override public void visitParameter(String parameterName, int access) { buf.setLength(0); buf.append(name).append(".visitParameter("); appendString(buf, parameterName); buf.append(", "); appendAccess(access); text.add(buf.append(");\n").toString()); }
@Override public void visitInnerClass(final String name, final String outerName, final String innerName, final int access) { buf.setLength(0); buf.append("cw.visitInnerClass("); appendConstant(name); buf.append(", "); appendConstant(outerName); buf.append(", "); appendConstant(innerName); buf.append(", "); appendAccess(access | ACCESS_INNER); buf.append(");\n\n"); text.add(buf.toString()); }
@Override public ASMifier visitField(final int access, final String name, final String desc, final String signature, final Object value) { buf.setLength(0); buf.append("{\n"); buf.append("fv = cw.visitField("); appendAccess(access | ACCESS_FIELD); buf.append(", "); appendConstant(name); buf.append(", "); appendConstant(desc); buf.append(", "); appendConstant(signature); buf.append(", "); appendConstant(value); buf.append(");\n"); text.add(buf.toString()); ASMifier a = createASMifier("fv", 0); text.add(a.getText()); text.add("}\n"); return a; }
buf.append("{\n"); buf.append("mv = cw.visitMethod("); appendAccess(access); buf.append(", "); appendConstant(name);
appendAccess(access | ACCESS_CLASS); buf.append(", "); appendConstant(name);