org.aspectj.weaver
Class SourceContextImpl

java.lang.Object
  extended by org.aspectj.weaver.SourceContextImpl
All Implemented Interfaces:
ISourceContext

public class SourceContextImpl
extends java.lang.Object
implements ISourceContext


Field Summary
static ISourceContext UNKNOWN_SOURCE_CONTEXT
           
 
Constructor Summary
SourceContextImpl(AbstractReferenceTypeDelegate delegate)
           
 
Method Summary
 void configureFromAttribute(java.lang.String name, int[] linebreaks)
           
 int getOffset()
           
 ISourceLocation makeSourceLocation(IHasPosition position)
           
 ISourceLocation makeSourceLocation(int line, int offset)
           
 void setSourceFileName(java.lang.String name)
           
 void tidy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN_SOURCE_CONTEXT

public static final ISourceContext UNKNOWN_SOURCE_CONTEXT
Constructor Detail

SourceContextImpl

public SourceContextImpl(AbstractReferenceTypeDelegate delegate)
Method Detail

configureFromAttribute

public void configureFromAttribute(java.lang.String name,
                                   int[] linebreaks)

setSourceFileName

public void setSourceFileName(java.lang.String name)

tidy

public void tidy()
Specified by:
tidy in interface ISourceContext

getOffset

public int getOffset()
Specified by:
getOffset in interface ISourceContext

makeSourceLocation

public ISourceLocation makeSourceLocation(IHasPosition position)
Specified by:
makeSourceLocation in interface ISourceContext

makeSourceLocation

public ISourceLocation makeSourceLocation(int line,
                                          int offset)
Specified by:
makeSourceLocation in interface ISourceContext