public class EclipseNode extends LombokNode<EclipseAST,EclipseNode,ASTNode>
ast, children, isStructurallySignificant, kind, node, parent
CONSOLE
Modifier and Type | Method and Description |
---|---|
void |
addError(String message)
Generate a compiler error on this node.
|
void |
addError(String message,
int sourceStart,
int sourceEnd)
Generate a compiler error that shows the wavy underline from-to the stated character positions.
|
void |
addWarning(String message)
Generate a compiler warning on this node.
|
void |
addWarning(String message,
int sourceStart,
int sourceEnd)
Generate a compiler warning that shows the wavy underline from-to the stated character positions.
|
protected boolean |
calculateIsStructurallySignificant(ASTNode parent)
|
protected boolean |
fieldContainsAnnotation(ASTNode field,
ASTNode annotation)
Return
true if the annotation is attached to the field. |
String |
getName()
Return the name of your type (simple name), method, field, or local variable.
|
boolean |
isCompleteParse()
Convenient shortcut to the owning EclipseAST object's isCompleteParse method.
|
void |
traverse(EclipseASTVisitor visitor)
Visits this node and all child nodes depth-first, calling the provided visitor's visit methods.
|
add, directUp, down, get, getAst, getFileName, getImportList, getKind, getLatestJavaSpecSupported, getNodeFor, getPackageDeclaration, getSourceVersion, isStructurallySignificant, rebuild, removeChild, top, toString, up, upFromAnnotationToFields
public void traverse(EclipseASTVisitor visitor)
protected boolean fieldContainsAnnotation(ASTNode field, ASTNode annotation)
LombokNode
true
if the annotation is attached to the field.fieldContainsAnnotation
in class LombokNode<EclipseAST,EclipseNode,ASTNode>
public String getName()
getName
in class LombokNode<EclipseAST,EclipseNode,ASTNode>
public void addError(String message)
public void addError(String message, int sourceStart, int sourceEnd)
public void addWarning(String message)
public void addWarning(String message, int sourceStart, int sourceEnd)
protected boolean calculateIsStructurallySignificant(ASTNode parent)
calculateIsStructurallySignificant
in class LombokNode<EclipseAST,EclipseNode,ASTNode>
public boolean isCompleteParse()
EclipseAST.isCompleteParse()
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.