Changed the if statements with .equal and changed this.String () to this.getLocalClassName()