@Test void references() { Map<String, List<Location>> references = provider.references(MODEL); assertEquals(EXPECTED_LOCATIONS, references); }
@Nonnull @Override public Map<String, List<Location>> references(@Nonnull MyDocumentModel document) { return document.getAnalysisResult().getConstantUsages(); }
ConstantLocations implements SemanticLocations { @Nonnull @Override public Map<String, List<Location>> references(@Nonnull MyDocumentModel document) { return document.getAnalysisResult().getConstantUsages(); } }
ConstantLocations implements SemanticLocations { @Nonnull @Override public Map<String, List<Location>> references(@Nonnull MyDocumentModel document) { return document.getAnalysisResult().getConstantUsages(); }  }
ConstantLocations implements SemanticLocations { @Nonnull @Override public Map<String, List<Location>> references(@Nonnull MyDocumentModel document) { return document.getAnalysisResult().getConstantUsages(); }  @Nonnull @Override Map<String, List<Location>> references(@Nonnull MyDocumentModel document); @Nonnull @Override Map<String, List<Location>> definitions(@Nonnull MyDocumentModel document); @Override boolean containsToken(@Nonnull MyDocumentModel document, @Nonnull String token); }
ConstantLocations implements SemanticLocations { @Nonnull @Override public Map<String, List<Location>> references(@Nonnull MyDocumentModel document) { return document.getAnalysisResult().getConstantUsages(); }  @Nonnull @Override Map<String, List<Location>> references(@Nonnull MyDocumentModel document); @Nonnull @Override Map<String, List<Location>> definitions(@Nonnull MyDocumentModel document); @Override boolean containsToken(@Nonnull MyDocumentModel document, @Nonnull String token);  }