public class TryWithStatement extends AbstractCodeElement implements TryStatement
| Modifier and Type | Class and Description |
|---|---|
static class |
TryWithStatement.Builder |
| Modifier and Type | Method and Description |
|---|---|
TryCatchStatement.Builder |
_catch(Class<? extends Throwable> type1,
Class<? extends Throwable> type2,
Identifier id) |
TryCatchStatement.Builder |
_catch(Class<? extends Throwable> type,
Identifier id) |
CodeWriter |
acceptCodeWriter(CodeWriter w) |
void |
acceptStatementOrBlockBuilder(StatementOrBlockBuilder builder) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, wait_try, _tryacceptSemicolonpublic final CodeWriter acceptCodeWriter(CodeWriter w)
acceptCodeWriter in interface CodeElementpublic final void acceptStatementOrBlockBuilder(StatementOrBlockBuilder builder)
acceptStatementOrBlockBuilder in interface BlockElementpublic final TryCatchStatement.Builder _catch(Class<? extends Throwable> type, Identifier id)
public final TryCatchStatement.Builder _catch(Class<? extends Throwable> type1, Class<? extends Throwable> type2, Identifier id)
Copyright © 2019 Objectos Software LTDA. All rights reserved.