Package org.aspectj.weaver
Class SourceContextImpl
- java.lang.Object
-
- org.aspectj.weaver.SourceContextImpl
-
- All Implemented Interfaces:
ISourceContext
public class SourceContextImpl extends Object implements ISourceContext
-
-
Field Summary
Fields Modifier and Type Field Description static ISourceContextUNKNOWN_SOURCE_CONTEXT
-
Constructor Summary
Constructors Constructor Description SourceContextImpl(AbstractReferenceTypeDelegate delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureFromAttribute(String name, int[] linebreaks)intgetOffset()ISourceLocationmakeSourceLocation(int line, int offset)ISourceLocationmakeSourceLocation(IHasPosition position)voidsetSourceFileName(String name)voidtidy()
-
-
-
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(String name, int[] linebreaks)
-
setSourceFileName
public void setSourceFileName(String name)
-
tidy
public void tidy()
- Specified by:
tidyin interfaceISourceContext
-
getOffset
public int getOffset()
- Specified by:
getOffsetin interfaceISourceContext
-
makeSourceLocation
public ISourceLocation makeSourceLocation(IHasPosition position)
- Specified by:
makeSourceLocationin interfaceISourceContext
-
makeSourceLocation
public ISourceLocation makeSourceLocation(int line, int offset)
- Specified by:
makeSourceLocationin interfaceISourceContext
-
-