Class ClassFileMethod


  • final class ClassFileMethod
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassFileMethod​(java.lang.String name, short nameIndex, java.lang.String type, short typeIndex, short flags)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) short getFlags()  
      (package private) java.lang.String getName()  
      (package private) java.lang.String getType()  
      (package private) int getWriteSize()  
      (package private) void setCodeAttribute​(byte[] codeAttribute)  
      (package private) int write​(byte[] data, int offset)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • itsName

        private java.lang.String itsName
      • itsType

        private java.lang.String itsType
      • itsNameIndex

        private short itsNameIndex
      • itsTypeIndex

        private short itsTypeIndex
      • itsFlags

        private short itsFlags
      • itsCodeAttribute

        private byte[] itsCodeAttribute
    • Constructor Detail

      • ClassFileMethod

        ClassFileMethod​(java.lang.String name,
                        short nameIndex,
                        java.lang.String type,
                        short typeIndex,
                        short flags)
    • Method Detail

      • setCodeAttribute

        void setCodeAttribute​(byte[] codeAttribute)
      • write

        int write​(byte[] data,
                  int offset)
      • getWriteSize

        int getWriteSize()
      • getName

        java.lang.String getName()
      • getType

        java.lang.String getType()
      • getFlags

        short getFlags()