serp.bytecode
Class UnknownAttribute

java.lang.Object
  extended by serp.bytecode.Attributes
      extended by serp.bytecode.Attribute
          extended by serp.bytecode.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 Summary
 void acceptVisit(BCVisitor visit)
          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.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.



Copyright © 2002-2007. All Rights Reserved.