public final class org.apache.lucene.util.IOUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.IOUtils
super_class: java.lang.Object
{
public static final java.lang.String UTF_8;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/IOUtils;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.util.IOUtils.$assertionsDisabled:Z
3: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
putstatic org.apache.lucene.util.IOUtils.UTF_8:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/IOUtils;
public static void close(java.io.Closeable[]);
descriptor: ([Ljava/io/Closeable;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.apache.lucene.util.IOUtils.close:(Ljava/lang/Iterable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 objects [Ljava/io/Closeable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
objects
public static void close(java.lang.Iterable<? extends java.io.Closeable>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.lang.Iterable java.lang.Throwable top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.Closeable
astore 2
start local 2 3: aload 2
ifnull 8
4: aload 2
invokeinterface java.io.Closeable.close:()V
5: goto 8
StackMap locals: java.lang.Iterable java.lang.Throwable java.io.Closeable java.util.Iterator
StackMap stack: java.lang.Throwable
6: astore 4
start local 4 7: aload 1
aload 4
invokestatic org.apache.lucene.util.IOUtils.useOrSuppress:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 4 end local 2 8: StackMap locals: java.lang.Iterable java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 1
ifnull 11
10: aload 1
invokestatic org.apache.lucene.util.IOUtils.rethrowAlways:(Ljava/lang/Throwable;)Ljava/lang/Error;
athrow
11: StackMap locals: java.lang.Iterable java.lang.Throwable
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 objects Ljava/lang/Iterable<+Ljava/io/Closeable;>;
1 12 1 th Ljava/lang/Throwable;
3 8 2 object Ljava/io/Closeable;
7 8 4 t Ljava/lang/Throwable;
Exception table:
from to target type
3 5 6 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Iterable<+Ljava/io/Closeable;>;)V
MethodParameters:
Name Flags
objects
public static void closeWhileHandlingException(java.io.Closeable[]);
descriptor: ([Ljava/io/Closeable;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:(Ljava/lang/Iterable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 objects [Ljava/io/Closeable;
MethodParameters:
Name Flags
objects
public static void closeWhileHandlingException(java.lang.Iterable<? extends java.io.Closeable>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: java.lang.Iterable java.lang.VirtualMachineError java.lang.Throwable top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.Closeable
astore 3
start local 3 4: aload 3
ifnull 12
5: aload 3
invokeinterface java.io.Closeable.close:()V
6: goto 12
StackMap locals: java.lang.Iterable java.lang.VirtualMachineError java.lang.Throwable java.io.Closeable java.util.Iterator
StackMap stack: java.lang.VirtualMachineError
7: astore 5
start local 5 8: aload 1
aload 5
invokestatic org.apache.lucene.util.IOUtils.useOrSuppress:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.lang.VirtualMachineError
astore 1
end local 5 9: goto 12
10: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 11: aload 2
aload 5
invokestatic org.apache.lucene.util.IOUtils.useOrSuppress:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 2
end local 5 end local 3 12: StackMap locals: java.lang.Iterable java.lang.VirtualMachineError java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
13: aload 1
ifnull 17
14: aload 2
ifnull 16
15: aload 1
aload 2
invokevirtual java.lang.VirtualMachineError.addSuppressed:(Ljava/lang/Throwable;)V
16: StackMap locals: java.lang.Iterable java.lang.VirtualMachineError java.lang.Throwable
StackMap stack:
aload 1
athrow
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 objects Ljava/lang/Iterable<+Ljava/io/Closeable;>;
1 18 1 firstError Ljava/lang/VirtualMachineError;
2 18 2 firstThrowable Ljava/lang/Throwable;
4 12 3 object Ljava/io/Closeable;
8 9 5 e Ljava/lang/VirtualMachineError;
11 12 5 t Ljava/lang/Throwable;
Exception table:
from to target type
4 6 7 Class java.lang.VirtualMachineError
4 6 10 Class java.lang.Throwable
Signature: (Ljava/lang/Iterable<+Ljava/io/Closeable;>;)V
MethodParameters:
Name Flags
objects
public static java.io.Reader getDecodingReader(java.io.InputStream, java.nio.charset.Charset);
descriptor: (Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/io/Reader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
1: getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
2: getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
3: astore 2
start local 2 4: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 0
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/CharsetDecoder;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 stream Ljava/io/InputStream;
0 5 1 charSet Ljava/nio/charset/Charset;
4 5 2 charSetDecoder Ljava/nio/charset/CharsetDecoder;
MethodParameters:
Name Flags
stream
charSet
public static java.io.Reader getDecodingReader(java.lang.Class<?>, java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/io/Reader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: aload 0
3: aload 1
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
4: astore 3
5: aload 3
aload 2
invokestatic org.apache.lucene.util.IOUtils.getDecodingReader:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/io/Reader;
astore 5
start local 5 6: iconst_1
istore 4
7: aload 5
astore 7
8: iload 4
ifne 10
iconst_1
anewarray java.io.Closeable
dup
iconst_0
9: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
10: StackMap locals: java.lang.Class java.lang.String java.nio.charset.Charset java.io.InputStream int java.io.Reader top java.io.Reader
StackMap stack:
aload 7
areturn
end local 5 11: StackMap locals: java.lang.Class java.lang.String java.nio.charset.Charset java.io.InputStream int
StackMap stack: java.lang.Throwable
astore 6
12: iload 4
ifne 14
iconst_1
anewarray java.io.Closeable
dup
iconst_0
13: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
14: StackMap locals: java.lang.Class java.lang.String java.nio.charset.Charset java.io.InputStream int top java.lang.Throwable
StackMap stack:
aload 6
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 clazz Ljava/lang/Class<*>;
0 15 1 resource Ljava/lang/String;
0 15 2 charSet Ljava/nio/charset/Charset;
1 15 3 stream Ljava/io/InputStream;
2 15 4 success Z
6 11 5 reader Ljava/io/Reader;
Exception table:
from to target type
2 8 11 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/io/Reader;
MethodParameters:
Name Flags
clazz
resource
charSet
public static void deleteFilesIgnoringExceptions(org.apache.lucene.store.Directory, java.util.Collection<java.lang.String>);
descriptor: (Lorg/apache/lucene/store/Directory;Ljava/util/Collection;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.lucene.store.Directory java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.apache.lucene.store.Directory.deleteFile:(Ljava/lang/String;)V
3: goto 5
StackMap locals: org.apache.lucene.store.Directory java.util.Collection java.lang.String java.util.Iterator
StackMap stack: java.lang.Throwable
4: pop
end local 2 5: StackMap locals: org.apache.lucene.store.Directory java.util.Collection top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 dir Lorg/apache/lucene/store/Directory;
0 7 1 files Ljava/util/Collection<Ljava/lang/String;>;
2 5 2 name Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
Signature: (Lorg/apache/lucene/store/Directory;Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
dir
files
public static void deleteFilesIgnoringExceptions(org.apache.lucene.store.Directory, java.lang.String[]);
descriptor: (Lorg/apache/lucene/store/Directory;[Ljava/lang/String;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.apache.lucene.util.IOUtils.deleteFilesIgnoringExceptions:(Lorg/apache/lucene/store/Directory;Ljava/util/Collection;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dir Lorg/apache/lucene/store/Directory;
0 2 1 files [Ljava/lang/String;
MethodParameters:
Name Flags
dir
files
public static void deleteFiles(org.apache.lucene.store.Directory, java.util.Collection<java.lang.String>);
descriptor: (Lorg/apache/lucene/store/Directory;Ljava/util/Collection;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.apache.lucene.store.Directory java.util.Collection java.lang.Throwable top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 3
ifnull 8
4: aload 0
aload 3
invokevirtual org.apache.lucene.store.Directory.deleteFile:(Ljava/lang/String;)V
5: goto 8
StackMap locals: org.apache.lucene.store.Directory java.util.Collection java.lang.Throwable java.lang.String java.util.Iterator
StackMap stack: java.lang.Throwable
6: astore 5
start local 5 7: aload 2
aload 5
invokestatic org.apache.lucene.util.IOUtils.useOrSuppress:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 2
end local 5 end local 3 8: StackMap locals: org.apache.lucene.store.Directory java.util.Collection java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 2
ifnull 11
10: aload 2
invokestatic org.apache.lucene.util.IOUtils.rethrowAlways:(Ljava/lang/Throwable;)Ljava/lang/Error;
athrow
11: StackMap locals: org.apache.lucene.store.Directory java.util.Collection java.lang.Throwable
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 dir Lorg/apache/lucene/store/Directory;
0 12 1 names Ljava/util/Collection<Ljava/lang/String;>;
1 12 2 th Ljava/lang/Throwable;
3 8 3 name Ljava/lang/String;
7 8 5 t Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/store/Directory;Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
dir
names
public static void deleteFilesIgnoringExceptions(java.nio.file.Path[]);
descriptor: ([Ljava/nio/file/Path;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.apache.lucene.util.IOUtils.deleteFilesIgnoringExceptions:(Ljava/util/Collection;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 files [Ljava/nio/file/Path;
MethodParameters:
Name Flags
files
public static void deleteFilesIgnoringExceptions(java.util.Collection<? extends java.nio.file.Path>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 1
start local 1 2: aload 1
ifnull 6
3: aload 1
invokestatic java.nio.file.Files.delete:(Ljava/nio/file/Path;)V
4: goto 6
StackMap locals: java.util.Collection java.nio.file.Path java.util.Iterator
StackMap stack: java.lang.Throwable
5: pop
end local 1 6: StackMap locals: java.util.Collection top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 files Ljava/util/Collection<+Ljava/nio/file/Path;>;
2 6 1 name Ljava/nio/file/Path;
Exception table:
from to target type
3 4 5 Class java.lang.Throwable
Signature: (Ljava/util/Collection<+Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
files
public static void deleteFilesIfExist(java.nio.file.Path[]);
descriptor: ([Ljava/nio/file/Path;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.apache.lucene.util.IOUtils.deleteFilesIfExist:(Ljava/util/Collection;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 files [Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
files
public static void deleteFilesIfExist(java.util.Collection<? extends java.nio.file.Path>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.util.Collection java.lang.Throwable top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 2
start local 2 3: aload 2
ifnull 8
4: aload 2
invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
pop
5: goto 8
StackMap locals: java.util.Collection java.lang.Throwable java.nio.file.Path java.util.Iterator
StackMap stack: java.lang.Throwable
6: astore 4
start local 4 7: aload 1
aload 4
invokestatic org.apache.lucene.util.IOUtils.useOrSuppress:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 4 end local 2 8: StackMap locals: java.util.Collection java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 1
ifnull 11
10: aload 1
invokestatic org.apache.lucene.util.IOUtils.rethrowAlways:(Ljava/lang/Throwable;)Ljava/lang/Error;
athrow
11: StackMap locals: java.util.Collection java.lang.Throwable
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 files Ljava/util/Collection<+Ljava/nio/file/Path;>;
1 12 1 th Ljava/lang/Throwable;
3 8 2 file Ljava/nio/file/Path;
7 8 4 t Ljava/lang/Throwable;
Exception table:
from to target type
3 5 6 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Collection<+Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
files
public static void rm(java.nio.file.Path[]);
descriptor: ([Ljava/nio/file/Path;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
aload 0
invokestatic org.apache.lucene.util.IOUtils.rm:(Ljava/util/LinkedHashMap;[Ljava/nio/file/Path;)Ljava/util/LinkedHashMap;
astore 1
start local 1 1: aload 1
invokevirtual java.util.LinkedHashMap.isEmpty:()Z
ifne 12
2: new java.lang.StringBuilder
dup
ldc "Could not remove the following files (in the order of attempts):\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: aload 1
invokevirtual java.util.LinkedHashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: java.nio.file.Path[] java.util.LinkedHashMap java.lang.StringBuilder top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 5: aload 2
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.file.Path
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
9: ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: new java.io.IOException
dup
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 12: StackMap locals: java.nio.file.Path[] java.util.LinkedHashMap
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 locations [Ljava/nio/file/Path;
1 13 1 unremoved Ljava/util/LinkedHashMap<Ljava/nio/file/Path;Ljava/lang/Throwable;>;
3 12 2 b Ljava/lang/StringBuilder;
5 10 3 kv Ljava/util/Map$Entry<Ljava/nio/file/Path;Ljava/lang/Throwable;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
locations
private static java.util.LinkedHashMap<java.nio.file.Path, java.lang.Throwable> rm(java.util.LinkedHashMap<java.nio.file.Path, java.lang.Throwable>, java.nio.file.Path[]);
descriptor: (Ljava/util/LinkedHashMap;[Ljava/nio/file/Path;)Ljava/util/LinkedHashMap;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 10
1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 9
StackMap locals: java.util.LinkedHashMap java.nio.file.Path[] top int int java.nio.file.Path[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
ifnull 8
aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 8
4: aload 2
new org.apache.lucene.util.IOUtils$1
dup
aload 0
invokespecial org.apache.lucene.util.IOUtils$1.<init>:(Ljava/util/LinkedHashMap;)V
invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
pop
5: goto 8
StackMap locals: java.util.LinkedHashMap java.nio.file.Path[] java.nio.file.Path int int java.nio.file.Path[]
StackMap stack: java.io.IOException
6: astore 6
start local 6 7: new java.lang.AssertionError
dup
ldc "visitor threw exception"
aload 6
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 2 8: StackMap locals: java.util.LinkedHashMap java.nio.file.Path[] top int int java.nio.file.Path[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 2
10: StackMap locals: java.util.LinkedHashMap java.nio.file.Path[]
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 unremoved Ljava/util/LinkedHashMap<Ljava/nio/file/Path;Ljava/lang/Throwable;>;
0 11 1 locations [Ljava/nio/file/Path;
3 8 2 location Ljava/nio/file/Path;
7 8 6 impossible Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
Signature: (Ljava/util/LinkedHashMap<Ljava/nio/file/Path;Ljava/lang/Throwable;>;[Ljava/nio/file/Path;)Ljava/util/LinkedHashMap<Ljava/nio/file/Path;Ljava/lang/Throwable;>;
MethodParameters:
Name Flags
unremoved final
locations
public static java.lang.Error rethrowAlways(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Error;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.AssertionError
dup
ldc "rethrow argument must not be null."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.io.IOException
ifeq 4
3: aload 0
checkcast java.io.IOException
athrow
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.RuntimeException
ifeq 6
5: aload 0
checkcast java.lang.RuntimeException
athrow
6: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Error
ifeq 8
7: aload 0
checkcast java.lang.Error
athrow
8: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 th Ljava/lang/Throwable;
Exceptions:
throws java.io.IOException, java.lang.RuntimeException
MethodParameters:
Name Flags
th
public static void reThrow(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: aload 0
invokestatic org.apache.lucene.util.IOUtils.rethrowAlways:(Ljava/lang/Throwable;)Ljava/lang/Error;
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 th Ljava/lang/Throwable;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
th
public static void reThrowUnchecked(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 6
1: aload 0
instanceof java.lang.Error
ifeq 3
2: aload 0
checkcast java.lang.Error
athrow
3: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.RuntimeException
ifeq 5
4: aload 0
checkcast java.lang.RuntimeException
athrow
5: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 th Ljava/lang/Throwable;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
th
public static void fsync(java.nio.file.Path, boolean);
descriptor: (Ljava/nio/file/Path;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ifeq 4
getstatic org.apache.lucene.util.Constants.WINDOWS:Z
ifeq 4
1: aload 0
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 3
2: new java.nio.file.NoSuchFileException
dup
aload 0
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokespecial java.nio.file.NoSuchFileException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
5: aload 0
iconst_1
anewarray java.nio.file.OpenOption
dup
iconst_0
iload 1
ifeq 6
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
goto 7
StackMap locals: java.nio.file.Path int java.lang.Throwable java.lang.Throwable
StackMap stack: java.nio.file.Path java.nio.file.OpenOption[] java.nio.file.OpenOption[] int
6: getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
StackMap locals: java.nio.file.Path int java.lang.Throwable java.lang.Throwable
StackMap stack: java.nio.file.Path java.nio.file.OpenOption[] java.nio.file.OpenOption[] int java.nio.file.StandardOpenOption
7: aastore
invokestatic java.nio.channels.FileChannel.open:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
astore 4
start local 4 8: aload 4
iconst_1
invokevirtual java.nio.channels.FileChannel.force:(Z)V
9: goto 20
StackMap locals: java.nio.file.Path int java.lang.Throwable java.lang.Throwable java.nio.channels.FileChannel
StackMap stack: java.io.IOException
10: astore 5
start local 5 11: iload 1
ifeq 19
12: getstatic org.apache.lucene.util.IOUtils.$assertionsDisabled:Z
ifne 17
getstatic org.apache.lucene.util.Constants.LINUX:Z
ifne 13
getstatic org.apache.lucene.util.Constants.MAC_OS_X:Z
ifeq 17
StackMap locals: java.io.IOException
StackMap stack:
13: new java.lang.AssertionError
dup
14: new java.lang.StringBuilder
dup
ldc "On Linux and MacOSX fsyncing a directory should not throw IOException, we just don't want to rely on that in production (undocumented). Got: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
16: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
17: StackMap locals:
StackMap stack:
aload 4
ifnull 18
aload 4
invokevirtual java.nio.channels.FileChannel.close:()V
18: StackMap locals:
StackMap stack:
return
19: StackMap locals:
StackMap stack:
aload 5
athrow
end local 5 20: StackMap locals:
StackMap stack:
aload 4
ifnull 26
aload 4
invokevirtual java.nio.channels.FileChannel.close:()V
goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 2
aload 4
ifnull 22
aload 4
invokevirtual java.nio.channels.FileChannel.close:()V
end local 4 StackMap locals:
StackMap stack:
22: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 3
aload 2
ifnonnull 24
aload 3
astore 2
goto 25
StackMap locals:
StackMap stack:
24: aload 2
aload 3
if_acmpeq 25
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 2
athrow
26: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 fileToSync Ljava/nio/file/Path;
0 27 1 isDir Z
8 22 4 file Ljava/nio/channels/FileChannel;
11 20 5 e Ljava/io/IOException;
Exception table:
from to target type
8 9 10 Class java.io.IOException
8 17 21 any
19 20 21 any
5 18 23 any
19 23 23 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileToSync
isDir
public static boolean spins(org.apache.lucene.store.Directory);
descriptor: (Lorg/apache/lucene/store/Directory;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.lucene.store.FilterDirectory.unwrap:(Lorg/apache/lucene/store/Directory;)Lorg/apache/lucene/store/Directory;
astore 0
1: aload 0
instanceof org.apache.lucene.store.FileSwitchDirectory
ifeq 5
2: aload 0
checkcast org.apache.lucene.store.FileSwitchDirectory
astore 1
start local 1 3: aload 1
invokevirtual org.apache.lucene.store.FileSwitchDirectory.getPrimaryDir:()Lorg/apache/lucene/store/Directory;
invokestatic org.apache.lucene.util.IOUtils.spins:(Lorg/apache/lucene/store/Directory;)Z
ifne 4
aload 1
invokevirtual org.apache.lucene.store.FileSwitchDirectory.getSecondaryDir:()Lorg/apache/lucene/store/Directory;
invokestatic org.apache.lucene.util.IOUtils.spins:(Lorg/apache/lucene/store/Directory;)Z
ifne 4
iconst_0
ireturn
StackMap locals: org.apache.lucene.store.FileSwitchDirectory
StackMap stack:
4: iconst_1
ireturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
instanceof org.apache.lucene.store.RAMDirectory
ifeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
instanceof org.apache.lucene.store.FSDirectory
ifeq 9
8: aload 0
checkcast org.apache.lucene.store.FSDirectory
invokevirtual org.apache.lucene.store.FSDirectory.getDirectory:()Ljava/nio/file/Path;
invokestatic org.apache.lucene.util.IOUtils.spins:(Ljava/nio/file/Path;)Z
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 dir Lorg/apache/lucene/store/Directory;
3 5 1 fsd Lorg/apache/lucene/store/FileSwitchDirectory;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
public static boolean spins(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.nio.file.LinkOption
invokeinterface java.nio.file.Path.toRealPath:([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
astore 0
1: getstatic org.apache.lucene.util.Constants.LINUX:Z
ifne 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.lucene.util.IOUtils.spinsLinux:(Ljava/nio/file/Path;)Z
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Exception
pop
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 path Ljava/nio/file/Path;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
static boolean spinsLinux(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=12, args_size=1
start local 0 0: aload 0
invokestatic org.apache.lucene.util.IOUtils.getFileStore:(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
astore 1
start local 1 1: ldc "tmpfs"
aload 1
invokevirtual java.nio.file.FileStore.type:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals: java.nio.file.FileStore
StackMap stack:
aload 1
invokevirtual java.nio.file.FileStore.name:()Ljava/lang/String;
astore 2
start local 2 4: aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 6
5: iconst_1
ireturn
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokeinterface java.nio.file.Path.getRoot:()Ljava/nio/file/Path;
aload 2
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokeinterface java.nio.file.Path.toRealPath:([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 2
7: aload 0
invokeinterface java.nio.file.Path.getRoot:()Ljava/nio/file/Path;
ldc "sys"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
ldc "block"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 8: aconst_null
astore 4
start local 4 9: iconst_0
istore 5
start local 5 10: aconst_null
astore 6
aconst_null
astore 7
11: aload 3
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 8
start local 8 12: aload 8
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 10
goto 18
StackMap locals: java.nio.file.Path java.nio.file.FileStore java.lang.String java.nio.file.Path java.nio.file.Path int java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
13: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 9
start local 9 14: aload 9
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 11
start local 11 15: aload 11
invokevirtual java.lang.String.length:()I
iload 5
if_icmple 18
aload 2
aload 11
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 18
16: aload 9
astore 4
17: aload 11
invokevirtual java.lang.String.length:()I
istore 5
end local 11 end local 9 18: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
19: aload 8
ifnull 25
aload 8
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 25
StackMap locals: java.nio.file.Path java.nio.file.FileStore java.lang.String java.nio.file.Path java.nio.file.Path int java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
20: astore 6
aload 8
ifnull 21
aload 8
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 8 StackMap locals:
StackMap stack:
21: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 7
aload 6
ifnonnull 23
aload 7
astore 6
goto 24
StackMap locals:
StackMap stack:
23: aload 6
aload 7
if_acmpeq 24
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
24: aload 6
athrow
25: StackMap locals:
StackMap stack:
aload 4
ifnonnull 27
26: iconst_1
ireturn
27: StackMap locals:
StackMap stack:
aload 4
ldc "queue"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
ldc "rotational"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 6
start local 6 28: aconst_null
astore 7
aconst_null
astore 8
29: aload 6
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
astore 9
start local 9 30: aload 9
invokevirtual java.io.InputStream.read:()I
bipush 49
if_icmpne 31
iconst_1
goto 32
StackMap locals: java.nio.file.Path java.nio.file.FileStore java.lang.String java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack:
31: iconst_0
32: StackMap locals:
StackMap stack: int
aload 9
ifnull 33
aload 9
invokevirtual java.io.InputStream.close:()V
33: StackMap locals:
StackMap stack: int
ireturn
StackMap locals:
StackMap stack: java.lang.Throwable
34: astore 7
35: aload 9
ifnull 36
aload 9
invokevirtual java.io.InputStream.close:()V
end local 9 StackMap locals:
StackMap stack:
36: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 8
aload 7
ifnonnull 38
aload 8
astore 7
goto 39
StackMap locals:
StackMap stack:
38: aload 7
aload 8
if_acmpeq 39
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
39: aload 7
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 path Ljava/nio/file/Path;
1 40 1 store Ljava/nio/file/FileStore;
4 40 2 devName Ljava/lang/String;
8 40 3 sysinfo Ljava/nio/file/Path;
9 40 4 devsysinfo Ljava/nio/file/Path;
10 40 5 matchlen I
12 21 8 stream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
14 18 9 device Ljava/nio/file/Path;
15 18 11 name Ljava/lang/String;
28 40 6 rotational Ljava/nio/file/Path;
30 36 9 stream Ljava/io/InputStream;
Exception table:
from to target type
12 19 20 any
11 22 22 any
30 32 34 any
29 33 37 any
34 37 37 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
static java.nio.file.FileStore getFileStore(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.Files.getFileStore:(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
astore 1
start local 1 1: aload 1
invokestatic org.apache.lucene.util.IOUtils.getMountPoint:(Ljava/nio/file/FileStore;)Ljava/lang/String;
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.getFileStores:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: java.nio.file.Path java.nio.file.FileStore java.lang.String java.nio.file.FileStore top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.FileStore
astore 4
start local 4 5: aload 2
aload 4
invokestatic org.apache.lucene.util.IOUtils.getMountPoint:(Ljava/nio/file/FileStore;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
6: aload 3
ifnonnull 9
7: aload 4
astore 3
8: goto 10
9: StackMap locals: java.nio.file.Path java.nio.file.FileStore java.lang.String java.nio.file.FileStore java.nio.file.FileStore java.util.Iterator
StackMap stack:
aload 1
areturn
end local 4 10: StackMap locals: java.nio.file.Path java.nio.file.FileStore java.lang.String java.nio.file.FileStore top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: aload 3
ifnull 13
12: aload 3
areturn
13: StackMap locals: java.nio.file.Path java.nio.file.FileStore java.lang.String java.nio.file.FileStore
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 path Ljava/nio/file/Path;
1 14 1 store Ljava/nio/file/FileStore;
2 14 2 mount Ljava/lang/String;
3 14 3 sameMountPoint Ljava/nio/file/FileStore;
5 10 4 fs Ljava/nio/file/FileStore;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
static java.lang.String getMountPoint(java.nio.file.FileStore);
descriptor: (Ljava/nio/file/FileStore;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc " ("
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 4
3: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
4: StackMap locals: java.lang.String int
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 store Ljava/nio/file/FileStore;
1 5 1 desc Ljava/lang/String;
2 5 2 index I
MethodParameters:
Name Flags
store
public static <T extends java.lang.Throwable> T useOrSuppress(T, );
descriptor: (Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 first TT;
0 4 1 second TT;
Signature: <T:Ljava/lang/Throwable;>(TT;TT;)TT;
MethodParameters:
Name Flags
first
second
public static <T> void applyToAll(java.util.Collection<T>, org.apache.lucene.util.IOUtils$IOConsumer<T>);
descriptor: (Ljava/util/Collection;Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/util/Objects.nonNull(Ljava/lang/Object;)Z (6)
(Ljava/lang/Object;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
aload 1
invokedynamic apply(Lorg/apache/lucene/util/IOUtils$IOConsumer;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/lucene/util/IOUtils.lambda$2(Lorg/apache/lucene/util/IOUtils$IOConsumer;Ljava/lang/Object;)Ljava/io/Closeable; (6)
(Ljava/lang/Object;)Ljava/io/Closeable;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic iterator(Ljava/util/stream/Stream;)Ljava/lang/Iterable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/util/Iterator;
java/util/stream/BaseStream.iterator()Ljava/util/Iterator; (9 itf)
()Ljava/util/Iterator;
invokestatic org.apache.lucene.util.IOUtils.close:(Ljava/lang/Iterable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 collection Ljava/util/Collection<TT;>;
0 2 1 consumer Lorg/apache/lucene/util/IOUtils$IOConsumer<TT;>;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;Lorg/apache/lucene/util/IOUtils$IOConsumer<TT;>;)V
MethodParameters:
Name Flags
collection
consumer
private static java.io.Closeable lambda$2(org.apache.lucene.util.IOUtils$IOConsumer, java.lang.Object);
descriptor: (Lorg/apache/lucene/util/IOUtils$IOConsumer;Ljava/lang/Object;)Ljava/io/Closeable;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokedynamic close(Lorg/apache/lucene/util/IOUtils$IOConsumer;Ljava/lang/Object;)Ljava/io/Closeable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
org/apache/lucene/util/IOUtils.lambda$3(Lorg/apache/lucene/util/IOUtils$IOConsumer;Ljava/lang/Object;)V (6)
()V
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 t TT;
private static void lambda$3(org.apache.lucene.util.IOUtils$IOConsumer, java.lang.Object);
descriptor: (Lorg/apache/lucene/util/IOUtils$IOConsumer;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokeinterface org.apache.lucene.util.IOUtils$IOConsumer.accept:(Ljava/lang/Object;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "IOUtils.java"
NestMembers:
org.apache.lucene.util.IOUtils$1 org.apache.lucene.util.IOUtils$IOConsumer
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
org.apache.lucene.util.IOUtils$1
public abstract IOConsumer = org.apache.lucene.util.IOUtils$IOConsumer of org.apache.lucene.util.IOUtils