test_class.file: flink-core/src/test/java/org/apache/flink/api/common/operators/SingleInputSemanticPropertiesTest.java
test_class.identifier: SingleInputSemanticPropertiesTest
test_case.body: @Test(expected = IndexOutOfBoundsException.class)
  	public void testAllForwardedSingleInputSemPropsInvalidIndex1() {
  
  		SingleInputSemanticProperties sp = new SingleInputSemanticProperties.AllFieldsForwardedProperties();
  		sp.getForwardingSourceField(1, 0);
  	}
test_case.class_method_signature: SingleInputSemanticPropertiesTest.testAllForwardedSingleInputSemPropsInvalidIndex1()
test_case.full_signature: @Test(expected = IndexOutOfBoundsException.class) public void testAllForwardedSingleInputSemPropsInvalidIndex1()
test_case.identifier: testAllForwardedSingleInputSemPropsInvalidIndex1
test_case.invocations: getForwardingSourceField
test_case.modifiers: @Test(expected = IndexOutOfBoundsException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAllForwardedSingleInputSemPropsInvalidIndex1()
focal_class.declarator: serialVersionUID = 1L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 1L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: fieldMapping
focal_class.modifier: private
focal_class.original_string: private Map<Integer,FieldSet> fieldMapping;
focal_class.type: Map<Integer,FieldSet>
focal_class.var_name: fieldMapping
focal_class.declarator: readFields
focal_class.modifier: private
focal_class.original_string: private FieldSet readFields;
focal_class.type: FieldSet
focal_class.var_name: readFields
focal_class.file: flink-core/src/main/java/org/apache/flink/api/common/operators/SingleInputSemanticProperties.java
focal_class.identifier: SingleInputSemanticProperties
focal_class.interfaces: implements SemanticProperties
focal_class.class_method_signature: SingleInputSemanticProperties.SingleInputSemanticProperties()
focal_class.full_signature: public  SingleInputSemanticProperties()
focal_class.identifier: SingleInputSemanticProperties
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  SingleInputSemanticProperties()
focal_class.class_method_signature: SingleInputSemanticProperties.getForwardingTargetFields(int input, int sourceField)
focal_class.full_signature: @Override public FieldSet getForwardingTargetFields(int input, int sourceField)
focal_class.identifier: getForwardingTargetFields
focal_class.modifiers: @Override public
focal_class.parameters: (int input, int sourceField)
focal_class.return: FieldSet
focal_class.signature: FieldSet getForwardingTargetFields(int input, int sourceField)
focal_class.class_method_signature: SingleInputSemanticProperties.getForwardingSourceField(int input, int targetField)
focal_class.full_signature: @Override public int getForwardingSourceField(int input, int targetField)
focal_class.identifier: getForwardingSourceField
focal_class.modifiers: @Override public
focal_class.parameters: (int input, int targetField)
focal_class.return: int
focal_class.signature: int getForwardingSourceField(int input, int targetField)
focal_class.class_method_signature: SingleInputSemanticProperties.getReadFields(int input)
focal_class.full_signature: @Override public FieldSet getReadFields(int input)
focal_class.identifier: getReadFields
focal_class.modifiers: @Override public
focal_class.parameters: (int input)
focal_class.return: FieldSet
focal_class.signature: FieldSet getReadFields(int input)
focal_class.class_method_signature: SingleInputSemanticProperties.addForwardedField(int sourceField, int targetField)
focal_class.full_signature: public void addForwardedField(int sourceField, int targetField)
focal_class.identifier: addForwardedField
focal_class.modifiers: public
focal_class.parameters: (int sourceField, int targetField)
focal_class.return: void
focal_class.signature: void addForwardedField(int sourceField, int targetField)
focal_class.class_method_signature: SingleInputSemanticProperties.isTargetFieldPresent(int targetField)
focal_class.full_signature: private boolean isTargetFieldPresent(int targetField)
focal_class.identifier: isTargetFieldPresent
focal_class.modifiers: private
focal_class.parameters: (int targetField)
focal_class.return: boolean
focal_class.signature: boolean isTargetFieldPresent(int targetField)
focal_class.class_method_signature: SingleInputSemanticProperties.addReadFields(FieldSet readFields)
focal_class.full_signature: public void addReadFields(FieldSet readFields)
focal_class.identifier: addReadFields
focal_class.modifiers: public
focal_class.parameters: (FieldSet readFields)
focal_class.return: void
focal_class.signature: void addReadFields(FieldSet readFields)
focal_class.class_method_signature: SingleInputSemanticProperties.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
  	public int getForwardingSourceField(int input, int targetField) {
  		if (input != 0) {
  			throw new IndexOutOfBoundsException();
  		}
  
  		for (Map.Entry<Integer, FieldSet> e : fieldMapping.entrySet()) {
  			if (e.getValue().contains(targetField)) {
  				return e.getKey();
  			}
  		}
  		return -1;
  	}
focal_method.class_method_signature: SingleInputSemanticProperties.getForwardingSourceField(int input, int targetField)
focal_method.full_signature: @Override public int getForwardingSourceField(int input, int targetField)
focal_method.identifier: getForwardingSourceField
focal_method.invocations: entrySet contains getValue getKey
focal_method.modifiers: @Override public
focal_method.parameters: (int input, int targetField)
focal_method.return: int
focal_method.signature: int getForwardingSourceField(int input, int targetField)