Logo Search packages:      
Sourcecode: aspectj version File versions  Download package

org::aspectj::bridge::SourceLocation Class Reference

Inheritance diagram for org::aspectj::bridge::SourceLocation:


List of all members.

Detailed Description

Immutable source location. This guarantees that the source file is not null and that the numeric values are positive and line <= endLine.

See also:




Definition at line 29 of file SourceLocation.java.

Public Member Functions

boolean equals (Object obj)
int getColumn ()
String getContext ()
int getEndLine ()
int getLine ()
int getOffset ()
File getSourceFile ()
String getSourceFileName ()
int hashCode ()
void setOffset (int i)
 SourceLocation (File file, int line, int endLine, int column, String context, String sourceFileName)
 SourceLocation (File file, int line, int endLine, int column, String context)
 SourceLocation (File file, int line, int endLine, int column)
 SourceLocation (File file, int line, int endLine)
 SourceLocation (File file, int line)
String toString ()

Static Public Member Functions

static final void validColumn (int column)
static final void validLine (int line)

Static Public Attributes

static final ISourceLocation EMPTY = new SourceLocation(NO_FILE, 0, 0, 0)
static final int MAX_COLUMN = MAX_LINE
static final int NO_COLUMN = Integer.MIN_VALUE + 1
static final File NO_FILE = new File("ISourceLocation.NO_FILE")
static final ISourceLocation UNKNOWN = new SourceLocation(ISourceLocation.NO_FILE, 0, 0, 0)

Static Package Attributes

static final int MAX_LINE = Integer.MAX_VALUE / 2

Private Attributes

transient int cachedHashcode = -1
final int column
final String context
final int endLine
boolean noColumn
int offset
final File sourceFile
String sourceFileName
final int startLine

Static Private Attributes

static final long serialVersionUID = -5434765814401009794L

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index