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