|
Lombok - v0.10.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlombok.core.LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>
lombok.eclipse.EclipseNode
public class EclipseNode
Eclipse specific version of the LombokNode class.
| Field Summary |
|---|
| Fields inherited from class lombok.core.LombokNode |
|---|
ast, children, isStructurallySignificant, kind, node, parent |
| Fields inherited from interface lombok.core.DiagnosticsReceiver |
|---|
CONSOLE |
| Method Summary | |
|---|---|
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)
See LombokNode.isStructurallySignificant. |
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. |
| Methods inherited from class lombok.core.LombokNode |
|---|
add, directUp, down, get, getAst, getFileName, getImportStatements, getKind, getNodeFor, getPackageDeclaration, isStructurallySignificant, rebuild, removeChild, replaceChildNode, replaceWith, top, toString, up, upFromAnnotationToFields |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public 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)
LombokNode.isStructurallySignificant.
calculateIsStructurallySignificant in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>public boolean isCompleteParse()
EclipseAST.isCompleteParse()
|
Lombok - v0.10.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||