public Node newParameterFromNode ( Node n ) { Node newParam = newParameter ( n . getJSType ( ) ) ; newParam . setVarArgs ( n . isVarArgs ( ) ) ; newParam . setOptionalArg ( n . isOptionalArg ( ) ) ; return newParam ; }
Copies the parameter specification from the given node .