test_class.declarator: expectedException = ExpectedException.none()
test_class.modifier: @Rule
  	public
test_class.original_string: @Rule
  	public ExpectedException expectedException = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: expectedException
test_class.file: flink-java/src/test/java/org/apache/flink/api/java/utils/RequiredParametersTest.java
test_class.identifier: RequiredParametersTest
test_case.body: @Test
  	public void testStringBasedAddWithAlreadyExistingParameter() throws RequiredParametersException {
  
  		expectedException.expect(RequiredParametersException.class);
  		expectedException.expectMessage("Option with key berlin already exists.");
  
  		RequiredParameters required = new RequiredParameters();
  		required.add("berlin");
  		required.add("berlin");
  	}
test_case.class_method_signature: RequiredParametersTest.testStringBasedAddWithAlreadyExistingParameter()
test_case.full_signature: @Test public void testStringBasedAddWithAlreadyExistingParameter()
test_case.identifier: testStringBasedAddWithAlreadyExistingParameter
test_case.invocations: expect expectMessage add add
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStringBasedAddWithAlreadyExistingParameter()
focal_class.declarator: HELP_TEXT_PARAM_DELIMITER = "\t"
focal_class.modifier: private static final
focal_class.original_string: private static final String HELP_TEXT_PARAM_DELIMITER = "\t";
focal_class.type: String
focal_class.var_name: HELP_TEXT_PARAM_DELIMITER
focal_class.declarator: HELP_TEXT_LINE_DELIMITER = "\n"
focal_class.modifier: private static final
focal_class.original_string: private static final String HELP_TEXT_LINE_DELIMITER = "\n";
focal_class.type: String
focal_class.var_name: HELP_TEXT_LINE_DELIMITER
focal_class.declarator: HELP_TEXT_LENGTH_PER_PARAM = 100
focal_class.modifier: private static final
focal_class.original_string: private static final int HELP_TEXT_LENGTH_PER_PARAM = 100;
focal_class.type: int
focal_class.var_name: HELP_TEXT_LENGTH_PER_PARAM
focal_class.declarator: data
focal_class.modifier: private
focal_class.original_string: private HashMap<String, Option> data;
focal_class.type: HashMap<String, Option>
focal_class.var_name: data
focal_class.file: flink-java/src/main/java/org/apache/flink/api/java/utils/RequiredParameters.java
focal_class.identifier: RequiredParameters
focal_class.class_method_signature: RequiredParameters.RequiredParameters()
focal_class.full_signature: public  RequiredParameters()
focal_class.identifier: RequiredParameters
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RequiredParameters()
focal_class.class_method_signature: RequiredParameters.add(String name)
focal_class.full_signature: public Option add(String name)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: Option
focal_class.signature: Option add(String name)
focal_class.class_method_signature: RequiredParameters.add(Option option)
focal_class.full_signature: public void add(Option option)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (Option option)
focal_class.return: void
focal_class.signature: void add(Option option)
focal_class.class_method_signature: RequiredParameters.applyTo(ParameterTool parameterTool)
focal_class.full_signature: public void applyTo(ParameterTool parameterTool)
focal_class.identifier: applyTo
focal_class.modifiers: public
focal_class.parameters: (ParameterTool parameterTool)
focal_class.return: void
focal_class.signature: void applyTo(ParameterTool parameterTool)
focal_class.class_method_signature: RequiredParameters.checkAndApplyDefaultValue(Option o, Map<String, String> data)
focal_class.full_signature: private void checkAndApplyDefaultValue(Option o, Map<String, String> data)
focal_class.identifier: checkAndApplyDefaultValue
focal_class.modifiers: private
focal_class.parameters: (Option o, Map<String, String> data)
focal_class.return: void
focal_class.signature: void checkAndApplyDefaultValue(Option o, Map<String, String> data)
focal_class.class_method_signature: RequiredParameters.checkIsCastableToDefinedType(Option o, Map<String, String> data)
focal_class.full_signature: private void checkIsCastableToDefinedType(Option o, Map<String, String> data)
focal_class.identifier: checkIsCastableToDefinedType
focal_class.modifiers: private
focal_class.parameters: (Option o, Map<String, String> data)
focal_class.return: void
focal_class.signature: void checkIsCastableToDefinedType(Option o, Map<String, String> data)
focal_class.class_method_signature: RequiredParameters.checkChoices(Option o, Map<String, String> data)
focal_class.full_signature: private void checkChoices(Option o, Map<String, String> data)
focal_class.identifier: checkChoices
focal_class.modifiers: private
focal_class.parameters: (Option o, Map<String, String> data)
focal_class.return: void
focal_class.signature: void checkChoices(Option o, Map<String, String> data)
focal_class.class_method_signature: RequiredParameters.hasNoDefaultValueAndNoValuePassedOnAlternativeName(Option o, Map<String, String> data)
focal_class.full_signature: private boolean hasNoDefaultValueAndNoValuePassedOnAlternativeName(Option o, Map<String, String> data)
focal_class.identifier: hasNoDefaultValueAndNoValuePassedOnAlternativeName
focal_class.modifiers: private
focal_class.parameters: (Option o, Map<String, String> data)
focal_class.return: boolean
focal_class.signature: boolean hasNoDefaultValueAndNoValuePassedOnAlternativeName(Option o, Map<String, String> data)
focal_class.class_method_signature: RequiredParameters.checkAmbiguousValues(Option o, Map<String, String> data)
focal_class.full_signature: private void checkAmbiguousValues(Option o, Map<String, String> data)
focal_class.identifier: checkAmbiguousValues
focal_class.modifiers: private
focal_class.parameters: (Option o, Map<String, String> data)
focal_class.return: void
focal_class.signature: void checkAmbiguousValues(Option o, Map<String, String> data)
focal_class.class_method_signature: RequiredParameters.getHelp()
focal_class.full_signature: public String getHelp()
focal_class.identifier: getHelp
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHelp()
focal_class.class_method_signature: RequiredParameters.getHelp(List<String> missingArguments)
focal_class.full_signature: public String getHelp(List<String> missingArguments)
focal_class.identifier: getHelp
focal_class.modifiers: public
focal_class.parameters: (List<String> missingArguments)
focal_class.return: String
focal_class.signature: String getHelp(List<String> missingArguments)
focal_class.class_method_signature: RequiredParameters.helpText(Option option)
focal_class.full_signature: private String helpText(Option option)
focal_class.identifier: helpText
focal_class.modifiers: private
focal_class.parameters: (Option option)
focal_class.return: String
focal_class.signature: String helpText(Option option)
focal_class.class_method_signature: RequiredParameters.missingArgumentsText(List<String> missingArguments)
focal_class.full_signature: private String missingArgumentsText(List<String> missingArguments)
focal_class.identifier: missingArgumentsText
focal_class.modifiers: private
focal_class.parameters: (List<String> missingArguments)
focal_class.return: String
focal_class.signature: String missingArgumentsText(List<String> missingArguments)
focal_method.body: public Option add(String name) throws RequiredParametersException {
  		if (!this.data.containsKey(name)) {
  			Option option = new Option(name);
  			this.data.put(name, option);
  			return option;
  		} else {
  			throw new RequiredParametersException("Option with key " + name + " already exists.");
  		}
  	}
focal_method.class_method_signature: RequiredParameters.add(String name)
focal_method.full_signature: public Option add(String name)
focal_method.identifier: add
focal_method.invocations: containsKey put
focal_method.modifiers: public
focal_method.parameters: (String name)
focal_method.return: Option
focal_method.signature: Option add(String name)