|
Lombok - v0.9.3 | ||||||||
| 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, handled, isStructurallySignificant, kind, node, parent |
| Method Summary | |
|---|---|
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)
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. |
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. |
| Methods inherited from class lombok.core.LombokNode |
|---|
add, directUp, down, get, getFileName, getImportStatements, getKind, getNodeFor, getPackageDeclaration, isHandled, isStructurallySignificant, rebuild, recursiveSetHandled, removeChild, replaceChildNode, replaceWith, setHandled, 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 java.lang.String getName()
getName in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>public void addError(java.lang.String message)
addError in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>
public void addError(java.lang.String message,
int sourceStart,
int sourceEnd)
public void addWarning(java.lang.String message)
addWarning in class LombokNode<EclipseAST,EclipseNode,org.eclipse.jdt.internal.compiler.ast.ASTNode>
public void addWarning(java.lang.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.9.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||