forked from typetools/checker-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IOUtils.astub
25 lines (23 loc) · 1.06 KB
/
IOUtils.astub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.apache.commons.io;
import org.checkerframework.checker.calledmethods.qual.*;
class IOUtils {
@EnsuresCalledMethods(value = "#1", methods = "close")
static void closeQuietly(Reader arg0);
@EnsuresCalledMethods(value = "#1", methods = "close")
static void closeQuietly(Writer arg0);
@EnsuresCalledMethods(value = "#1", methods = "close")
static void closeQuietly(InputStream arg0);
@EnsuresCalledMethods(value = "#1", methods = "close")
static void closeQuietly(OutputStream arg0);
@EnsuresCalledMethods(value = "#1", methods = "close")
static void closeQuietly(Closeable arg0);
@SuppressWarnings("ensuresvarargs.unverified")
@EnsuresCalledMethodsVarArgs("close")
static void closeQuietly(Closeable... arg0);
@EnsuresCalledMethods(value = "#1", methods = "close")
static void closeQuietly(Socket arg0);
@EnsuresCalledMethods(value = "#1", methods = "close")
static void closeQuietly(Selector arg0);
@EnsuresCalledMethods(value = "#1", methods = "close")
static void closeQuietly(ServerSocket arg0);
}