Class CopiedOverriddenMethod.CodeInfo

  • Enclosing class:
    CopiedOverriddenMethod

    static class CopiedOverriddenMethod.CodeInfo
    extends java.lang.Object
    represents of code bytes and access flag for a method
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int access  
      private org.apache.bcel.classfile.Code code  
      private java.util.Set<java.lang.String> exceptions  
    • Constructor Summary

      Constructors 
      Constructor Description
      CodeInfo​(org.apache.bcel.classfile.Code c, org.apache.bcel.classfile.ExceptionTable et, int acc)  
    • Field Detail

      • code

        private org.apache.bcel.classfile.Code code
      • exceptions

        private java.util.Set<java.lang.String> exceptions
      • access

        private int access
    • Constructor Detail

      • CodeInfo

        public CodeInfo​(org.apache.bcel.classfile.Code c,
                        org.apache.bcel.classfile.ExceptionTable et,
                        int acc)
    • Method Detail

      • getCode

        public org.apache.bcel.classfile.Code getCode()
      • removeException

        public void removeException​(java.lang.String ex)
      • hasExceptions

        public boolean hasExceptions()
      • getAccess

        public int getAccess()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object