@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(java.lang.Object o) |
org.codehaus.groovy.ast.MethodNode |
getMethodNode() |
org.codehaus.groovy.ast.Parameter |
getParameter() |
int |
hashCode() |
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, 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(java.lang.Object o)
equals
in class java.lang.Object