// method is done, declare all variables
variableCompiler.declareLocals(scope, scopeStart, scopeEnd);
// Define the annotation for the method
AnnotationVisitor annotation = method.visitAnnotation(ci(JRubyMethod.class), true);
annotation.visit("name", rubyName);
annotation.visit("frame", true);
annotation.visit("required", scope.getRequiredArgs());
annotation.visit("optional", scope.getOptionalArgs());
annotation.visit("rest", scope.getRestArg());
// TODO: reads/writes from frame