@PublicAPI(usage = ACCESS)
    public Set<Dependency> getDirectDependenciesToSelf() {
        return reverseDependencies.getDirectDependenciesTo(this);
    }
@Test
    public void direct_dependencies_to_self_by_references() {
        JavaClass javaClass = importClasses(AReferencingB.class, BReferencedByA.class).get(BReferencedByA.class);

        assertReferencesFromAToB(javaClass.getDirectDependenciesToSelf());
    }