Uses of Class
asteroid.statements.TryCatchStatementBuilder
-
Packages that use TryCatchStatementBuilder Package Description asteroid This package contains:
Classes to implement a local AST transformation Classes to access builder to create: nodes, expressions, statements Classes to make it easier to access AST node values Classes to check AST nodes Most of the times you can access all these functionalities through theAclassasteroid.statements This package contains utility classes to create statements -
-
Uses of TryCatchStatementBuilder in asteroid
Methods in asteroid that return TryCatchStatementBuilder Modifier and Type Method Description static TryCatchStatementBuilderStatements. tryCatchSBuilder()Returns an instance ofTryCatchStatementBuilderto build complex try/catch statements the easy way. -
Uses of TryCatchStatementBuilder in asteroid.statements
Methods in asteroid.statements that return TryCatchStatementBuilder Modifier and Type Method Description TryCatchStatementBuilderTryCatchStatementBuilder. addCatchStmt(Class exceptionType, String exceptionVarName, Statement stmt)Adds one catch statement to catch a specific exception giving a specific name for the exception variable.TryCatchStatementBuilderTryCatchStatementBuilder. addCatchStmt(ClassNode exceptionType, String exceptionVarName, Statement stmt)Adds one catch statement to catch a specific exception giving a specific name for the exception variable.TryCatchStatementBuilderTryCatchStatementBuilder. finallyStmt(Statement stmt)Adds the statement that will be placed inside the finally blockTryCatchStatementBuilderTryCatchStatementBuilder. tryStmt(Statement stmt)Adds the try statement
-