JavaPreprocessor

final case class JavaPreprocessor(archiveCache: ArchiveCache[Task], javaClassNameVersionOpt: Option[String]) extends Preprocessor

Java source preprocessor.

Doesn't modify Java sources. This only extracts using directives from them, and for unnamed sources (like stdin), tries to infer a class name from the sources themselves.

Value parameters:
archiveCache

when using a java-class-name external binary to infer a class name (see JavaParserProxy), a cache to download that binary with

javaClassNameVersionOpt

when using a java-class-name external binary to infer a class name (see JavaParserProxy), this forces the java-class-name version to download

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def preprocess(input: SingleElement, logger: Logger, maybeRecoverOnError: BuildException => Option[BuildException]): Option[Either[BuildException, Seq[PreprocessedSource]]]

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product