org.eclipse.jdt.internal.core.util
Class SourceFileAttribute

java.lang.Object
  extended by org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.eclipse.jdt.internal.core.util.ClassFileAttribute
          extended by org.eclipse.jdt.internal.core.util.SourceFileAttribute

public class SourceFileAttribute
extends ClassFileAttribute

Default implementation of ISourceAttribute


Field Summary
 
Fields inherited from class org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
 
Constructor Summary
SourceFileAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset)
          Constructor for SourceFileAttribute.
 
Method Summary
 int getSourceFileIndex()
           
 char[] getSourceFileName()
           
 
Methods inherited from class org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 
Methods inherited from class 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
 

Constructor Detail

SourceFileAttribute

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

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

getSourceFileIndex

public int getSourceFileIndex()
See Also:
ISourceAttribute#getSourceFileIndex()

getSourceFileName

public char[] getSourceFileName()
See Also:
ISourceAttribute#getSourceFileName()