Klasse EclipseSourceLocation
java.lang.Object
org.aspectj.ajdt.internal.compiler.lookup.EclipseSourceLocation
- Alle implementierten Schnittstellen:
Serializable
,ISourceLocation
- Siehe auch:
-
Feldübersicht
Von Schnittstelle geerbte Felder org.aspectj.bridge.ISourceLocation
EMPTY, MAX_COLUMN, MAX_LINE, NO_COLUMN, NO_FILE
-
Konstruktorübersicht
-
Methodenübersicht
-
Konstruktordetails
-
EclipseSourceLocation
-
-
Methodendetails
-
getCompilationResult
-
getOffset
public int getOffset()- Angegeben von:
getOffset
in SchnittstelleISourceLocation
- Gibt zurück:
- offset into file
-
getStartPos
public int getStartPos() -
getEndPos
public int getEndPos() -
getSourceFile
- Angegeben von:
getSourceFile
in SchnittstelleISourceLocation
- Gibt zurück:
- File source or NO_FILE if the implementation requires a non-null result or null otherwise
-
getLine
public int getLine()- Angegeben von:
getLine
in SchnittstelleISourceLocation
- Gibt zurück:
- 0..MAX_LINE
-
getColumn
public int getColumn()- Angegeben von:
getColumn
in SchnittstelleISourceLocation
- Gibt zurück:
- int 0..MAX_COLUMN actual column or 0 if column input was ISourceLocation.NO_COLUMN
-
getEndLine
public int getEndLine()- Angegeben von:
getEndLine
in SchnittstelleISourceLocation
- Gibt zurück:
- getLine()..MAX_LINE
-
getContext
- Angegeben von:
getContext
in SchnittstelleISourceLocation
- Gibt zurück:
- String application-specific context for source
-
toString
-
hashCode
public int hashCode() -
equals
-
getSourceFileName
Beschreibung aus Schnittstelle kopiert:ISourceLocation
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)- Angegeben von:
getSourceFileName
in SchnittstelleISourceLocation
- Gibt zurück:
- the name of the source file
-