Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
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/bcel/BCELPublicClass.java
package com.kirkk.analyzer.framework.bcel;
import com.kirkk.analyzer.framework.JarClass;
import java.util.*;
import org.apache.bcel.classfile.JavaClass;
import org.apache.bcel.classfile.Method;
import org.apache.bcel.classfile.ConstantPool;
import org.apache.bcel.classfile.ConstantUtf8;
import org.apache.bcel.classfile.DescendingVisitor;
public class BCELPublicClass implements JarClass {
//private JavaClass javaClass;
private static List ignorePackages;
private List importedPackages;
private List publicMethods;
private String packageName;
private String longName;
private boolean isAbstract;
private boolean isPublic;
private boolean isInterface;
public BCELPublicClass(String fileName, String className) throws Exception {
this(fileName, className, new ArrayList());
}
public BCELPublicClass(String fileName, String className, List ignorePackages) throws Exception {
this(BCELClassFactory.getClass(fileName, className), ignorePackages);
}
private BCELPublicClass(JavaClass javaClass, List ignorePackages) {
this.importedPackages = this.getImportedPackages(javaClass, ignorePackages);
//this.publicMethods = this.getPublicMethods(javaClass);
this.packageName = javaClass.getPackageName();
this.isAbstract = javaClass.isAbstract();
this.isPublic = javaClass.isPublic();
this.longName = javaClass.getClassName();
this.isInterface = javaClass.isInterface();
//this.javaClass = javaClass;
}
private List getImportedPackages(JavaClass javaClass, List ignorePackages) {
PackageVisitor pVisitor = new PackageVisitor(javaClass);
DescendingVisitor dVisitor = new DescendingVisitor(javaClass, pVisitor);
javaClass.accept(dVisitor);
return pVisitor.getImports(ignorePackages);
//return pVisitor.getNonJavaImports();
}
/*private List getPublicMethods(JavaClass javaClass) {
ArrayList arraylist = new ArrayList();
Method methods[] = javaClass.getMethods();
for(int i = 0; i < methods.length; i++) {
if (methods[i].isPublic()) {
arraylist.add(new BCELPublicMethod(methods[i]));
}
}
return arraylist;
}*/
public boolean isPublic() {
return this.isPublic;
}
public boolean isAbstract() {
return this.isAbstract;
}
public List getImportedPackageNames() {
return this.importedPackages;
}
public String getPackageName() {
return this.packageName;
}
public String getLongName() {
return this.longName;
}
/*public List getPublicMethods() {
return this.publicMethods;
}*/
public boolean isInterface() {
return this.isInterface;
}
}
⏎ com/kirkk/analyzer/framework/bcel/BCELPublicClass.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
⇐ Download JarAnalyzer Source Package
2021-07-01, ∼8687🔥, 0💬
Popular Posts:
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...
JSP(tm) Standard Tag Library 1.0 implementation - Jakarta Taglibs hosts the Standard Taglib 1.0, an ...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module. JDK 17 Desktop module compiled ...
JDK 11 jdk.javadoc.jmod is the JMOD file for JDK 11 Java Document tool, which can be invoked by the ...