public final class JSTypeResolver.Closer
extends java.lang.Object
implements java.lang.AutoCloseable
This is intended to be used in a try-with-resources statement. This approach was selected over accepting a callback because it supports some level of compile-time enforcement while allowing that enforcement to be suppressed in tests.
| Constructor and Description |
|---|
Closer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Copyright © 2009-2020 Google. All Rights Reserved.