Class ClassWriter.Element

    • Constructor Summary

      Constructors 
      Constructor Description
      Element()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract int copyInto​(byte[] buf, int offset)
      Copy the bytes into 'buf' at offset 'offset'.
      abstract int getSize()  
      • Methods inherited from class java.lang.Object

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

      • Element

        public Element()
    • Method Detail

      • getSize

        public abstract int getSize()
        Returns:
        the number of bytes that will be generated.
      • copyInto

        public abstract int copyInto​(byte[] buf,
                                     int offset)
        Copy the bytes into 'buf' at offset 'offset'.
        Returns:
        the number of bytes copies, which must be equal to getSize()