Class Debug

java.lang.Object
ch.raffael.meldioc.processor.Debug

public class Debug extends Object
Provides an entry point for debugging the processor, holds some constants to turn debugging features on and of.

It invokes javac with our processor using the tools API. A certain file structure (prepared by the Gradle build) is expected:

  • baseDir/classpath.list: a file containing the classpath, one entry per line.
  • baseDir/sources.list: a file containing the Java source files to be compiled, one entry per line.

The class will use baseDir/classes as compile output directory and baseDir/gensrc as the output directory for generated sources.

The basePath must be given as first argument on the command line, slashes will be replaced by the platform-specific file separator.

  • Field Details

  • Constructor Details

    • Debug

      public Debug()
  • Method Details