Class MethodGen

    • Method Detail

      • getHighestlinenumber

        public int getHighestlinenumber()
      • removeLocalVariables

        public void removeLocalVariables()
      • removeLineNumber

        public void removeLineNumber​(LineNumberGen l)
      • removeLineNumbers

        public void removeLineNumbers()
      • removeExceptionHandler

        public void removeExceptionHandler​(CodeExceptionGen c)
      • removeExceptionHandlers

        public void removeExceptionHandlers()
      • addException

        public void addException​(String class_name)
      • removeException

        public void removeException​(String c)
      • removeExceptions

        public void removeExceptions()
      • getExceptions

        public String[] getExceptions()
      • addCodeAttribute

        public void addCodeAttribute​(Attribute a)
      • addParameterAnnotationsAsAttribute

        public void addParameterAnnotationsAsAttribute​(ConstantPool cp)
      • removeCodeAttribute

        public void removeCodeAttribute​(Attribute a)
      • removeCodeAttributes

        public void removeCodeAttributes()
      • getCodeAttributes

        public Attribute[] getCodeAttributes()
      • getMethod

        public Method getMethod()
      • setMaxLocals

        public void setMaxLocals​(int m)
      • getMaxLocals

        public int getMaxLocals()
      • setMaxStack

        public void setMaxStack​(int m)
      • getMaxStack

        public int getMaxStack()
      • getClassName

        public String getClassName()
      • setClassName

        public void setClassName​(String class_name)
      • setReturnType

        public void setReturnType​(Type return_type)
      • getReturnType

        public Type getReturnType()
      • setArgumentTypes

        public void setArgumentTypes​(Type[] arg_types)
      • getArgumentTypes

        public Type[] getArgumentTypes()
      • setArgumentType

        public void setArgumentType​(int i,
                                    Type type)
      • getArgumentType

        public Type getArgumentType​(int i)
      • setArgumentNames

        public void setArgumentNames​(String[] arg_names)
      • getArgumentNames

        public String[] getArgumentNames()
      • setArgumentName

        public void setArgumentName​(int i,
                                    String name)
      • getArgumentName

        public String getArgumentName​(int i)
      • setInstructionList

        public void setInstructionList​(InstructionList il)
      • setMaxStack

        public void setMaxStack()
      • setMaxLocals

        public void setMaxLocals()
      • setMaxLocals

        public void setMaxLocals​(boolean respectLocalVariableTable)
      • stripAttributes

        public void stripAttributes​(boolean flag)
      • getAnnotationsOnParameter

        public List<AnnotationGen> getAnnotationsOnParameter​(int i)
      • addParameterAnnotation

        public void addParameterAnnotation​(int parameterIndex,
                                           AnnotationGen annotation)