CodeGenerator(MethodBuilder method) {
     this.instructions = new ArrayList<Instruction>();
     this.method = method;
     this.scopes = new ArrayList<ScopeInfo>();
     this.locals = new ArrayList<LocalInfo>();
     this.exceptionTable = new ArrayList<ExceptionHandler>();
     this.lineNumbers = new ArrayList<LineNumberInfo>();
 }
 public void undefineMethod(MethodBuilder method) {
     checkCreated();
     methods.remove(method);
 }
 public void defineMethod(MethodBuilder method) {
     checkCreated();
     method.declaringType = this;
 	methods.add(method);
 }
 public MethodBuilder defineMethod(String name) {
     checkCreated();
     var method = new MethodBuilder(this, name);
     methods.add(method);
     return method;
 }
     : super(position, type) {
     this.method = method;
     this.annotations = new ArrayList<AnnotationValue>();
 }
 ParameterBuilder(MethodBuilder method, int position, TypeInfo type)
     : super(position, type) {