public class Relocator extends Visitor
| Modifier and Type | Field and Description |
|---|---|
protected int |
baseLine
The line of the last line marker.
|
protected java.lang.String |
markedFile
The currently marked file.
|
protected int |
markedLine
The currently marked line.
|
| Constructor and Description |
|---|
Relocator()
Create a new relocator.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
relocate(Node n)
Relocate the specified node.
|
Annotation |
visit(Annotation a)
Process the specified annotation.
|
Node |
visit(LineMarker m)
Process the specified line marker.
|
Node |
visit(Node n)
Process the specified node.
|
dispatch, equals, hashCode, iterate, map, mapInPlace, unableToVisitprotected java.lang.String markedFile
protected int markedLine
protected int baseLine
protected void relocate(Node n)
n - The node.public Annotation visit(Annotation a)
public Node visit(LineMarker m)
Copyright © 2014. All Rights Reserved.