Uses of Class
org.codehaus.janino.Java.TryStatement
Packages that use Java.TryStatement
Package
Description
The core of the Janino Java compiler.
Application-independent helper classes.
-
Uses of Java.TryStatement in org.codehaus.janino
Fields in org.codehaus.janino declared as Java.TryStatementModifier and TypeFieldDescriptionprivate Java.TryStatement
Java.CatchClause.enclosingTryStatement
Link to the enclosing TRY statement.Methods in org.codehaus.janino with parameters of type Java.TryStatementModifier and TypeMethodDescriptionprivate void
UnitCompiler.buildLocalVariableMap
(Java.TryStatement ts, Map<String, Java.LocalVariable> localVars) private boolean
UnitCompiler.compile2
(Java.TryStatement ts) private boolean
UnitCompiler.compileTryCatch
(Java.TryStatement tryStatement, UnitCompiler.Compilable2 compileBody, CodeContext.Offset beginningOfBody, CodeContext.Offset afterStatement) Generates code for a TRY statement without resources and without a FINALLY clause.private boolean
UnitCompiler.compileTryCatchFinally
(Java.TryStatement ts, UnitCompiler.Compilable2 compileBody, Java.BlockStatement finallY) Generates code for a TRY statement without resources, but with an (optional) FINALLY clause.private boolean
UnitCompiler.compileTryCatchFinallyWithResources
(Java.TryStatement ts, List<Java.TryStatement.Resource> resources, UnitCompiler.Compilable2 compileBody, Java.Block finallY) Generates code for a TRY statement with (possibly zero) resources and an (optional) FINALLY clause.private void
UnitCompiler.leave2
(Java.TryStatement ts) void
Java.CatchClause.setEnclosingTryStatement
(Java.TryStatement enclosingTryStatement) Links this CATCH clause to the enclosing TRY statement.void
Java.TryStatement.LocalVariableDeclaratorResource.setEnclosingTryStatement
(Java.TryStatement ts) abstract void
Java.TryStatement.Resource.setEnclosingTryStatement
(Java.TryStatement tryStatement) Sets the enclosing scope for this object and all subordinateJava.TryStatement.Resource
objects.void
Java.TryStatement.VariableAccessResource.setEnclosingTryStatement
(Java.TryStatement ts) Visitor.BlockStatementVisitor.visitTryStatement
(Java.TryStatement ts) Invoked byaccept(Visitor.BlockStatementVisitor)
-
Uses of Java.TryStatement in org.codehaus.janino.util
Methods in org.codehaus.janino.util with parameters of type Java.TryStatementModifier and TypeMethodDescriptionDeepCopier.copyTryStatement
(Java.TryStatement ts) void
AbstractTraverser.traverseTryStatement
(Java.TryStatement ts) void
Traverser.traverseTryStatement
(Java.TryStatement ts)