ataspectj.reflect
Class ExprSourceLocation

java.lang.Object
  extended by ataspectj.reflect.ExprSourceLocation
All Implemented Interfaces:
org.aspectj.lang.reflect.SourceLocation

public class ExprSourceLocation
extends java.lang.Object
implements org.aspectj.lang.reflect.SourceLocation

For defining code, the expression annotated and location in a source file.


Constructor Summary
ExprSourceLocation(int col, java.lang.String className, int line, java.lang.Class type)
          The Constructor of the class.
 
Method Summary
 int getColumn()
          Returns the start column of the expression.
 java.lang.String getFileName()
          Returns the file name where the expression is situated.
 int getLine()
          Returns the start line of the expression.
 java.lang.Class getWithinType()
          Returns the owner type of the exprssion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprSourceLocation

public ExprSourceLocation(int col,
                          java.lang.String className,
                          int line,
                          java.lang.Class type)
The Constructor of the class.

Parameters:
col - the start column.
className - the name of the owner type.
line - the start line.
type - the owner type.
Method Detail

getColumn

public int getColumn()
Returns the start column of the expression.

Specified by:
getColumn in interface org.aspectj.lang.reflect.SourceLocation
Returns:
int the start expression.

getFileName

public java.lang.String getFileName()
Returns the file name where the expression is situated.

Specified by:
getFileName in interface org.aspectj.lang.reflect.SourceLocation
Returns:
int the file name.

getLine

public int getLine()
Returns the start line of the expression.

Specified by:
getLine in interface org.aspectj.lang.reflect.SourceLocation
Returns:
int the start line.

getWithinType

public java.lang.Class getWithinType()
Returns the owner type of the exprssion.

Specified by:
getWithinType in interface org.aspectj.lang.reflect.SourceLocation
Returns:
int the owner type.