Examples of StubCreator


Examples of ch.mtSystems.gcjStubber.model.stubCreator.StubCreator

      {
        phaseProcessed = i + 2;

        try
        {
          StubCreator stubCreator;
          if(i == 0)
          {
            stubCreator = new MinimalStubCreator(missingClasses, stubJar,
                stubObject, cmdGcj, new File(stubsDir, "tmp"), libgcjDotJar, classesInObject);
          } else if(i == 1)
          {
            stubCreator = new MinimalWithInheritanceStubCreator(missingClasses,
                stubJar, stubObject, cmdGcj, new File(stubsDir, "tmp"), libgcjDotJar, classesInObject);
          } else if(i == 2)
          {
            stubCreator = new FullPublicInterfaceStubCreator(missingClasses,
                stubJar, stubObject, cmdGcj, new File(stubsDir, "tmp"), libgcjDotJar, classesInObject);
          } else
          {
            throw new Exception("Can't be here?!");
          }
          stubCreator.create();
 
          // compile again, has to work with the created stub
          commandExecutor = new CommandExecutor(cmd.toArray(new String[0]), stubsDir);
          commandExecutor.execute();
          if(commandExecutor.getOutput().length != 0 || commandExecutor.getError().length != 0)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.