Package serp.bytecode
Class UnknownAttribute
java.lang.Object
serp.bytecode.Attributes
serp.bytecode.Attribute
serp.bytecode.UnknownAttribute
- All Implemented Interfaces:
BCEntity
,VisitAcceptor
An unrecognized attribute; class files are allowed to contain
attributes that are not recognized, and the JVM must ignore them.
- Author:
- Abe White
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptVisit
(BCVisitor visit) Accept a visit from aBCVisitor
, 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.byte[]
getValue()
The value is of unknown content, so it is stored as a byte array.void
setValue
(byte[] value) The value is of unknown content, so it is stored as a byte array.Methods inherited from class serp.bytecode.Attribute
getClassLoader, getName, getNameIndex, getOwner, getPool, getProject, isValid
Methods inherited from class serp.bytecode.Attributes
addAttribute, addAttribute, clearAttributes, getAttribute, getAttributes, getAttributes, removeAttribute, removeAttribute, setAttributes
-
Method Details
-
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
Description copied from interface:VisitAcceptor
Accept a visit from aBCVisitor
, 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.
-