private static boolean removeInCurrentStep(Resource resource) {
        for (String childType : resource.getChildTypes()) {
            for (Resource.ResourceEntry entry : resource.getChildren(childType)) {
                if (!entry.isRuntime() && resource.hasChild(entry.getPathElement())) {
                    return false;
                }
            }
        }
        return true;
    }
private static boolean removeInCurrentStep(Resource resource) {
        for (String childType : resource.getChildTypes()) {
            for (Resource.ResourceEntry entry : resource.getChildren(childType)) {
                if (!entry.isRuntime() && resource.hasChild(entry.getPathElement())) {
                    return false;
                }
            }
        }
        return true;
    }
private static boolean removeInCurrentStep ( Resource resource ) { for ( String childType : resource . getChildTypes ( ) ) { for ( Resource . ResourceEntry entry : resource . getChildren ( childType ) ) { if ( ! entry . isRuntime ( ) && resource . hasChild ( entry . getPathElement ( ) ) ) { return false ; } } } return true ; }
/*
Determines whether resource removal happens in this step, or a subsequent step
/ * Determines whether resource removal happens in this step or a subsequent step