com.ibm.wala.shrikeCT
Class SourceFileReader

java.lang.Object
  extended by com.ibm.wala.shrikeCT.AttributeReader
      extended by com.ibm.wala.shrikeCT.SourceFileReader

public final class SourceFileReader
extends AttributeReader

This class reads SourceFile attributes.


Field Summary
 
Fields inherited from class com.ibm.wala.shrikeCT.AttributeReader
attr, cr, length
 
Constructor Summary
SourceFileReader(ClassReader.AttrIterator iter)
          Build a reader for the attribute 'iter'.
 
Method Summary
 int getSourceFileCPIndex()
           
 
Methods inherited from class com.ibm.wala.shrikeCT.AttributeReader
checkSize, checkSizeEquals, getClassReader, getRawOffset, getRawSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceFileReader

public SourceFileReader(ClassReader.AttrIterator iter)
                 throws InvalidClassFileException
Build a reader for the attribute 'iter'.

Throws:
InvalidClassFileException
Method Detail

getSourceFileCPIndex

public int getSourceFileCPIndex()
Returns:
the index of the constant pool item holding the value