JarAnalyzer Source Code Files

Apache Ant Source Code Files are inside the JarAnalyzer source package like JarAnalyzer-src-1.2.zip. Unzip the source package and go to the "src" sub-directory, you will see source code files.

Here is the list of Java source code files of the JarAnalyzer 1.2 in \Users\fyicenter\JarAnalyzer\src:

✍: FYIcenter.com

com/kirkk/analyzer/framework/bcelbundle/JarRelationshipDecorator.java

package com.kirkk.analyzer.framework.bcelbundle;

import java.util.*;
import java.io.*;
import com.kirkk.analyzer.framework.*;

public class JarRelationshipDecorator extends JarCollectionDecorator {

	public JarRelationshipDecorator(JarCollection jarCollection) {
		super(jarCollection);
		this.buildJarRelationships();
	}

	private void buildJarRelationships() {
		while (this.jarCollection.hasNext()) {
			Jar jar = this.jarCollection.nextJar();
			Iterator externalImports = jar.getAllExternallyReferencedPackages().iterator();
			while (externalImports.hasNext()) {
				String packageName = (String) externalImports.next();
				Jar dependentJar = this.jarCollection.getJarContainingPackage(packageName);
				if (dependentJar != null) {
					jar.addOutgoingDependency(dependentJar);
				}
			}
		}
	}

}

com/kirkk/analyzer/framework/bcelbundle/JarRelationshipDecorator.java

 

Or download all of them as a single archive file:

File name: JarAnalyzer-1.20-fyi.zip
File size: 19949 bytes
Release date: 2007-08-03
Download 

 

jarscan - JAR File Scanner

Download JarAnalyzer Source Package

JarAnalyzer by Kirk Knoernschild

⇑⇑ Java/JAR Tools

2021-07-01, 5579👍, 0💬