MCPcopy Create free account
hub / github.com/GateNLP/gate-core / toString

Method toString

src/main/java/gate/creole/Parameter.java:455–469  ·  view source on GitHub ↗

String representation

()

Source from the content-addressed store, hash-verified

453
454 /** String representation */
455 @Override
456 public String toString() {
457 try{
458 return "Parameter: name="+ name+ "; valueString=" + typeName +
459 "; optional=" + optional +
460 "; defaultValueString=" + defaultValueString +
461 "; defaultValue=" + getDefaultValue() + "; comment=" +
462 comment + "; helpURL=" +
463 helpURL + "; runtime=" + runtime +
464 "; itemClassName=" + itemClassName +
465 "; suffixes=" + suffixes;
466 }catch(ParameterException pe){
467 throw new GateRuntimeException(pe.toString());
468 }
469 }
470
471 /**
472 * If this parameter is a List type this will return the type of the items

Callers

nothing calls this directly

Calls 2

getDefaultValueMethod · 0.95
toStringMethod · 0.65

Tested by

no test coverage detected