Transform try-with-resources to try-catch-finally Reference JLS "14.20.3. try-with-resources"(https://docs.oracle.com/javase/specs/jls/se7/html/jls-14.html)
Constructor and description |
---|
TryWithResourcesASTTransformation
(AstBuilder astBuilder) |
Type Params | Return Type | Name and description |
---|---|---|
|
Statement |
transform(TryCatchStatement tryCatchStatement) Reference JLS "14.20.3. try-with-resources"(https://docs.oracle.com/javase/specs/jls/se7/html/jls-14.html) |
Reference JLS "14.20.3. try-with-resources"(https://docs.oracle.com/javase/specs/jls/se7/html/jls-14.html)
tryCatchStatement
- the try-with-resources statement to transformCopyright © 2003-2018 The Apache Software Foundation. All rights reserved.