final class org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent implements org.springframework.boot.env.ConfigTreePropertySource$Value, org.springframework.boot.origin.OriginProvider
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent
super_class: java.lang.Object
{
private final java.nio.file.Path path;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.io.Resource resource;
descriptor: Lorg/springframework/core/io/Resource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.boot.origin.Origin origin;
descriptor: Lorg/springframework/boot/origin/Origin;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean cacheContent;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean autoTrimTrailingNewLine;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile byte[] content;
descriptor: [B
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private void <init>(java.nio.file.Path, org.springframework.core.io.Resource, org.springframework.boot.origin.Origin, boolean, boolean);
descriptor: (Ljava/nio/file/Path;Lorg/springframework/core/io/Resource;Lorg/springframework/boot/origin/Origin;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.path:Ljava/nio/file/Path;
2: aload 0
aload 2
putfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.resource:Lorg/springframework/core/io/Resource;
3: aload 0
aload 3
putfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.origin:Lorg/springframework/boot/origin/Origin;
4: aload 0
iload 4
putfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.cacheContent:Z
5: aload 0
iload 5
putfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.autoTrimTrailingNewLine:Z
6: return
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 7 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
0 7 1 path Ljava/nio/file/Path;
0 7 2 resource Lorg/springframework/core/io/Resource;
0 7 3 origin Lorg/springframework/boot/origin/Origin;
0 7 4 cacheContent Z
0 7 5 autoTrimTrailingNewLine Z
MethodParameters:
Name Flags
path
resource
origin
cacheContent
autoTrimTrailingNewLine
public org.springframework.boot.origin.Origin getOrigin();
descriptor: ()Lorg/springframework/boot/origin/Origin;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.origin:Lorg/springframework/boot/origin/Origin;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.toString:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
public char charAt(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.toString:()Ljava/lang/String;
iload 1
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
0 1 1 index I
MethodParameters:
Name Flags
index
public java.lang.CharSequence subSequence(int, int);
descriptor: (II)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.toString:()Ljava/lang/String;
iload 1
iload 2
invokevirtual java.lang.String.subSequence:(II)Ljava/lang/CharSequence;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
0 1 1 start I
0 1 2 end I
MethodParameters:
Name Flags
start
end
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.getBytes:()[B
invokespecial java.lang.String.<init>:([B)V
astore 1
start local 1 1: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.autoTrimTrailingNewLine:Z
ifeq 3
2: aload 0
aload 1
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.autoTrimTrailingNewLine:(Ljava/lang/String;)Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
1 4 1 string Ljava/lang/String;
private java.lang.String autoTrimTrailingNewLine(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ldc "\n"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: aload 1
invokevirtual java.lang.String.toCharArray:()[C
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent java.lang.String int top int int char[]
StackMap stack:
4: aload 6
iload 4
caload
istore 3
start local 3 5: iload 3
bipush 10
if_icmpne 7
6: iinc 2 1
end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: iload 2
iconst_1
if_icmple 11
10: aload 1
areturn
11: StackMap locals: org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent java.lang.String int
StackMap stack:
aload 1
ldc "\r\n"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 13
12: StackMap locals:
StackMap stack:
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
13: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
0 14 1 string Ljava/lang/String;
3 14 2 numberOfLines I
5 7 3 ch C
MethodParameters:
Name Flags
string
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.cacheContent:Z
ifne 3
1: aload 0
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.assertStillExists:()V
2: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.resource:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getInputStream:()Ljava/io/InputStream;
areturn
3: StackMap locals:
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 0
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.getBytes:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
Exceptions:
throws java.io.IOException
private byte[] getBytes();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.cacheContent:Z
ifne 4
1: aload 0
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.assertStillExists:()V
2: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.resource:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getInputStream:()Ljava/io/InputStream;
invokestatic org.springframework.util.FileCopyUtils.copyToByteArray:(Ljava/io/InputStream;)[B
3: areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.content:[B
ifnonnull 13
5: aload 0
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.assertStillExists:()V
6: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.resource:Lorg/springframework/core/io/Resource;
dup
astore 1
monitorenter
7: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.content:[B
ifnonnull 9
8: aload 0
aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.resource:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getInputStream:()Ljava/io/InputStream;
invokestatic org.springframework.util.FileCopyUtils.copyToByteArray:(Ljava/io/InputStream;)[B
putfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.content:[B
9: StackMap locals: org.springframework.core.io.Resource
StackMap stack:
aload 1
monitorexit
10: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 1
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.content:[B
14: areturn
15: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 16: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
16 17 1 ex Ljava/io/IOException;
Exception table:
from to target type
7 10 11 any
11 12 11 any
0 3 15 Class java.io.IOException
4 14 15 Class java.io.IOException
private void assertStillExists();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.path: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
aload 0
invokedynamic get(Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;)Ljava/util/function/Supplier;
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;
org/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent.lambda$0()Ljava/lang/String; (7)
()Ljava/lang/String;
invokestatic org.springframework.util.Assert.state:(ZLjava/util/function/Supplier;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
private java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "The property file '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent.path:Ljava/nio/file/Path;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' no longer exists"
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 Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
}
SourceFile: "ConfigTreePropertySource.java"
NestHost: org.springframework.boot.env.ConfigTreePropertySource
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final PropertyFileContent = org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent of org.springframework.boot.env.ConfigTreePropertySource
public abstract Value = org.springframework.boot.env.ConfigTreePropertySource$Value of org.springframework.boot.env.ConfigTreePropertySource