public class EclipseNode extends LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>
ast, children, isStructurallySignificant, kind, node, parentCONSOLE| 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(org.eclipse.jdt.internal.compiler.ast.ASTNode parent)
|
protected boolean |
fieldContainsAnnotation(org.eclipse.jdt.internal.compiler.ast.ASTNode field,
org.eclipse.jdt.internal.compiler.ast.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, upFromAnnotationToFieldspublic void traverse(EclipseASTVisitor visitor)
protected boolean fieldContainsAnnotation(org.eclipse.jdt.internal.compiler.ast.ASTNode field,
org.eclipse.jdt.internal.compiler.ast.ASTNode annotation)
LombokNodetrue if the annotation is attached to the field.fieldContainsAnnotation in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>public String getName()
getName in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.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(org.eclipse.jdt.internal.compiler.ast.ASTNode parent)
calculateIsStructurallySignificant in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>public boolean isCompleteParse()
EclipseAST.isCompleteParse()Copyright © 2009-2014 The Project Lombok Authors, licensed under the MIT licence.