final class com.google.common.io.MoreFiles$PathByteSink extends com.google.common.io.ByteSink
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.io.MoreFiles$PathByteSink
super_class: com.google.common.io.ByteSink
{
private final java.nio.file.Path path;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.OpenOption[] options;
descriptor: [Ljava/nio/file/OpenOption;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.nio.file.Path, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.google.common.io.ByteSink.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.file.Path
putfield com.google.common.io.MoreFiles$PathByteSink.path:Ljava/nio/file/Path;
2: aload 0
aload 2
invokevirtual java.nio.file.OpenOption[].clone:()Ljava/lang/Object;
checkcast java.nio.file.OpenOption[]
putfield com.google.common.io.MoreFiles$PathByteSink.options:[Ljava/nio/file/OpenOption;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/io/MoreFiles$PathByteSink;
0 4 1 path Ljava/nio/file/Path;
0 4 2 options [Ljava/nio/file/OpenOption;
MethodParameters:
Name Flags
path
options
public java.io.OutputStream openStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.MoreFiles$PathByteSink.path:Ljava/nio/file/Path;
aload 0
getfield com.google.common.io.MoreFiles$PathByteSink.options:[Ljava/nio/file/OpenOption;
invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/MoreFiles$PathByteSink;
Exceptions:
throws java.io.IOException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "MoreFiles.asByteSink("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.io.MoreFiles$PathByteSink.path:Ljava/nio/file/Path;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.common.io.MoreFiles$PathByteSink.options:[Ljava/nio/file/OpenOption;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/MoreFiles$PathByteSink;
}
SourceFile: "MoreFiles.java"
NestHost: com.google.common.io.MoreFiles
InnerClasses:
private final PathByteSink = com.google.common.io.MoreFiles$PathByteSink of com.google.common.io.MoreFiles