Package sun.tools.java

Examples of sun.tools.java.BinaryClass


      }
      ClassFile file = pkg.getBinaryFile(id.getName());
      if (file == null)
    throw new IllegalArgumentException("No file for: " +
               id.getName());
      BinaryClass bc;
      try {
    bc = loadFile(file);
      } catch (IOException e) {
    throw new IllegalArgumentException("IOException: " +
               e.getMessage());
      }
      if (bc == null)
    throw new IllegalArgumentException("No class in: " +
               file);
      if (!bc.getName().equals(id))
    throw new IllegalArgumentException("Wrong class in: " +
               file);
      c.setDefinition(bc, CS_BINARY);
      bc.loadNested(this, ATT_ALLCLASSES);
  }
View Full Code Here

TOP

Related Classes of sun.tools.java.BinaryClass

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.