Package serp.bytecode

Class UnknownAttribute

  • All Implemented Interfaces:
    BCEntity, VisitAcceptor

    public class UnknownAttribute
    extends Attribute
    An unrecognized attribute; class files are allowed to contain attributes that are not recognized, and the JVM must ignore them.
    Author:
    Abe White
    • Method Detail

      • getValue

        public byte[] getValue()
        The value is of unknown content, so it is stored as a byte array.
      • setValue

        public void setValue​(byte[] value)
        The value is of unknown content, so it is stored as a byte array.
      • acceptVisit

        public void acceptVisit​(BCVisitor visit)
        Description copied from interface: VisitAcceptor
        Accept a visit from a BCVisitor, calling the appropriate methods to notify the visitor that it has entered this entity, and to provide it with the proper callbacks for each sub-entity owned by this one.