test_class.declarator: it
test_class.original_string: IndentTracker it;
test_class.type: IndentTracker
test_class.var_name: it
test_class.file: core/prettyprinting/npp/src/test/java/org/overture/core/npp/IndentTrackerTest.java
test_class.identifier: IndentTrackerTest
test_case.body: @Test
  	public void testIndent_1Level_MultiLine() {
  		String expected = "\tmulti\n\tline\n\tstring";
  		String input = "multi\nline\nstring";
  		String actual = it.indent(input);
  		assertEquals(expected, actual);
  	}
test_case.class_method_signature: IndentTrackerTest.testIndent_1Level_MultiLine()
test_case.full_signature: @Test public void testIndent_1Level_MultiLine()
test_case.identifier: testIndent_1Level_MultiLine
test_case.invocations: indent assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIndent_1Level_MultiLine()
focal_class.declarator: count
focal_class.modifier: private
focal_class.original_string: private int count;
focal_class.type: int
focal_class.var_name: count
focal_class.declarator: indent = "\t"
focal_class.modifier: private
focal_class.original_string: private String indent = "\t";
focal_class.type: String
focal_class.var_name: indent
focal_class.file: core/prettyprinting/npp/src/main/java/org/overture/core/npp/IndentTracker.java
focal_class.identifier: IndentTracker
focal_class.class_method_signature: IndentTracker.IndentTracker()
focal_class.full_signature: public  IndentTracker()
focal_class.identifier: IndentTracker
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  IndentTracker()
focal_class.class_method_signature: IndentTracker.decrIndent()
focal_class.full_signature:  void decrIndent()
focal_class.identifier: decrIndent
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void decrIndent()
focal_class.class_method_signature: IndentTracker.getIndentation()
focal_class.full_signature:  String getIndentation()
focal_class.identifier: getIndentation
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getIndentation()
focal_class.class_method_signature: IndentTracker.incrIndent()
focal_class.full_signature:  void incrIndent()
focal_class.identifier: incrIndent
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void incrIndent()
focal_class.class_method_signature: IndentTracker.indent(String s)
focal_class.full_signature:  String indent(String s)
focal_class.identifier: indent
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String indent(String s)
focal_class.class_method_signature: IndentTracker.resetIndent()
focal_class.full_signature:  void resetIndent()
focal_class.identifier: resetIndent
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetIndent()
focal_method.body: String indent(String s)
  	{
  		if (count > 0)
  		{ // don't bother indenting if the level is zero
  			StringBuilder sb = new StringBuilder();
  			sb.append("\n");
  			sb.append(getIndentation());
  			StringBuilder r = new StringBuilder();
  			r.append(getIndentation());
  			r.append(s.replaceAll("\n", sb.toString()));
  			return r.toString();
  		} else
  		{
  			return s;
  		}
  	}
focal_method.class_method_signature: IndentTracker.indent(String s)
focal_method.full_signature:  String indent(String s)
focal_method.identifier: indent
focal_method.invocations: append append getIndentation append getIndentation append replaceAll toString toString
focal_method.parameters: (String s)
focal_method.return: String
focal_method.signature: String indent(String s)