public abstract class AbstractProcessor extends Object
| Constructor and Description |
|---|
AbstractProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureFolderExists(java.nio.file.Path path) |
protected String |
moduleName(ASTCompilationUnit unit) |
protected java.nio.file.Path |
outputFile(java.nio.file.Path targetFolder,
String moduleName,
String extension) |
abstract void |
process(List<ASTCompilationUnit> units,
java.nio.file.Path targetFolder) |
abstract String |
render(ASTCompilationUnit compilationUnit) |
protected java.lang.invoke.MethodHandle |
template(String name,
String format) |
public abstract String render(ASTCompilationUnit compilationUnit) throws Throwable
Throwablepublic abstract void process(List<ASTCompilationUnit> units, java.nio.file.Path targetFolder) throws Throwable
Throwableprotected java.lang.invoke.MethodHandle template(String name, String format) throws IOException
IOExceptionprotected void ensureFolderExists(java.nio.file.Path path) throws IOException
IOExceptionprotected java.nio.file.Path outputFile(java.nio.file.Path targetFolder, String moduleName, String extension)
protected String moduleName(ASTCompilationUnit unit)
Copyright © 2013 Institut National des Sciences Appliquées de Lyon (INSA-Lyon). All Rights Reserved.