Ejemplo n.º 1
0
 public Node getParameterNamed(String name) {
   return VariableHelper.getParameterName(getVar(), name);
 }
Ejemplo n.º 2
0
 /**
  * Given a name (presumably retrieve via getNormativeSignatureNameList()) is this parmeter used in
  * this method definition?
  *
  * @param name
  * @return if used or not.
  */
 public boolean isParameterUsed(String name) {
   // FIXME: Do I need to worry about used vars in parameter initialization?
   return VariableHelper.isParameterUsed(getBody(), name, false);
 }