test_class.file: CodeSmells/src/ttt/GameTest.java
test_class.identifier: GameTest
test_case.body: @Test
  	public void testWinConditions() {
  		Game game = new Game("---XXX---");
  		assertEquals('X', game.winner());
  	}
test_case.class_method_signature: GameTest.testWinConditions()
test_case.full_signature: @Test public void testWinConditions()
test_case.identifier: testWinConditions
test_case.invocations: assertEquals winner
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWinConditions()
focal_class.declarator: board
focal_class.modifier: public
focal_class.original_string: public StringBuffer board;
focal_class.type: StringBuffer
focal_class.var_name: board
focal_class.file: CodeSmells/src/ttt/Game.java
focal_class.identifier: Game
focal_class.class_method_signature: Game.Game(String s)
focal_class.full_signature: public  Game(String s)
focal_class.identifier: Game
focal_class.modifiers: public
focal_class.parameters: (String s)
focal_class.signature:  Game(String s)
focal_class.class_method_signature: Game.Game(StringBuffer s, int position, char player)
focal_class.full_signature: public  Game(StringBuffer s, int position, char player)
focal_class.identifier: Game
focal_class.modifiers: public
focal_class.parameters: (StringBuffer s, int position, char player)
focal_class.signature:  Game(StringBuffer s, int position, char player)
focal_class.class_method_signature: Game.move(char player)
focal_class.full_signature: public int move(char player)
focal_class.identifier: move
focal_class.modifiers: public
focal_class.parameters: (char player)
focal_class.return: int
focal_class.signature: int move(char player)
focal_class.class_method_signature: Game.play(int i, char player)
focal_class.full_signature: public Game play(int i, char player)
focal_class.identifier: play
focal_class.modifiers: public
focal_class.parameters: (int i, char player)
focal_class.return: Game
focal_class.signature: Game play(int i, char player)
focal_class.class_method_signature: Game.winner()
focal_class.full_signature: public char winner()
focal_class.identifier: winner
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: char
focal_class.signature: char winner()
focal_method.body: public char winner() {
  		if (board.charAt(0) != '-' 
              && board.charAt(0) == board.charAt(1) 
              && board.charAt(1) == board.charAt(2))
  			return board.charAt(0);
  		if (board.charAt(3) != '-' 
              && board.charAt(3) == board.charAt(4) 
              && board.charAt(4) == board.charAt(5))
  			return board.charAt(3);
  		if (board.charAt(6) != '-' 
              && board.charAt(6) == board.charAt(7) 
              && board.charAt(7) == board.charAt(8))
  			return board.charAt(6);
  		return '-';
  	}
focal_method.class_method_signature: Game.winner()
focal_method.full_signature: public char winner()
focal_method.identifier: winner
focal_method.invocations: charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt charAt
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: char
focal_method.signature: char winner()