ataspectj.reflect
Class BlockSourceLocation

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

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

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


Constructor Summary
BlockSourceLocation(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 block.
 java.lang.String getFileName()
          Returns the file name where the block is situated.
 int getLine()
          Returns the start line of the block.
 java.lang.Class getWithinType()
          Returns the owner type of the block.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockSourceLocation

public BlockSourceLocation(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 block.

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

getFileName

public java.lang.String getFileName()
Returns the file name where the block 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 block.

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 block.

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