| Modifier and Type | Field and Description |
|---|---|
| private final Supplier | |
| private ConstructorNode | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAnnotation(AnnotationNode annotation)
Overrides org. |
| public void | addAnnotations(List<AnnotationNode> annotations)
Overrides org. |
| public void | copyNodeMetaData(ASTNode
- the other node other)
Copies all node meta data from the other node to this one
|
| public void | copyNodeMetaData(NodeMetaDataHandler
the other node other)Overrides default org. |
| public void | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public boolean | |
| public List | |
| public List | |
| public Statement | |
| public int | |
| public ClassNode | |
| public ClassNode[] | |
| public Statement | |
| public GenericsType[] | |
| public Groovydoc | getGroovydoc()
Overrides org. Implements groovy. |
| public AnnotatedNode | getInstance()
Overrides org. Implements groovy. |
| public int | |
| public int | |
| public int | |
| public Map | |
| public int | |
| public String | |
| public <T> T | getNodeMetaData(Object
the meta data key key)Overrides default org. |
| public <T> T | getNodeMetaData(Object
the meta data key key, Function<?, ? extends T> the meta data value supplier valFn)Overrides default org. |
| public Map | getNodeMetaData()
Overrides default org. |
| public Parameter[] | |
| public ClassNode | |
| public String | getText()
Overrides org. |
| public String | getTypeDescriptor()
Overrides org. |
| public VariableScope | |
| public boolean | |
| public boolean | |
| public int | |
| public boolean | hasNoRealSourcePosition()
Overrides org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isInitialized()
Implements org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isSynthetic()
Overrides org. |
| public boolean | isSyntheticPublic()
Overrides org. |
| public boolean | |
| public Object | putNodeMetaData(Object
the meta data key key, Object the meta data value value)Overrides default org. |
| public void | removeNodeMetaData(Object
the meta data key key)Overrides default org. |
| public void | setAnnotationDefault(boolean hasDefaultValue)
Overrides org. |
| public void | |
| public void | |
| public void | setDeclaringClass(ClassNode declaringClass)
Overrides org. |
| public void | setGenericsTypes(GenericsType[] genericsTypes)
Overrides org. |
| public void | setHasNoRealSourcePosition(boolean hasNoRealSourcePosition)
Overrides org. |
| public void | setInitialized(boolean
initialized initialized)Implements org. |
| public void | setIsScriptBody()
Overrides org. |
| public void | setLastColumnNumber(int lastColumnNumber)
Overrides org. |
| public void | |
| public void | |
| public void | setMetaDataMap(Map<?, ?> metaDataMap)
Overrides org. Implements org. |
| public void | |
| public void | setNodeMetaData(Object
the meta data key key, Object the meta data value value)Overrides default org. |
| public void | |
| public void | |
| public void | setSourcePosition(ASTNode
- the node used to configure the position information node)Overrides org. |
| public void | setSynthetic(boolean synthetic)
Overrides org. |
| public void | setSyntheticPublic(boolean syntheticPublic)
Overrides org. |
| public void | setVariableScope(VariableScope variableScope)
Overrides org. |
| public String | toString()
Overrides org. |
| public void |
| constructorNodeSupplier | back to summary |
|---|---|
| private final Supplier<ConstructorNode> constructorNodeSupplier | |
| delegate | back to summary |
|---|---|
| private ConstructorNode delegate | |
| initialized | back to summary |
|---|---|
| private volatile boolean initialized | |
| LazyConstructorNode | back to summary |
|---|---|
| public LazyConstructorNode(Supplier<ConstructorNode> constructorNodeSupplier) | |
| 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 java. 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. | |
| firstStatementIsSpecialConstructorCall | back to summary |
|---|---|
| public boolean firstStatementIsSpecialConstructorCall() Overrides org.
| |
| getAnnotations | back to summary |
|---|---|
| public List Overrides org.
| |
| getAnnotations | back to summary |
|---|---|
| public List Overrides org.
| |
| getCode | back to summary |
|---|---|
| public Statement getCode() Overrides org.
| |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Overrides org.
| |
| getDeclaringClass | back to summary |
|---|---|
| public ClassNode getDeclaringClass() Overrides org.
| |
| getExceptions | back to summary |
|---|---|
| public ClassNode[] getExceptions() Overrides org.
| |
| getFirstStatement | back to summary |
|---|---|
| public Statement getFirstStatement() Overrides org.
| |
| getGenericsTypes | back to summary |
|---|---|
| public GenericsType[] getGenericsTypes() Overrides org.
| |
| getGroovydoc | back to summary |
|---|---|
| public Groovydoc getGroovydoc() Overrides org. Implements groovy. Doc from groovy. Get the groovydoc | |
| 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.
| |
| getName | back to summary |
|---|---|
| public String getName() Overrides org.
| |
| 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. | |
| getParameters | back to summary |
|---|---|
| public Parameter[] getParameters() Overrides org.
| |
| getReturnType | back to summary |
|---|---|
| public ClassNode getReturnType() Overrides org.
| |
| getText | back to summary |
|---|---|
| public String getText() Overrides org. Doc from org. Provides a nicely formatted string of the method definition. For simplicity, generic types on some of the elements are not displayed. | |
| getTypeDescriptor | back to summary |
|---|---|
| public String getTypeDescriptor() Overrides org. Doc from org. The type descriptor for a method node is a string containing the name of the method, its return type, and its parameter types in a canonical form. For simplicity, we use the format of a Java declaration without parameter names or generics.
| |
| getVariableScope | back to summary |
|---|---|
| public VariableScope getVariableScope() Overrides org.
| |
| hasAnnotationDefault | back to summary |
|---|---|
| public boolean hasAnnotationDefault() Overrides org.
| |
| hasDefaultValue | back to summary |
|---|---|
| public boolean hasDefaultValue() Overrides org.
| |
| 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
| |
| hasNoRealSourcePosition | back to summary |
|---|---|
| public boolean hasNoRealSourcePosition() Overrides org. Doc from org. Returns true for default constructors added by the compiler. See GROOVY-4161
| |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Overrides org.
| |
| isDefault | back to summary |
|---|---|
| public boolean isDefault() Overrides org.
| |
| isDynamicReturnType | back to summary |
|---|---|
| public boolean isDynamicReturnType() Overrides org.
| |
| isFinal | back to summary |
|---|---|
| public boolean isFinal() Overrides org.
| |
| isInitialized | back to summary |
|---|---|
| public boolean isInitialized() Implements org. Doc from org. Check if the object is initialized.
| |
| isPackageScope | back to summary |
|---|---|
| public boolean isPackageScope() Overrides org.
| |
| 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.
| |
| isScriptBody | back to summary |
|---|---|
| public boolean isScriptBody() Overrides org.
| |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Overrides org.
| |
| isStaticConstructor | back to summary |
|---|---|
| public boolean isStaticConstructor() 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.
| |
| isSyntheticPublic | back to summary |
|---|---|
| public boolean isSyntheticPublic() Overrides org. Doc from org. Indicates that this method has been "promoted" to public by Groovy when in fact there was no public modifier explicitly in the source code. I.e. it remembers that it has applied Groovy's "public methods by default" rule. This property is typically only of interest to AST transform writers.
| |
| isVoidMethod | back to summary |
|---|---|
| public boolean isVoidMethod() 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. | |
| setAnnotationDefault | back to summary |
|---|---|
| public void setAnnotationDefault(boolean hasDefaultValue) Overrides org.
| |
| setCode | back to summary |
|---|---|
| public void setCode(Statement code) Overrides org.
| |
| setColumnNumber | back to summary |
|---|---|
| public void setColumnNumber(int columnNumber) Overrides org.
| |
| setDeclaringClass | back to summary |
|---|---|
| public void setDeclaringClass(ClassNode declaringClass) Overrides org.
| |
| setGenericsTypes | back to summary |
|---|---|
| public void setGenericsTypes(GenericsType[] genericsTypes) Overrides org.
| |
| setHasNoRealSourcePosition | back to summary |
|---|---|
| public void setHasNoRealSourcePosition(boolean hasNoRealSourcePosition) Overrides org.
| |
| setInitialized | back to summary |
|---|---|
| public void setInitialized(boolean initialized) Implements org. Doc from org. Mark the object initialized.
| |
| setIsScriptBody | back to summary |
|---|---|
| public void setIsScriptBody() Overrides org. Doc from org. Sets the flag for this method to indicate it is a script body implementation.
| |
| 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. | |
| setParameters | back to summary |
|---|---|
| public void setParameters(Parameter[] parameters) Overrides org.
| |
| setReturnType | back to summary |
|---|---|
| public void setReturnType(ClassNode returnType) 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.
| |
| setSyntheticPublic | back to summary |
|---|---|
| public void setSyntheticPublic(boolean syntheticPublic) Overrides org.
| |
| setVariableScope | back to summary |
|---|---|
| public void setVariableScope(VariableScope variableScope) Overrides org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |
| visit | back to summary |
|---|---|
| public void visit(GroovyCodeVisitor visitor) Overrides org.
| |