@Internal public final class ExtendedParameter extends org.codehaus.groovy.ast.AnnotatedNode
GroovyAnnotationMetadataBuilder
because
the method node the parameter belongs to is not available from the Parameter
class
itself. The method node is necessary to support argument annotation metadata inheritance.Constructor and Description |
---|
ExtendedParameter(org.codehaus.groovy.ast.MethodNode methodNode,
org.codehaus.groovy.ast.Parameter parameter) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
org.codehaus.groovy.ast.MethodNode |
getMethodNode() |
org.codehaus.groovy.ast.Parameter |
getParameter() |
int |
hashCode() |
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getNodeMetaData, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit
public ExtendedParameter(org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.Parameter parameter)
methodNode
- The method node that contains the parameterparameter
- The parameterpublic org.codehaus.groovy.ast.MethodNode getMethodNode()
public org.codehaus.groovy.ast.Parameter getParameter()
public int hashCode()
hashCode
in class org.codehaus.groovy.ast.ASTNode
public boolean equals(Object o)
equals
in class org.codehaus.groovy.ast.ASTNode