| Modifier and Type | Field and Description |
|---|---|
| private FieldNode | |
| private final Supplier | |
| private volatile boolean | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| delegate | back to summary |
|---|---|
| private FieldNode delegate | |
| fieldNodeSupplier | back to summary |
|---|---|
| private final Supplier<FieldNode> fieldNodeSupplier | |
| initialized | back to summary |
|---|---|
| private volatile boolean initialized | |
| name | back to summary |
|---|---|
| private final String name | |
| LazyFieldNode | back to summary |
|---|---|
| public LazyFieldNode(Supplier<FieldNode> fieldNodeSupplier, String name) | |
| addAnnotation | back to summary |
|---|---|
| public void addAnnotation(AnnotationNode annotation) Overrides org.
| |
| addAnnotations | back to summary |
|---|---|
| public void addAnnotations(List<AnnotationNode> annotations) Overrides org.
| |
| copyNodeMetaData | back to summary |
|---|---|
| public void copyNodeMetaData(ASTNode other) Overrides org. Doc from org. Copies all node meta data from the other node to this one | |
| copyNodeMetaData | back to summary |
|---|---|
| public void copyNodeMetaData(NodeMetaDataHandler other) Overrides default org. Doc from org. Copies all node meta data from the other node to this one
| |
| doInit | back to summary |
|---|---|
| public void doInit() Implements org. Doc from org. do initialization
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAnnotations | back to summary |
|---|---|
| public List Overrides org.
| |
| getAnnotations | back to summary |
|---|---|
| public List Overrides org.
| |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Overrides org.
| |
| getDeclaringClass | back to summary |
|---|---|
| public ClassNode getDeclaringClass() Overrides org.
| |
| getGroovydoc | back to summary |
|---|---|
| public Groovydoc getGroovydoc() Overrides org. Implements groovy. Doc from groovy. Get the groovydoc | |
| getInitialExpression | back to summary |
|---|---|
| public Expression getInitialExpression() Overrides org. Implements org. Doc from org. expression used to initialize the variable or null of there is no initialization.
| |
| getInitialValueExpression | back to summary |
|---|---|
| public Expression getInitialValueExpression() Overrides org.
| |
| getInstance | back to summary |
|---|---|
| public AnnotatedNode getInstance() Overrides org. Implements groovy. Doc from groovy. Get GroovydocHolder instance
| |
| getLastColumnNumber | back to summary |
|---|---|
| public int getLastColumnNumber() Overrides org.
| |
| getLastLineNumber | back to summary |
|---|---|
| public int getLastLineNumber() Overrides org.
| |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Overrides org.
| |
| getMetaDataMap | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Overrides org. Implements org.
| |
| getName | back to summary |
|---|---|
| public String getName() Overrides org. Implements org. Doc from org. the name of the variable
| |
| getNodeMetaData | back to summary |
|---|---|
| public <T> T getNodeMetaData(Object key) Overrides default org. Doc from org. Gets the node meta data. | |
| getNodeMetaData | back to summary |
|---|---|
| public <T> T getNodeMetaData(Object key, Function<?, ? extends T> valFn) Overrides default org. Doc from org. Gets the node meta data. | |
| getNodeMetaData | back to summary |
|---|---|
| public Map Overrides default org. Doc from org. Returns an unmodifiable view of the current node metadata. | |
| getOriginType | back to summary |
|---|---|
| public ClassNode getOriginType() Overrides org. Implements org. Doc from org. the type before wrapping primitives type of the variable
| |
| getOwner | back to summary |
|---|---|
| public ClassNode getOwner() Overrides org.
| |
| getText | back to summary |
|---|---|
| public String getText() Overrides org.
| |
| getType | back to summary |
|---|---|
| public ClassNode getType() Overrides org. Implements org. Doc from org. the type of the variable
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasInitialExpression | back to summary |
|---|---|
| public boolean hasInitialExpression() Overrides org. Implements org. Doc from org. returns true if there is an initialization expression
| |
| hasNoRealSourcePosition | back to summary |
|---|---|
| public boolean hasNoRealSourcePosition() Overrides org. Doc from org. Returns true for default constructors added by the compiler. See GROOVY-4161
| |
| isClosureSharedVariable | back to summary |
|---|---|
| public boolean isClosureSharedVariable() Overrides org. Implements org. Deprecated
| |
| isDynamicTyped | back to summary |
|---|---|
| public boolean isDynamicTyped() Overrides org. Implements org.
| |
| isEnum | back to summary |
|---|---|
| public boolean isEnum() Overrides org.
| |
| isFinal | back to summary |
|---|---|
| public boolean isFinal() Overrides org.
| |
| isHolder | back to summary |
|---|---|
| public boolean isHolder() Overrides org.
| |
| isInitialized | back to summary |
|---|---|
| public boolean isInitialized() Implements org. Doc from org. Check if the object is initialized.
| |
| isInStaticContext | back to summary |
|---|---|
| public boolean isInStaticContext() Overrides org. Implements org. Doc from org. returns true if this variable is used in a static context. A static context is any static initializer block, when this variable is declared as static or when this variable is used in a static method
| |
| isPrivate | back to summary |
|---|---|
| public boolean isPrivate() Overrides org.
| |
| isProtected | back to summary |
|---|---|
| public boolean isProtected() Overrides org.
| |
| isPublic | back to summary |
|---|---|
| public boolean isPublic() Overrides org.
| |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Overrides org.
| |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() Overrides org. Doc from org. Indicates if this node was added by the compiler. Note This method has nothing to do with the synthetic flag for classes, fields, methods or properties.
| |
| isVolatile | back to summary |
|---|---|
| public boolean isVolatile() Overrides org.
| |
| putNodeMetaData | back to summary |
|---|---|
| public Object putNodeMetaData(Object key, Object value) Overrides default org. Doc from org. Sets the node meta data but allows overwriting values. | |
| removeNodeMetaData | back to summary |
|---|---|
| public void removeNodeMetaData(Object key) Overrides default org. Doc from org. Removes a node meta data entry. | |
| rename | back to summary |
|---|---|
| public void rename(String name) Overrides org.
| |
| setClosureSharedVariable | back to summary |
|---|---|
| public void setClosureSharedVariable(boolean inClosure) Overrides org. Implements org. Deprecated
| |
| setColumnNumber | back to summary |
|---|---|
| public void setColumnNumber(int columnNumber) Overrides org.
| |
| setDeclaringClass | back to summary |
|---|---|
| public void setDeclaringClass(ClassNode declaringClass) Overrides org.
| |
| setHasNoRealSourcePosition | back to summary |
|---|---|
| public void setHasNoRealSourcePosition(boolean hasNoRealSourcePosition) Overrides org.
| |
| setHolder | back to summary |
|---|---|
| public void setHolder(boolean holder) Overrides org.
| |
| setInitialized | back to summary |
|---|---|
| public void setInitialized(boolean initialized) Implements org. Doc from org. Mark the object initialized.
| |
| setInitialValueExpression | back to summary |
|---|---|
| public void setInitialValueExpression(Expression initialValueExpression) Overrides org.
| |
| setLastColumnNumber | back to summary |
|---|---|
| public void setLastColumnNumber(int lastColumnNumber) Overrides org.
| |
| setLastLineNumber | back to summary |
|---|---|
| public void setLastLineNumber(int lastLineNumber) Overrides org.
| |
| setLineNumber | back to summary |
|---|---|
| public void setLineNumber(int lineNumber) Overrides org.
| |
| setMetaDataMap | back to summary |
|---|---|
| public void setMetaDataMap(Map<?, ?> metaDataMap) Overrides org. Implements org.
| |
| setModifiers | back to summary |
|---|---|
| public void setModifiers(int modifiers) Overrides org.
| |
| setNodeMetaData | back to summary |
|---|---|
| public void setNodeMetaData(Object key, Object value) Overrides default org. Doc from org. Sets the node meta data. | |
| setOriginType | back to summary |
|---|---|
| public void setOriginType(ClassNode cn) Overrides org.
| |
| setOwner | back to summary |
|---|---|
| public void setOwner(ClassNode owner) Overrides org.
| |
| setSourcePosition | back to summary |
|---|---|
| public void setSourcePosition(ASTNode node) Overrides org. Doc from org. Sets the source position using another ASTNode. The sourcePosition consists of a line/column pair for the start and a line/column pair for the end of the expression or statement | |
| setSynthetic | back to summary |
|---|---|
| public void setSynthetic(boolean synthetic) Overrides org. Doc from org. Sets this node as a node added by the compiler. Note This method has nothing to do with the synthetic flag for classes, fields, methods or properties.
| |
| setType | back to summary |
|---|---|
| public void setType(ClassNode type) Overrides org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| visit | back to summary |
|---|---|
| public void visit(GroovyCodeVisitor visitor) Overrides org.
| |