JavaParserProxyJvm
A JavaParserProxy that relies on java-class-name in the class path, rather than downloading it and running it as an external binary.
Should be used from Scala CLI when it's run on the JVM.
Value members
Concrete methods
Extracts the class name of a Java source, using the dotty Java parser.
Extracts the class name of a Java source, using the dotty Java parser.
- Value parameters:
- content
the Java source to extract a class name from
- Returns:
either some class name (if one was found) or none (if none was found), or a BuildException
- Definition Classes