1 package com.kirkk.analyzer.framework; 2 3 import java.util.List ; 4 5 public interface Jar 6 { 7 8 public abstract List getAllContainedPackages(); 9 public abstract List getAllExternallyReferencedPackages(); 10 11 public abstract int getPackageCount(); 12 public abstract int getAbstractClassCount(); 13 public abstract int getClassCount(); 14 public abstract String getJarFileName(); 15 public abstract void addPackage(JarPackage jarPackage); 16 17 public abstract JarPackage getPackage(String packageName); 18 19 public abstract boolean containsPackage(String packageName); 20 public abstract List getOutgoingDependencies(); 21 public abstract List getIncomingDependencies(); 22 public abstract List getAllUnidentifiableExternallyReferencedPackages(); 23 24 public boolean hasCycles(); 25 public List getCyclicJars(); 26 27 public void addOutgoingDependency(Jar jar); 28 public void addIncomingDependency(Jar jar); 29 public void addCyclicJar(Jar jar); 30 public JarMetrics calculateMetrics(); 31 } 32 | Popular Tags |