class io.vertx.core.file.impl.FileSystemImpl$4 extends io.vertx.core.file.impl.FileSystemImpl$BlockingAction<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.file.impl.FileSystemImpl$4
super_class: io.vertx.core.file.impl.FileSystemImpl$BlockingAction
{
final io.vertx.core.file.impl.FileSystemImpl this$0;
descriptor: Lio/vertx/core/file/impl/FileSystemImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$p;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final long val$len;
descriptor: J
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.core.file.impl.FileSystemImpl, io.vertx.core.file.impl.FileSystemImpl, java.lang.String, long);
descriptor: (Lio/vertx/core/file/impl/FileSystemImpl;Lio/vertx/core/file/impl/FileSystemImpl;Ljava/lang/String;J)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=5
start local 0 0: aload 0
aload 2
putfield io.vertx.core.file.impl.FileSystemImpl$4.this$0:Lio/vertx/core/file/impl/FileSystemImpl;
aload 0
aload 3
putfield io.vertx.core.file.impl.FileSystemImpl$4.val$p:Ljava/lang/String;
aload 0
lload 4
putfield io.vertx.core.file.impl.FileSystemImpl$4.val$len:J
aload 0
aload 1
invokespecial io.vertx.core.file.impl.FileSystemImpl$BlockingAction.<init>:(Lio/vertx/core/file/impl/FileSystemImpl;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/file/impl/FileSystemImpl$4;
MethodParameters:
Name Flags
this$0 final
this$1 final
val$p final
val$len final
public java.lang.Void perform();
descriptor: ()Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$4.this$0:Lio/vertx/core/file/impl/FileSystemImpl;
getfield io.vertx.core.file.impl.FileSystemImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$4.val$p:Ljava/lang/String;
invokeinterface io.vertx.core.impl.VertxInternal.resolveFile:(Ljava/lang/String;)Ljava/io/File;
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$4.val$len:J
lconst_0
lcmp
ifge 3
2: new io.vertx.core.file.FileSystemException
dup
ldc "Cannot truncate file to size < 0"
invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 5
4: new io.vertx.core.file.FileSystemException
dup
new java.lang.StringBuilder
dup
ldc "Cannot truncate file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ". Does not exist"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
6: new java.io.RandomAccessFile
dup
aload 1
ldc "rw"
invokespecial java.io.RandomAccessFile.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 7: aload 4
aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$4.val$len:J
invokevirtual java.io.RandomAccessFile.setLength:(J)V
8: aload 4
ifnull 16
aload 4
invokevirtual java.io.RandomAccessFile.close:()V
goto 16
StackMap locals: io.vertx.core.file.impl.FileSystemImpl$4 java.lang.String java.lang.Throwable java.lang.Throwable java.io.RandomAccessFile
StackMap stack: java.lang.Throwable
9: astore 2
aload 4
ifnull 10
aload 4
invokevirtual java.io.RandomAccessFile.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
end local 1 14: StackMap locals: io.vertx.core.file.impl.FileSystemImpl$4
StackMap stack: java.io.IOException
astore 1
start local 1 15: new io.vertx.core.file.FileSystemException
dup
aload 1
invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 16: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/core/file/impl/FileSystemImpl$4;
1 14 1 path Ljava/lang/String;
7 10 4 raf Ljava/io/RandomAccessFile;
15 16 1 e Ljava/io/IOException;
Exception table:
from to target type
7 8 9 any
6 11 11 any
0 14 14 Class java.io.IOException
public java.lang.Object perform();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.vertx.core.file.impl.FileSystemImpl$4.perform:()Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lio/vertx/core/file/impl/FileSystemImpl$BlockingAction<Ljava/lang/Void;>;
SourceFile: "FileSystemImpl.java"
EnclosingMethod: io.vertx.core.file.impl.FileSystemImpl.truncateInternal:(Ljava/lang/String;J)Lio/vertx/core/file/impl/FileSystemImpl$BlockingAction;
NestHost: io.vertx.core.file.impl.FileSystemImpl
InnerClasses:
io.vertx.core.file.impl.FileSystemImpl$4
protected abstract BlockingAction = io.vertx.core.file.impl.FileSystemImpl$BlockingAction of io.vertx.core.file.impl.FileSystemImpl