AnagramClue extends ClueScroll implements TextClueScroll, NpcClueScroll, ObjectClueScroll { public static AnagramClue forText(String text) { for (AnagramClue clue : CLUES) { if (text.equalsIgnoreCase(ANAGRAM_TEXT + clue.text) || text.equalsIgnoreCase(ANAGRAM_TEXT_BEGINNER + clue.text) || text.equalsIgnoreCase(clue.question)) { return clue; } } return null; } private  AnagramClue(String text, String npc, WorldPoint location, String area); private  AnagramClue(String text, String npc, WorldPoint location, String area, @Nullable String question, @Nullable String answer); private  AnagramClue(String text, String npc, int objectId, WorldPoint location, String area, String question, String answer); @Override void makeOverlayHint(PanelComponent panelComponent, ClueScrollPlugin plugin); @Override void makeWorldOverlayHint(Graphics2D graphics, ClueScrollPlugin plugin); static AnagramClue forText(String text); @Override String[] getNpcs(); @Override int[] getObjectIds();  }
@Test public void forTextEmptyString() { assertNull(AnagramClue.forText("")); }