org.aspectj.ajdt.internal.compiler.ast
Class EclipseAttributeAdapter

java.lang.Object
  extended by org.aspectj.ajdt.internal.compiler.ast.EclipseAttributeAdapter
All Implemented Interfaces:
IAttribute

public class EclipseAttributeAdapter
extends java.lang.Object
implements IAttribute


Constructor Summary
EclipseAttributeAdapter(AjAttribute attr)
           
 
Method Summary
 byte[] getAllBytes(short nameIndex, ConstantPool constantPool)
           
 char[] getNameChars()
          Returns the name of the attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EclipseAttributeAdapter

public EclipseAttributeAdapter(AjAttribute attr)
Method Detail

getNameChars

public char[] getNameChars()
Description copied from interface: IAttribute
Returns the name of the attribute.

Specified by:
getNameChars in interface IAttribute

getAllBytes

public byte[] getAllBytes(short nameIndex,
                          ConstantPool constantPool)
Specified by:
getAllBytes in interface IAttribute
Parameters:
nameIndex - the index into this class's constant pool for this attribute's name.
Returns:
all of the bytes to represent this attribute in the .class file.