Class ConstantPool

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ConstantPool
All Implemented Interfaces:
IConstantPool

public class ConstantPool extends ClassFileStruct implements IConstantPool
Default implementation of IConstantPool.
  • Method Summary

    Modifier and Type
    Method
    Description
    decodeEntry(int index)
    Answer back the entry at the given index in the constant pool.
    int
    Answer back the number of entries in the constant pool.
    int
    getEntryKind(int index)
    Answer back the type of the entry at the given index in the constant pool.

    Methods inherited from class ClassFileStruct

    doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
    Modifier and Type
    Method
    Description
    protected double
    doubleAt(byte[] reference, int relativeOffset, int structOffset)
     
    protected float
    floatAt(byte[] reference, int relativeOffset, int structOffset)
     
    protected int
    i1At(byte[] reference, int relativeOffset, int structOffset)
     
    protected int
    i2At(byte[] reference, int relativeOffset, int structOffset)
     
    protected int
    i4At(byte[] reference, int relativeOffset, int structOffset)
     
    protected long
    i8At(byte[] reference, int relativeOffset, int structOffset)
     
    protected int
    u1At(byte[] reference, int relativeOffset, int structOffset)
     
    protected int
    u2At(byte[] reference, int relativeOffset, int structOffset)
     
    protected int
    u4At(byte[] reference, int relativeOffset, int structOffset)
    Returns an 32 bit integer created of 4 bytes.
    protected char[]
    utf8At(byte[] reference, int relativeOffset, int structOffset, int bytesAvailable)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait