com.caucho.bytecode
Class OpaqueAttribute

java.lang.Object
  extended by com.caucho.bytecode.Attribute
      extended by com.caucho.bytecode.OpaqueAttribute

public class OpaqueAttribute
extends Attribute

Represents a generic attribute


Method Summary
 Attribute export(JavaClass cl, JavaClass target)
          Clones the attribute
 byte[] getValue()
          Gets the opaque value.
 void setValue(byte[] value)
          Sets the opaque value.
 java.lang.String toString()
           
 void write(ByteCodeWriter out)
          Writes the field to the output.
 
Methods inherited from class com.caucho.bytecode.Attribute
addConstants, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setValue

public void setValue(byte[] value)
Sets the opaque value.


getValue

public byte[] getValue()
Gets the opaque value.


write

public void write(ByteCodeWriter out)
           throws java.io.IOException
Writes the field to the output.

Specified by:
write in class Attribute
Throws:
java.io.IOException

export

public Attribute export(JavaClass cl,
                        JavaClass target)
Clones the attribute

Overrides:
export in class Attribute

toString

public java.lang.String toString()
Overrides:
toString in class Attribute