Class ClasspathlessCompiler.Arguments

java.lang.Object
io.github.mkoncek.classpathless.api.ClasspathlessCompiler.Arguments
Enclosing interface:
ClasspathlessCompiler

public static class ClasspathlessCompiler.Arguments extends Object
  • Field Details

    • useHostSystemClasses

      private boolean useHostSystemClasses
    • useHostJavaLangObject

      private boolean useHostJavaLangObject
    • compilerOptions

      private List<String> compilerOptions
    • patchModules

      private Map<String,String> patchModules
  • Constructor Details

    • Arguments

      public Arguments()
  • Method Details

    • compilerOptions

      public List<String> compilerOptions()
      Returns:
      A view of the compiler argument strings.
    • useHostSystemClasses

      public boolean useHostSystemClasses()
      Returns:
      The value of the option.
    • useHostJavaLangObject

      public boolean useHostJavaLangObject()
      Returns:
      The value of the option.
    • patchModules

      public Map<String,String> patchModules()
      Returns:
      The view of package names mapped to module names.
    • compilerOptions

      public ClasspathlessCompiler.Arguments compilerOptions(Collection<String> value)
      Set flags which will be passed to the compiler.
      Parameters:
      value - A collection of compiler flags.
      Returns:
      this.
    • useHostSystemClasses

      public ClasspathlessCompiler.Arguments useHostSystemClasses(boolean value)
      Set flag whether or not to use host system classes. System classes are those provided with the installation of JDK. If set to false, the compiler will use system classes provided by the provider.
      Parameters:
      value - The value of the option.
      Returns:
      this.
    • useHostJavaLangObject

      public ClasspathlessCompiler.Arguments useHostJavaLangObject(boolean value)
      Set flag whether or not to use host java.lang.Object class regardless of "useHostSystemClasses". Setting this to true is a workaround preventing processes running under the DCEVM JVM from crashing.
      Parameters:
      value - The value of the option.
      Returns:
      this.