public interface ISourceLocation
extends java.io.Serializable
SourceLocation
,
org.aspectj.compiler.base.parser.SourceInfo
,
org.aspectj.tools.ide.SourceLine
,
org.aspectj.testing.harness.ErrorLine
Modifier and Type | Field and Description |
---|---|
static ISourceLocation |
EMPTY
non-null but empty constant source location
|
static int |
MAX_COLUMN |
static int |
MAX_LINE |
static int |
NO_COLUMN
signal that column is not known
|
static java.io.File |
NO_FILE
non-null but empty (nonexisting) File constant
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
java.lang.String |
getContext() |
int |
getEndLine() |
int |
getLine() |
int |
getOffset() |
java.io.File |
getSourceFile() |
java.lang.String |
getSourceFileName()
In the cases where getSourceFile().getName() returns a class file (for example when we have a binary aspect) this should
return the name of the source file (for example BinaryAspect.aj)
|
static final int MAX_LINE
static final int MAX_COLUMN
static final java.io.File NO_FILE
static final int NO_COLUMN
static final ISourceLocation EMPTY
java.io.File getSourceFile()
int getLine()
int getColumn()
int getOffset()
int getEndLine()
java.lang.String getContext()
java.lang.String getSourceFileName()