1 32 33 package com.jeantessier.dependency; 34 35 import java.util.*; 36 37 public class ClosureOutboundSelector extends ClosureLayerSelector { 38 public ClosureOutboundSelector() { 39 super(); 40 } 41 42 public ClosureOutboundSelector(NodeFactory factory, Collection coverage) { 43 super(factory, coverage); 44 } 45 46 public void visitPackageNode(PackageNode node) { 47 super.visitPackageNode(node); 48 49 traverseOutbound(node.getOutboundDependencies()); 50 } 51 52 public void visitClassNode(ClassNode node) { 53 super.visitClassNode(node); 54 55 traverseOutbound(node.getOutboundDependencies()); 56 } 57 58 public void visitFeatureNode(FeatureNode node) { 59 super.visitFeatureNode(node); 60 61 traverseOutbound(node.getOutboundDependencies()); 62 } 63 } 64 | Popular Tags |