Top Description Fields Constructors Methods
org.codehaus.groovy.ast.decompiled

pack-priv Class LazyConstructorNode

extends ConstructorNode
implements LazyInitializable
Class Inheritance
All Implemented Interfaces
org.apache.groovy.util.concurrent.LazyInitializable
Imports
groovy.lang.groovydoc.Groovydoc, org.apache.groovy.util.concurrent.LazyInitializable, org.codehaus.groovy.ast.ASTNode, .AnnotatedNode, .AnnotationNode, .ClassNode, .ConstructorNode, .GenericsType, .GroovyCodeVisitor, .NodeMetaDataHandler, .Parameter, .VariableScope, org.codehaus.groovy.ast.stmt.Statement, java.util.List, .Map, java.util.function.Function, .Supplier

Represents lazy constructor node, which will be initialized only when accessed
Since
2.5.9

Field Summary

Modifier and TypeField and Description
private final Supplier<ConstructorNode>
private ConstructorNode
private volatile boolean

Constructor Summary

AccessConstructor and Description
public
LazyConstructorNode(Supplier<ConstructorNode> constructorNodeSupplier)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
copyNodeMetaData(ASTNode
- the other node
other
)

Overrides org.codehaus.groovy.ast.ASTNode.copyNodeMetaData.

Copies all node meta data from the other node to this one
public void
copyNodeMetaData(NodeMetaDataHandler
the other node
other
)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.copyNodeMetaData.

Copies all node meta data from the other node to this one
public void
public boolean
equals(Object
the reference object with which to compare.
obj
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
public boolean
public List<AnnotationNode>
public List<AnnotationNode>
public Statement
public int
public ClassNode
public ClassNode[]
public Statement
public GenericsType[]
public Groovydoc
public AnnotatedNode
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.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Gets the node meta data.
public <T> T
getNodeMetaData(Object
the meta data key
key
,
Function<?, ? extends T>
the meta data value supplier
valFn
)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Gets the node meta data.
public Map<?, ?>
getNodeMetaData()

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Returns an unmodifiable view of the current node metadata.
public Parameter[]
public ClassNode
public String
getText()

Overrides org.codehaus.groovy.ast.MethodNode.getText.

Provides a nicely formatted string of the method definition.
public String
getTypeDescriptor()

Overrides org.codehaus.groovy.ast.MethodNode.getTypeDescriptor.

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.
public VariableScope
public boolean
public boolean
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
public boolean
hasNoRealSourcePosition()

Overrides org.codehaus.groovy.ast.AnnotatedNode.hasNoRealSourcePosition.

Returns true for default constructors added by the compiler.
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
isSynthetic()

Overrides org.codehaus.groovy.ast.AnnotatedNode.isSynthetic.

Indicates if this node was added by the compiler.
public boolean
isSyntheticPublic()

Overrides org.codehaus.groovy.ast.MethodNode.isSyntheticPublic.

Indicates that this method has been "promoted" to public by Groovy when in fact there was no public modifier explicitly in the source code.
public boolean
public Object
putNodeMetaData(Object
the meta data key
key
,
Object
the meta data value
value
)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.putNodeMetaData.

Sets the node meta data but allows overwriting values.
public void
removeNodeMetaData(Object
the meta data key
key
)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.removeNodeMetaData.

Removes a node meta data entry.
public void
public void
public void
public void
public void
public void
public void
setInitialized(boolean
initialized
initialized
)

Implements org.apache.groovy.util.concurrent.LazyInitializable.setInitialized.

Mark the object initialized.
public void
setIsScriptBody()

Overrides org.codehaus.groovy.ast.MethodNode.setIsScriptBody.

Sets the flag for this method to indicate it is a script body implementation.
public void
public void
public void
public void
public void
public void
setNodeMetaData(Object
the meta data key
key
,
Object
the meta data value
value
)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.setNodeMetaData.

Sets the node meta data.
public void
public void
public void
setSourcePosition(ASTNode
- the node used to configure the position information
node
)

Overrides org.codehaus.groovy.ast.ASTNode.setSourcePosition.

Sets the source position using another ASTNode.
public void
setSynthetic(boolean synthetic)

Overrides org.codehaus.groovy.ast.AnnotatedNode.setSynthetic.

Sets this node as a node added by the compiler.
public void
public void
public String
toString()

Overrides org.codehaus.groovy.ast.MethodNode.toString.

Returns a string representation of the object.
public void

Field Detail

constructorNodeSupplierback to summary
private final Supplier<ConstructorNode> constructorNodeSupplier
delegateback to summary
private ConstructorNode delegate
initializedback to summary
private volatile boolean initialized

Constructor Detail

LazyConstructorNodeback to summary
public LazyConstructorNode(Supplier<ConstructorNode> constructorNodeSupplier)

Method Detail

addAnnotationback to summary
public void addAnnotation(AnnotationNode annotation)

Overrides org.codehaus.groovy.ast.AnnotatedNode.addAnnotation.

Annotations
@Override
addAnnotationsback to summary
public void addAnnotations(List<AnnotationNode> annotations)

Overrides org.codehaus.groovy.ast.AnnotatedNode.addAnnotations.

Annotations
@Override
copyNodeMetaDataback to summary
public void copyNodeMetaData(ASTNode other)

Overrides org.codehaus.groovy.ast.ASTNode.copyNodeMetaData.

Doc from org.codehaus.groovy.ast.ASTNode.copyNodeMetaData.

Copies all node meta data from the other node to this one

Parameters
other:ASTNode

- the other node

Annotations
@Override
copyNodeMetaDataback to summary
public void copyNodeMetaData(NodeMetaDataHandler other)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.copyNodeMetaData.

Doc from org.codehaus.groovy.ast.NodeMetaDataHandler.copyNodeMetaData.

Copies all node meta data from the other node to this one

Parameters
other:NodeMetaDataHandler

the other node

Annotations
@Override
doInitback to summary
public void doInit()

Implements org.apache.groovy.util.concurrent.LazyInitializable.doInit.

Doc from org.apache.groovy.util.concurrent.LazyInitializable.doInit.

do initialization

Annotations
@Override
equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.equals.

Doc from java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x, x.equals(x) should return true.
  • It is symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any non-null reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
  • It is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x, x.equals(null) should return false.

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.

Parameters
obj:Object

the reference object with which to compare.

Returns:boolean

true if this object is the same as the obj argument; false otherwise.

Annotations
@Override
firstStatementIsSpecialConstructorCallback to summary
public boolean firstStatementIsSpecialConstructorCall()

Overrides org.codehaus.groovy.ast.ConstructorNode.firstStatementIsSpecialConstructorCall.

Annotations
@Override
getAnnotationsback to summary
public List<AnnotationNode> getAnnotations()

Overrides org.codehaus.groovy.ast.AnnotatedNode.getAnnotations.

Annotations
@Override
getAnnotationsback to summary
public List<AnnotationNode> getAnnotations(ClassNode type)

Overrides org.codehaus.groovy.ast.AnnotatedNode.getAnnotations.

Annotations
@Override
getCodeback to summary
public Statement getCode()

Overrides org.codehaus.groovy.ast.MethodNode.getCode.

Annotations
@Override
getColumnNumberback to summary
public int getColumnNumber()

Overrides org.codehaus.groovy.ast.ASTNode.getColumnNumber.

Annotations
@Override
getDeclaringClassback to summary
public ClassNode getDeclaringClass()

Overrides org.codehaus.groovy.ast.AnnotatedNode.getDeclaringClass.

Annotations
@Override
getExceptionsback to summary
public ClassNode[] getExceptions()

Overrides org.codehaus.groovy.ast.MethodNode.getExceptions.

Annotations
@Override
getFirstStatementback to summary
public Statement getFirstStatement()

Overrides org.codehaus.groovy.ast.MethodNode.getFirstStatement.

Annotations
@Override
getGenericsTypesback to summary
public GenericsType[] getGenericsTypes()

Overrides org.codehaus.groovy.ast.MethodNode.getGenericsTypes.

Annotations
@Override
getGroovydocback to summary
public Groovydoc getGroovydoc()

Overrides org.codehaus.groovy.ast.AnnotatedNode.getGroovydoc.

Implements groovy.lang.groovydoc.GroovydocHolder.getGroovydoc.

Doc from groovy.lang.groovydoc.GroovydocHolder.getGroovydoc.

Get the groovydoc

Returns:Groovydoc

the groovydoc

Annotations
@Override
getInstanceback to summary
public AnnotatedNode getInstance()

Overrides org.codehaus.groovy.ast.AnnotatedNode.getInstance.

Implements groovy.lang.groovydoc.GroovydocHolder.getInstance.

Doc from groovy.lang.groovydoc.GroovydocHolder.getInstance.

Get GroovydocHolder instance

Returns:AnnotatedNode

GroovydocHolder instance

Annotations
@Override
getLastColumnNumberback to summary
public int getLastColumnNumber()

Overrides org.codehaus.groovy.ast.ASTNode.getLastColumnNumber.

Annotations
@Override
getLastLineNumberback to summary
public int getLastLineNumber()

Overrides org.codehaus.groovy.ast.ASTNode.getLastLineNumber.

Annotations
@Override
getLineNumberback to summary
public int getLineNumber()

Overrides org.codehaus.groovy.ast.ASTNode.getLineNumber.

Annotations
@Override
getMetaDataMapback to summary
public Map<?, ?> getMetaDataMap()

Overrides org.codehaus.groovy.ast.ASTNode.getMetaDataMap.

Implements org.codehaus.groovy.ast.NodeMetaDataHandler.getMetaDataMap.

Annotations
@Override
getModifiersback to summary
public int getModifiers()

Overrides org.codehaus.groovy.ast.MethodNode.getModifiers.

Annotations
@Override
getNameback to summary
public String getName()

Overrides org.codehaus.groovy.ast.MethodNode.getName.

Annotations
@Override
getNodeMetaDataback to summary
public <T> T getNodeMetaData(Object key)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Doc from org.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Gets the node meta data.

Parameters
key:Object

the meta data key

Returns:T

the node meta data value for this key

Annotations
@Override
getNodeMetaDataback to summary
public <T> T getNodeMetaData(Object key, Function<?, ? extends T> valFn)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Doc from org.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Gets the node meta data.

Parameters
key:Object

the meta data key

valFn:Function<?, ? extends T>

the meta data value supplier

Returns:T

the node meta data value for this key

Annotations
@Override
getNodeMetaDataback to summary
public Map<?, ?> getNodeMetaData()

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Doc from org.codehaus.groovy.ast.NodeMetaDataHandler.getNodeMetaData.

Returns an unmodifiable view of the current node metadata.

Returns:Map<?, ?>

the node metadata. Always not null.

Annotations
@Override
getParametersback to summary
public Parameter[] getParameters()

Overrides org.codehaus.groovy.ast.MethodNode.getParameters.

Annotations
@Override
getReturnTypeback to summary
public ClassNode getReturnType()

Overrides org.codehaus.groovy.ast.MethodNode.getReturnType.

Annotations
@Override
getTextback to summary
public String getText()

Overrides org.codehaus.groovy.ast.MethodNode.getText.

Doc from org.codehaus.groovy.ast.MethodNode.getText.

Provides a nicely formatted string of the method definition. For simplicity, generic types on some of the elements are not displayed.

Returns:String

string form of node with some generic elements suppressed

Annotations
@Override
getTypeDescriptorback to summary
public String getTypeDescriptor()

Overrides org.codehaus.groovy.ast.MethodNode.getTypeDescriptor.

Doc from org.codehaus.groovy.ast.MethodNode.getTypeDescriptor.

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.

Annotations
@Override
getVariableScopeback to summary
public VariableScope getVariableScope()

Overrides org.codehaus.groovy.ast.MethodNode.getVariableScope.

Annotations
@Override
hasAnnotationDefaultback to summary
public boolean hasAnnotationDefault()

Overrides org.codehaus.groovy.ast.MethodNode.hasAnnotationDefault.

Returns:boolean

Doc from org.codehaus.groovy.ast.MethodNode.hasAnnotationDefault.

true if annotation method has a default value

Annotations
@Override
hasDefaultValueback to summary
public boolean hasDefaultValue()

Overrides org.codehaus.groovy.ast.MethodNode.hasDefaultValue.

Returns:boolean

Doc from org.codehaus.groovy.ast.MethodNode.hasDefaultValue.

true if any parameter has a default value

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Doc from java.lang.Object.hashCode.

Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by java.util.HashMap.

The general contract of hashCode is:

  • Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
  • If two objects are equal according to the equals method, then calling the hashCode method on each of the two objects must produce the same integer result.
  • It is not required that if two objects are unequal according to the equals method, then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.
Returns:int

a hash code value for this object.

Annotations
@Override
hasNoRealSourcePositionback to summary
public boolean hasNoRealSourcePosition()

Overrides org.codehaus.groovy.ast.AnnotatedNode.hasNoRealSourcePosition.

Doc from org.codehaus.groovy.ast.AnnotatedNode.hasNoRealSourcePosition.

Returns true for default constructors added by the compiler.

See GROOVY-4161

Annotations
@Override
isAbstractback to summary
public boolean isAbstract()

Overrides org.codehaus.groovy.ast.MethodNode.isAbstract.

Annotations
@Override
isDefaultback to summary
public boolean isDefault()

Overrides org.codehaus.groovy.ast.MethodNode.isDefault.

Annotations
@Override
isDynamicReturnTypeback to summary
public boolean isDynamicReturnType()

Overrides org.codehaus.groovy.ast.MethodNode.isDynamicReturnType.

Annotations
@Override
isFinalback to summary
public boolean isFinal()

Overrides org.codehaus.groovy.ast.MethodNode.isFinal.

Annotations
@Override
isInitializedback to summary
public boolean isInitialized()

Implements org.apache.groovy.util.concurrent.LazyInitializable.isInitialized.

Doc from org.apache.groovy.util.concurrent.LazyInitializable.isInitialized.

Check if the object is initialized.

Returns:boolean

the check result

Annotations
@Override
isPackageScopeback to summary
public boolean isPackageScope()

Overrides org.codehaus.groovy.ast.MethodNode.isPackageScope.

Annotations
@Override
isPrivateback to summary
public boolean isPrivate()

Overrides org.codehaus.groovy.ast.MethodNode.isPrivate.

Annotations
@Override
isProtectedback to summary
public boolean isProtected()

Overrides org.codehaus.groovy.ast.MethodNode.isProtected.

Annotations
@Override
isPublicback to summary
public boolean isPublic()

Overrides org.codehaus.groovy.ast.MethodNode.isPublic.

Annotations
@Override
isScriptBodyback to summary
public boolean isScriptBody()

Overrides org.codehaus.groovy.ast.MethodNode.isScriptBody.

Returns:boolean

Doc from org.codehaus.groovy.ast.MethodNode.isScriptBody.

true if this method is the run method from a script

Annotations
@Override
isStaticback to summary
public boolean isStatic()

Overrides org.codehaus.groovy.ast.MethodNode.isStatic.

Annotations
@Override
isStaticConstructorback to summary
public boolean isStaticConstructor()

Overrides org.codehaus.groovy.ast.MethodNode.isStaticConstructor.

Annotations
@Override
isSyntheticback to summary
public boolean isSynthetic()

Overrides org.codehaus.groovy.ast.AnnotatedNode.isSynthetic.

Doc from org.codehaus.groovy.ast.AnnotatedNode.isSynthetic.

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.

Annotations
@Override
isSyntheticPublicback to summary
public boolean isSyntheticPublic()

Overrides org.codehaus.groovy.ast.MethodNode.isSyntheticPublic.

Doc from org.codehaus.groovy.ast.MethodNode.isSyntheticPublic.

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.

Returns:boolean

true if this class is public but had no explicit public modifier

Annotations
@Override
isVoidMethodback to summary
public boolean isVoidMethod()

Overrides org.codehaus.groovy.ast.MethodNode.isVoidMethod.

Annotations
@Override
putNodeMetaDataback to summary
public Object putNodeMetaData(Object key, Object value)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.putNodeMetaData.

Doc from org.codehaus.groovy.ast.NodeMetaDataHandler.putNodeMetaData.

Sets the node meta data but allows overwriting values.

Parameters
key:Object

the meta data key

value:Object

the meta data value

Returns:Object

the old node meta data value for this key

Annotations
@Override
removeNodeMetaDataback to summary
public void removeNodeMetaData(Object key)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.removeNodeMetaData.

Doc from org.codehaus.groovy.ast.NodeMetaDataHandler.removeNodeMetaData.

Removes a node meta data entry.

Parameters
key:Object

the meta data key

Annotations
@Override
setAnnotationDefaultback to summary
public void setAnnotationDefault(boolean hasDefaultValue)

Overrides org.codehaus.groovy.ast.MethodNode.setAnnotationDefault.

Annotations
@Override
setCodeback to summary
public void setCode(Statement code)

Overrides org.codehaus.groovy.ast.MethodNode.setCode.

Annotations
@Override
setColumnNumberback to summary
public void setColumnNumber(int columnNumber)

Overrides org.codehaus.groovy.ast.ASTNode.setColumnNumber.

Annotations
@Override
setDeclaringClassback to summary
public void setDeclaringClass(ClassNode declaringClass)

Overrides org.codehaus.groovy.ast.AnnotatedNode.setDeclaringClass.

Annotations
@Override
setGenericsTypesback to summary
public void setGenericsTypes(GenericsType[] genericsTypes)

Overrides org.codehaus.groovy.ast.MethodNode.setGenericsTypes.

Annotations
@Override
setHasNoRealSourcePositionback to summary
public void setHasNoRealSourcePosition(boolean hasNoRealSourcePosition)

Overrides org.codehaus.groovy.ast.AnnotatedNode.setHasNoRealSourcePosition.

Annotations
@Override
setInitializedback to summary
public void setInitialized(boolean initialized)

Implements org.apache.groovy.util.concurrent.LazyInitializable.setInitialized.

Doc from org.apache.groovy.util.concurrent.LazyInitializable.setInitialized.

Mark the object initialized.

Parameters
initialized:boolean

initialized

Annotations
@Override
setIsScriptBodyback to summary
public void setIsScriptBody()

Overrides org.codehaus.groovy.ast.MethodNode.setIsScriptBody.

Doc from org.codehaus.groovy.ast.MethodNode.setIsScriptBody.

Sets the flag for this method to indicate it is a script body implementation.

Annotations
@Override
setLastColumnNumberback to summary
public void setLastColumnNumber(int lastColumnNumber)

Overrides org.codehaus.groovy.ast.ASTNode.setLastColumnNumber.

Annotations
@Override
setLastLineNumberback to summary
public void setLastLineNumber(int lastLineNumber)

Overrides org.codehaus.groovy.ast.ASTNode.setLastLineNumber.

Annotations
@Override
setLineNumberback to summary
public void setLineNumber(int lineNumber)

Overrides org.codehaus.groovy.ast.ASTNode.setLineNumber.

Annotations
@Override
setMetaDataMapback to summary
public void setMetaDataMap(Map<?, ?> metaDataMap)

Overrides org.codehaus.groovy.ast.ASTNode.setMetaDataMap.

Implements org.codehaus.groovy.ast.NodeMetaDataHandler.setMetaDataMap.

Annotations
@Override
setModifiersback to summary
public void setModifiers(int modifiers)

Overrides org.codehaus.groovy.ast.MethodNode.setModifiers.

Annotations
@Override
setNodeMetaDataback to summary
public void setNodeMetaData(Object key, Object value)

Overrides default org.codehaus.groovy.ast.NodeMetaDataHandler.setNodeMetaData.

Doc from org.codehaus.groovy.ast.NodeMetaDataHandler.setNodeMetaData.

Sets the node meta data.

Parameters
key:Object

the meta data key

value:Object

the meta data value

Annotations
@Override
setParametersback to summary
public void setParameters(Parameter[] parameters)

Overrides org.codehaus.groovy.ast.MethodNode.setParameters.

Annotations
@Override
setReturnTypeback to summary
public void setReturnType(ClassNode returnType)

Overrides org.codehaus.groovy.ast.MethodNode.setReturnType.

Annotations
@Override
setSourcePositionback to summary
public void setSourcePosition(ASTNode node)

Overrides org.codehaus.groovy.ast.ASTNode.setSourcePosition.

Doc from org.codehaus.groovy.ast.ASTNode.setSourcePosition.

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

Parameters
node:ASTNode

- the node used to configure the position information

Annotations
@Override
setSyntheticback to summary
public void setSynthetic(boolean synthetic)

Overrides org.codehaus.groovy.ast.AnnotatedNode.setSynthetic.

Doc from org.codehaus.groovy.ast.AnnotatedNode.setSynthetic.

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.

Annotations
@Override
setSyntheticPublicback to summary
public void setSyntheticPublic(boolean syntheticPublic)

Overrides org.codehaus.groovy.ast.MethodNode.setSyntheticPublic.

Annotations
@Override
setVariableScopeback to summary
public void setVariableScope(VariableScope variableScope)

Overrides org.codehaus.groovy.ast.MethodNode.setVariableScope.

Annotations
@Override
toStringback to summary
public String toString()

Overrides org.codehaus.groovy.ast.MethodNode.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
visitback to summary
public void visit(GroovyCodeVisitor visitor)

Overrides org.codehaus.groovy.ast.ASTNode.visit.

Annotations
@Override