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

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.BootstrapMethodsAttribute
All Implemented Interfaces:
IBootstrapMethodsAttribute, IClassFileAttribute

public class BootstrapMethodsAttribute
extends ClassFileAttribute
implements IBootstrapMethodsAttribute

Default implementation of IBootstrapMethodsAttribute.


Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
 
Constructor Summary
BootstrapMethodsAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset)
          Constructor for BootstrapMethodsAttribute.
 
Method Summary
 IBootstrapMethodsEntry[] getBootstrapMethods()
          Answer back the bootstrap methods table of this entry as specified in the JVM specifications.
 int getBootstrapMethodsLength()
          Answer back the number of bootstrap methods of this entry 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

BootstrapMethodsAttribute

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

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

getBootstrapMethods

public IBootstrapMethodsEntry[] getBootstrapMethods()
Description copied from interface: IBootstrapMethodsAttribute
Answer back the bootstrap methods table of this entry as specified in the JVM specifications. Answer an empty array if none.

Specified by:
getBootstrapMethods in interface IBootstrapMethodsAttribute
Returns:
the bootstrap methods table of this entry as specified in the JVM specifications. Answer an empty array if none
See Also:
IBootstrapMethodsAttribute.getBootstrapMethods()

getBootstrapMethodsLength

public int getBootstrapMethodsLength()
Description copied from interface: IBootstrapMethodsAttribute
Answer back the number of bootstrap methods of this entry as specified in the JVM specifications.

Specified by:
getBootstrapMethodsLength in interface IBootstrapMethodsAttribute
Returns:
the number of bootstrap methods of this entry as specified in the JVM specifications