public class EclipseNode extends LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>
ast, children, isStructurallySignificant, kind, node, parent
CONSOLE
Modifier and Type | Method and Description |
---|---|
void |
addError(java.lang.String message)
Generate a compiler error on this node.
|
void |
addError(java.lang.String message,
int sourceStart,
int sourceEnd)
Generate a compiler error that shows the wavy underline from-to the stated character positions.
|
void |
addWarning(java.lang.String message)
Generate a compiler warning on this node.
|
void |
addWarning(java.lang.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. |
java.lang.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(org.eclipse.jdt.internal.compiler.ast.ASTNode field, org.eclipse.jdt.internal.compiler.ast.ASTNode annotation)
LombokNode
true
if the annotation is attached to the field.fieldContainsAnnotation
in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>
public java.lang.String getName()
getName
in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>
public void addError(java.lang.String message)
public void addError(java.lang.String message, int sourceStart, int sourceEnd)
public void addWarning(java.lang.String message)
public void addWarning(java.lang.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-2015 The Project Lombok Authors, licensed under the MIT licence.