org.aspectj.org.eclipse.jdt.internal.core.util
Class StackMapAttribute

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
          extended by org.aspectj.org.eclipse.jdt.internal.core.util.StackMapAttribute
All Implemented Interfaces:
IClassFileAttribute, IStackMapAttribute

public class StackMapAttribute
extends ClassFileAttribute
implements IStackMapAttribute

Default implementation of IStackMapAttribute.

See Also:
IStackMapAttribute

Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
 
Constructor Summary
StackMapAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset)
          Constructor for LineNumberAttribute.
 
Method Summary
 byte[] getBytes()
           
 int getNumberOfEntries()
          Answer back the number of stack map frames of this atribute as specified in the JVM specifications.
 IStackMapFrame[] getStackMapFrame()
          Answer back the stack map frames for this attribute as specified in the JVM specifications.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 

Constructor Detail

StackMapAttribute

public StackMapAttribute(byte[] classFileBytes,
                         IConstantPool constantPool,
                         int offset)
                  throws ClassFormatException
Constructor for LineNumberAttribute.

Parameters:
classFileBytes -
constantPool -
offset -
Throws:
ClassFormatException
Method Detail

getNumberOfEntries

public int getNumberOfEntries()
Description copied from interface: IStackMapAttribute
Answer back the number of stack map frames of this atribute as specified in the JVM specifications.

Specified by:
getNumberOfEntries in interface IStackMapAttribute
Returns:
the number of stack map frames of this atribute as specified in the JVM specifications

getStackMapFrame

public IStackMapFrame[] getStackMapFrame()
Description copied from interface: IStackMapAttribute
Answer back the stack map frames for this attribute as specified in the JVM specifications.

Specified by:
getStackMapFrame in interface IStackMapAttribute
Returns:
the stack map frames for this attribute as specified in the JVM specifications

getBytes

public byte[] getBytes()