public abstract static class Java.TryStatement.Resource extends Java.Located
NOWHERE| Modifier | Constructor and Description |
|---|---|
protected |
Resource(Location location) |
| Modifier and Type | Method and Description |
|---|---|
abstract <R,EX extends Throwable> |
accept(Visitor.TryStatementResourceVisitor<R,EX> visitor)
Invokes the "
visit...()" method of Visitor.TryStatementResourceVisitor for the concrete Java.TryStatement.Resource type. |
abstract void |
setEnclosingTryStatement(Java.TryStatement tryStatement)
Sets the enclosing scope for this object and all subordinate
Java.TryStatement.Resource objects. |
getLocation, throwCompileExceptionprotected Resource(Location location)
public abstract void setEnclosingTryStatement(Java.TryStatement tryStatement)
Java.TryStatement.Resource objects.@Nullable public abstract <R,EX extends Throwable> R accept(Visitor.TryStatementResourceVisitor<R,EX> visitor) throws EX extends Throwable
visit...()" method of Visitor.TryStatementResourceVisitor for the concrete Java.TryStatement.Resource type.EX extends ThrowableCopyright © 2019. All rights reserved.