|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prorefactor.refactor.substitute.SubstituteLint
public class SubstituteLint
Find PLUS nodes which join two or more QSTRING nodes with expressions. Those should be using SUBSTITUTE instead of concatenation, in order for easier translation.
Field Summary | |
---|---|
java.util.TreeSet |
targetSet
|
Constructor Summary | |
---|---|
SubstituteLint()
|
Method Summary | |
---|---|
java.util.TreeSet |
run(int topNode)
Run this lint routine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.TreeSet targetSet
Constructor Detail |
---|
public SubstituteLint()
Method Detail |
---|
public java.util.TreeSet run(int topNode)
topNode
- The topmost node in the AST to start the lint from.
The client becomes the "owner" of the handles referred to in the
SubstituteTarget records, and is responsible for releasing those when done.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |