@PublicAPI(usage = ACCESS)
    public Set<Dependency> getDependenciesToSelf() {
        ImmutableSet.Builder<Dependency> result = ImmutableSet.builder();
        for (JavaClass javaClass : this) {
            for (Dependency dependency : javaClass.getDirectDependenciesToSelf()) {
                if (isNotAssignedToOwnSlice(dependency.getOriginClass())) {
                    result.add(dependency);
                }
            }
        }
        return result.build();
    }
@ PublicAPI ( usage = ACCESS ) public Set < Dependency > getDependenciesToSelf ( ) { ImmutableSet . Builder < Dependency > result = ImmutableSet . builder ( ) ; for ( JavaClass javaClass : this ) { for ( Dependency dependency : javaClass . getDirectDependenciesToSelf ( ) ) { if ( isNotAssignedToOwnSlice ( dependency . getOriginClass ( ) ) ) { result . add ( dependency ) ; } } } return result . build ( ) ; }
@return All dependencies that originate from outside of this {@link Slice} and target a class within this {@link Slice}