Package de.fub.bytecode

Examples of de.fub.bytecode.ClassPath


  public void visitUnknown(Unknown obj) {}   

  public static void main(String[] argv) {
    ClassParser parser=null;
    JavaClass   java_class;
    ClassPath   class_path = new ClassPath();

    try {
      if(argv.length == 0) {
  System.err.println("disassemble: No input files specified");
      }
      else {
  for(int i=0; i < argv.length; i++) {
    if(argv[i].endsWith(".class"))
      parser = new ClassParser(argv[i]); // Create parser object
    else {
      InputStream is = class_path.getInputStream(argv[i]);
      String    name = argv[i].replace('.', '/') + ".class";

      parser = new ClassParser(is, name);
    }
     
View Full Code Here

TOP

Related Classes of de.fub.bytecode.ClassPath

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.