public class OnErrorTranslator extends java.lang.Object implements Translator<Method>
| Constructor and Description |
|---|
OnErrorTranslator(JavaCompiler javac,
JavaCompilerHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.tools.javac.tree.JCTree.JCCatch |
captureException(Method model) |
protected java.lang.String |
catchBlockParameterName(Method model) |
protected com.sun.tools.javac.tree.JCTree.JCTry |
extendWithErrorCapture(Method model,
com.sun.tools.javac.tree.JCTree.JCTry tryFinally) |
protected java.lang.String |
getExecutionStatusHandler() |
protected com.sun.tools.javac.tree.JCTree.JCStatement |
onErrorExpression(Method model) |
void |
translate(Method model) |
public OnErrorTranslator(JavaCompiler javac, JavaCompilerHelper helper)
public void translate(Method model)
translate in interface Translator<Method>protected com.sun.tools.javac.tree.JCTree.JCTry extendWithErrorCapture(Method model, com.sun.tools.javac.tree.JCTree.JCTry tryFinally)
protected java.lang.String getExecutionStatusHandler()
protected com.sun.tools.javac.tree.JCTree.JCCatch captureException(Method model)
protected java.lang.String catchBlockParameterName(Method model)
protected com.sun.tools.javac.tree.JCTree.JCStatement onErrorExpression(Method model)