Package ch.mtSystems.gcjStubber.model

Examples of ch.mtSystems.gcjStubber.model.MissingClass


      }
     
      // also create all hidden missing classes
      for(int i=0; i<hiddenMissingClasses.size(); i++)
      {
        MissingClass missingClass = hiddenMissingClasses.get(i);

        File sourceFile = new File(tmpDir, missingClass.getClassName().replaceAll("\\.", "/") + ".java");
        if(!sourceFile.getParentFile().exists() && !sourceFile.getParentFile().mkdirs())
        {
          throw new Exception("Can't create directory: \"" + sourceFile.getParentFile() + "\"!");
        }
View Full Code Here


      for(MissingClass missingClass : missingClasses)
      {
        if(missingClass.getClassName().equals(className)) return;
      }

      hiddenMissingClasses.add(new MissingClass(className, libgcjDotJar));
    } else
    {
      String parentClassName = className.substring(0, index);

      for(MissingClass missingClass : hiddenMissingClasses)
      {
        if(missingClass.getClassName().equals(parentClassName))
        {
          MissingClass innerClass = missingClass.getInnerClass(className);
          if(innerClass == null) missingClass.addMissingInnerClass(className);
          return;
        }
      }

      for(MissingClass missingClass : missingClasses)
      {
        if(missingClass.getClassName().equals(parentClassName))
        {
          MissingClass innerClass = missingClass.getInnerClass(className);
          if(innerClass == null) missingClass.addMissingInnerClass(className);
          hiddenMissingClasses.add(missingClass);
          return;
        }
      }
     
      MissingClass parentClass = new MissingClass(parentClassName, libgcjDotJar);
      parentClass.addMissingInnerClass(className);
      hiddenMissingClasses.add(parentClass);
    }
  }
View Full Code Here

TOP

Related Classes of ch.mtSystems.gcjStubber.model.MissingClass

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.