in modules/privilizer/weaver/src/main/java/org/apache/commons/weaver/privilizer/ActionGenerator.java [211:227]
private void impl() {
final Method run = Method.getMethod("Object run()");
final GeneratorAdapter mgen = new GeneratorAdapter(Opcodes.ACC_PUBLIC, run, null, exceptions, this);
for (final Field field : fields) {
mgen.loadThis();
mgen.getField(action, field.name, field.type);
}
mgen.invokeStatic(owner.target, helper);
if (methd.getReturnType().getSort() < Type.ARRAY) {
mgen.valueOf(methd.getReturnType());
}
mgen.returnValue();
mgen.endMethod();
}