private String formatValueDescriptor(String descriptor){
  String[] components=descriptor.split(":");
  if (components.length == 1) {
    return capitalize(descriptor);
  }
 else   if (components.length == 2) {
    return capitalize(components[1]);
  }
 else   if (components.length == 3) {
    return capitalize(components[2]);
  }
 else   if (components.length == 4) {
    return capitalize(getShortClassName(components[1])) + STR_WHERE + capitalize(getMethodNameWithoutDescriptor(components[2]))+ STR_IS+ capitalize(components[3]);
  }
 else {
    throw new RuntimeException("Unsupported value descriptor: " + descriptor);
  }
}

private String formatValueDescriptor ( String descriptor ) { String [ ] components = descriptor . split ( ":" ) ; if ( components . length == 1 ) { return capitalize ( descriptor ) ; } else if ( components . length == 2 ) { return capitalize ( components [ 1 ] ) ; } else if ( components . length == 3 ) { return capitalize ( components [ 2 ] ) ; } else if ( components . length == 4 ) { return capitalize ( getShortClassName ( components [ 1 ] ) ) + STR_WHERE + capitalize ( getMethodNameWithoutDescriptor ( components [ 2 ] ) ) + STR_IS + capitalize ( components [ 3 ] ) ; } else { throw new RuntimeException ( "Unsupported value descriptor: " + descriptor ) ; } }
format the value descriptors used by input and output goals
