public void addPositionChoice(CodePosition cp){
  if (choices == null) {
    choices=new LinkedList();
  }
  choices.add(cp);
}

public void addPositionChoice ( CodePosition cp ) { if ( choices == null ) { choices = new LinkedList ( ) ; } choices . add ( cp ) ; }
add the codeposition to the choices , creating the choices list if needed .
