Top Fields Constructors Methods
org.aspectj.weaver.patterns

public abstract Class PatternNode

extends Object
implements IHasSourceLocation
Class Inheritance
All Implemented Interfaces
org.aspectj.weaver.IHasSourceLocation, org.aspectj.weaver.IHasPosition
Known Direct Subclasses
org.aspectj.weaver.patterns.TypePattern, org.aspectj.weaver.patterns.TypePatternList, org.aspectj.weaver.patterns.TypeVariablePattern, org.aspectj.weaver.patterns.TypeVariablePatternList, org.aspectj.weaver.patterns.AnnotationPatternList, org.aspectj.weaver.patterns.AnnotationTypePattern, org.aspectj.weaver.patterns.Pointcut, org.aspectj.weaver.patterns.SignaturePattern, org.aspectj.weaver.patterns.Declare, org.aspectj.weaver.patterns.ThrowsPattern, org.aspectj.weaver.patterns.ModifiersPattern, org.aspectj.weaver.patterns.NamePattern
Imports
java.io.DataInputStream, .DataOutputStream, .IOException, org.aspectj.bridge.ISourceLocation, org.aspectj.weaver.CompressingDataOutputStream, .IHasSourceLocation, .ISourceContext

Field Summary

Modifier and TypeField and Description
protected int
protected ISourceContext
protected int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract Object
public void
public int
getEnd()

Implements org.aspectj.weaver.IHasPosition.getEnd.

The ending index of this location in the character stream This points to the last character in this token.
public String
public ISourceContext
public ISourceLocation
public int
getStart()

Implements org.aspectj.weaver.IHasPosition.getStart.

The starting index of this location in the character stream.
public void
public void
setLocation(ISourceContext sourceContext, int start, int end)

public Object
public abstract void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

endback to summary
protected int end
sourceContextback to summary
protected ISourceContext sourceContext
startback to summary
protected int start

Constructor Detail

PatternNodeback to summary
public PatternNode()

Method Detail

acceptback to summary
public abstract Object accept(PatternNodeVisitor visitor, Object data)
copyLocationFromback to summary
public void copyLocationFrom(PatternNode other)
getEndback to summary
public int getEnd()

Implements org.aspectj.weaver.IHasPosition.getEnd.

Doc from org.aspectj.weaver.IHasPosition.getEnd.

The ending index of this location in the character stream This points to the last character in this token. If a location truly had no contents, then start == end + 1. We don't recommend this.

getFileNameback to summary
public String getFileName()
getSourceContextback to summary
public ISourceContext getSourceContext()

Implements org.aspectj.weaver.IHasSourceLocation.getSourceContext.

getSourceLocationback to summary
public ISourceLocation getSourceLocation()

Implements org.aspectj.weaver.IHasSourceLocation.getSourceLocation.

getStartback to summary
public int getStart()

Implements org.aspectj.weaver.IHasPosition.getStart.

Doc from org.aspectj.weaver.IHasPosition.getStart.

The starting index of this location in the character stream.

readLocationback to summary
public void readLocation(ISourceContext context, DataInputStream s) throws IOException
setLocationback to summary
public void setLocation(ISourceContext sourceContext, int start, int end)
traverseback to summary
public Object traverse(PatternNodeVisitor visitor, Object data)
writeback to summary
public abstract void write(CompressingDataOutputStream s) throws IOException
writeLocationback to summary
public void writeLocation(DataOutputStream s) throws IOException