org.aspectj.compiler.base.ast
Class SourceLocation

java.lang.Object
  extended byorg.aspectj.compiler.base.ast.SourceLocation
Direct Known Subclasses:
DummySourceLocation, SyntheticSourceLocation, TextSourceLocation

public abstract class SourceLocation
extends java.lang.Object


Constructor Summary
SourceLocation()
           
 
Method Summary
 void addComment(Comment _comment)
           
 void clearComment()
           
 boolean fromSource()
           
 int getBeginColumn()
           
 int getBeginLine()
           
 Comment getComment()
           
 CompilationUnit getCompilationUnit()
           
abstract  org.aspectj.compiler.base.JavaCompiler getCompiler()
           
 int getEndColumn()
           
 int getEndLine()
           
 int getEndPosition()
           
 java.lang.String getFormalComment()
           
 java.lang.String getSourceDirectoryName()
           
 java.io.File getSourceFile()
           
 java.lang.String getSourceFileName()
           
 ASTObject getSourceObject()
           
 int getStartPosition()
           
 boolean hasSource()
           
 boolean isSynthetic()
           
 void setFormalComment(java.lang.String comment)
           
 void showError(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceLocation

public SourceLocation()
Method Detail

getCompiler

public abstract org.aspectj.compiler.base.JavaCompiler getCompiler()

getStartPosition

public int getStartPosition()

getEndPosition

public int getEndPosition()

getBeginLine

public int getBeginLine()

getEndLine

public int getEndLine()

getBeginColumn

public int getBeginColumn()

getEndColumn

public int getEndColumn()

getComment

public Comment getComment()

addComment

public void addComment(Comment _comment)

clearComment

public void clearComment()

setFormalComment

public void setFormalComment(java.lang.String comment)

getFormalComment

public java.lang.String getFormalComment()

getCompilationUnit

public CompilationUnit getCompilationUnit()

getSourceFile

public java.io.File getSourceFile()

getSourceFileName

public java.lang.String getSourceFileName()

getSourceDirectoryName

public java.lang.String getSourceDirectoryName()

showError

public void showError(java.lang.String message)

hasSource

public boolean hasSource()

fromSource

public boolean fromSource()

isSynthetic

public boolean isSynthetic()

getSourceObject

public ASTObject getSourceObject()