public final class org.springframework.boot.context.config.ConfigDataLocation implements org.springframework.boot.origin.OriginProvider
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.context.config.ConfigDataLocation
super_class: java.lang.Object
{
public static final java.lang.String OPTIONAL_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "optional:"
private final boolean optional;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String value;
descriptor: Ljava/lang/String;
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 void <init>(boolean, java.lang.String, org.springframework.boot.origin.Origin);
descriptor: (ZLjava/lang/String;Lorg/springframework/boot/origin/Origin;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
2: aload 0
iload 1
putfield org.springframework.boot.context.config.ConfigDataLocation.optional:Z
3: aload 0
aload 3
putfield org.springframework.boot.context.config.ConfigDataLocation.origin:Lorg/springframework/boot/origin/Origin;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
0 5 1 optional Z
0 5 2 value Ljava/lang/String;
0 5 3 origin Lorg/springframework/boot/origin/Origin;
MethodParameters:
Name Flags
optional
value
origin
public boolean isOptional();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.optional:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
public java.lang.String getValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
public boolean hasPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
0 1 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public java.lang.String getNonPrefixedValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.boot.context.config.ConfigDataLocation.hasPrefix:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
0 3 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
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.context.config.ConfigDataLocation.origin:Lorg/springframework/boot/origin/Origin;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.springframework.boot.context.config.ConfigDataLocation
astore 2
start local 2 5: aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
aload 2
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
0 6 1 obj Ljava/lang/Object;
5 6 2 other Lorg/springframework/boot/context/config/ConfigDataLocation;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
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: aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.optional:Z
ifne 1
aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
ldc "optional:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
org.springframework.boot.context.config.ConfigDataLocation withOrigin(org.springframework.boot.origin.Origin);
descriptor: (Lorg/springframework/boot/origin/Origin;)Lorg/springframework/boot/context/config/ConfigDataLocation;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.boot.context.config.ConfigDataLocation
dup
aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.optional:Z
aload 0
getfield org.springframework.boot.context.config.ConfigDataLocation.value:Ljava/lang/String;
aload 1
invokespecial org.springframework.boot.context.config.ConfigDataLocation.<init>:(ZLjava/lang/String;Lorg/springframework/boot/origin/Origin;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/ConfigDataLocation;
0 1 1 origin Lorg/springframework/boot/origin/Origin;
MethodParameters:
Name Flags
origin
public static org.springframework.boot.context.config.ConfigDataLocation of(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/context/config/ConfigDataLocation;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
ldc "optional:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ifne 4
aload 0
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
ldc "optional:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: astore 2
start local 2 6: aload 2
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifne 8
7: aconst_null
areturn
8: StackMap locals: java.lang.String
StackMap stack:
new org.springframework.boot.context.config.ConfigDataLocation
dup
iload 1
aload 2
aconst_null
invokespecial org.springframework.boot.context.config.ConfigDataLocation.<init>:(ZLjava/lang/String;Lorg/springframework/boot/origin/Origin;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 location Ljava/lang/String;
3 9 1 optional Z
6 9 2 value Ljava/lang/String;
MethodParameters:
Name Flags
location
}
SourceFile: "ConfigDataLocation.java"