org.aspectj.weaver
Class SourceContextImpl
java.lang.Object
org.aspectj.weaver.SourceContextImpl
- All Implemented Interfaces:
- ISourceContext
public class SourceContextImpl
- extends java.lang.Object
- implements ISourceContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNKNOWN_SOURCE_CONTEXT
public static final ISourceContext UNKNOWN_SOURCE_CONTEXT
SourceContextImpl
public SourceContextImpl(AbstractReferenceTypeDelegate delegate)
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