@PublicAPI(usage = ACCESS)
    public Set<Dependency> getDirectDependenciesFromSelf() {
        return javaClassDependencies.getDirectDependenciesFromClass();
    }
@Test
    public void direct_dependencies_from_self_by_annotation() {
        JavaClass javaClass = importClasses(ClassWithAnnotationDependencies.class)
                .get(ClassWithAnnotationDependencies.class);

        assertThat(javaClass.getDirectDependenciesFromSelf())
                .areAtLeastOne(annotationTypeDependency()
                        .from(ClassWithAnnotationDependencies.class)
                        .to(OnClass.class)
                        .inLineNumber(0))
                .areAtLeastOne(annotationTypeDependency()
                        .from(ClassWithAnnotationDependencies.class)
                        .to(OnField.class)
                        .inLineNumber(0))
                .areAtLeastOne(annotationTypeDependency()
                        .from(ClassWithAnnotationDependencies.class)
                        .to(OnConstructor.class)
                        .inLineNumber(0))
                .areAtLeastOne(annotationTypeDependency()
                        .from(ClassWithAnnotationDependencies.class)
                        .to(OnMethod.class)
                        .inLineNumber(0))
                .areAtLeastOne(annotationTypeDependency()
                        .from(ClassWithAnnotationDependencies.class)
                        .to(OnMethodParam.class)
                        .inLineNumber(0))
                .areAtLeastOne(annotationMemberOfTypeDependency()
                        .from(ClassWithAnnotationDependencies.class)
                        .to(WithType.class)
                        .inLineNumber(0))
                .areAtLeastOne(annotationMemberOfTypeDependency()
                        .from(ClassWithAnnotationDependencies.class)
                        .to(B.class)
                        .inLineNumber(0));
    }