public class org.springframework.boot.ansi.AnsiPropertySource extends org.springframework.core.env.PropertySource<org.springframework.boot.ansi.AnsiElement>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.ansi.AnsiPropertySource
super_class: org.springframework.core.env.PropertySource
{
private static final java.lang.Iterable<org.springframework.boot.ansi.AnsiPropertySource$Mapping> MAPPINGS;
descriptor: Ljava/lang/Iterable;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Iterable<Lorg/springframework/boot/ansi/AnsiPropertySource$Mapping;>;
private final boolean encode;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: aload 0
new org.springframework.boot.ansi.AnsiPropertySource$EnumMapping
dup
ldc "AnsiStyle."
ldc Lorg/springframework/boot/ansi/AnsiStyle;
invokespecial org.springframework.boot.ansi.AnsiPropertySource$EnumMapping.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
new org.springframework.boot.ansi.AnsiPropertySource$EnumMapping
dup
ldc "AnsiColor."
ldc Lorg/springframework/boot/ansi/AnsiColor;
invokespecial org.springframework.boot.ansi.AnsiPropertySource$EnumMapping.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
new org.springframework.boot.ansi.AnsiPropertySource$Ansi8BitColorMapping
dup
ldc "AnsiColor."
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
org/springframework/boot/ansi/Ansi8BitColor.foreground(I)Lorg/springframework/boot/ansi/Ansi8BitColor; (6)
(I)Lorg/springframework/boot/ansi/Ansi8BitColor;
invokespecial org.springframework.boot.ansi.AnsiPropertySource$Ansi8BitColorMapping.<init>:(Ljava/lang/String;Ljava/util/function/IntFunction;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
new org.springframework.boot.ansi.AnsiPropertySource$EnumMapping
dup
ldc "AnsiBackground."
ldc Lorg/springframework/boot/ansi/AnsiBackground;
invokespecial org.springframework.boot.ansi.AnsiPropertySource$EnumMapping.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 0
new org.springframework.boot.ansi.AnsiPropertySource$Ansi8BitColorMapping
dup
ldc "AnsiBackground."
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
org/springframework/boot/ansi/Ansi8BitColor.background(I)Lorg/springframework/boot/ansi/Ansi8BitColor; (6)
(I)Lorg/springframework/boot/ansi/Ansi8BitColor;
invokespecial org.springframework.boot.ansi.AnsiPropertySource$Ansi8BitColorMapping.<init>:(Ljava/lang/String;Ljava/util/function/IntFunction;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 0
new org.springframework.boot.ansi.AnsiPropertySource$EnumMapping
dup
ldc "Ansi."
ldc Lorg/springframework/boot/ansi/AnsiStyle;
invokespecial org.springframework.boot.ansi.AnsiPropertySource$EnumMapping.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 0
new org.springframework.boot.ansi.AnsiPropertySource$EnumMapping
dup
ldc "Ansi."
ldc Lorg/springframework/boot/ansi/AnsiColor;
invokespecial org.springframework.boot.ansi.AnsiPropertySource$EnumMapping.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 0
new org.springframework.boot.ansi.AnsiPropertySource$EnumMapping
dup
ldc "Ansi.BG_"
ldc Lorg/springframework/boot/ansi/AnsiBackground;
invokespecial org.springframework.boot.ansi.AnsiPropertySource$EnumMapping.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 0
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putstatic org.springframework.boot.ansi.AnsiPropertySource.MAPPINGS:Ljava/lang/Iterable;
end local 0 10: return
LocalVariableTable:
Start End Slot Name Signature
1 10 0 mappings Ljava/util/List<Lorg/springframework/boot/ansi/AnsiPropertySource$Mapping;>;
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.springframework.core.env.PropertySource.<init>:(Ljava/lang/String;)V
1: aload 0
iload 2
putfield org.springframework.boot.ansi.AnsiPropertySource.encode:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/ansi/AnsiPropertySource;
0 3 1 name Ljava/lang/String;
0 3 2 encode Z
MethodParameters:
Name Flags
name
encode
public java.lang.Object getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 12
1: getstatic org.springframework.boot.ansi.AnsiPropertySource.MAPPINGS:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: org.springframework.boot.ansi.AnsiPropertySource java.lang.String top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.ansi.AnsiPropertySource$Mapping
astore 2
start local 2 3: aload 2
invokevirtual org.springframework.boot.ansi.AnsiPropertySource$Mapping.getPrefix:()Ljava/lang/String;
astore 4
start local 4 4: aload 1
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
5: aload 1
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 6: aload 2
aload 5
invokevirtual org.springframework.boot.ansi.AnsiPropertySource$Mapping.getElement:(Ljava/lang/String;)Lorg/springframework/boot/ansi/AnsiElement;
astore 6
start local 6 7: aload 6
ifnull 11
8: aload 0
getfield org.springframework.boot.ansi.AnsiPropertySource.encode:Z
ifeq 9
aload 6
invokestatic org.springframework.boot.ansi.AnsiOutput.encode:(Lorg/springframework/boot/ansi/AnsiElement;)Ljava/lang/String;
goto 10
StackMap locals: org.springframework.boot.ansi.AnsiPropertySource java.lang.String org.springframework.boot.ansi.AnsiPropertySource$Mapping java.util.Iterator java.lang.String java.lang.String org.springframework.boot.ansi.AnsiElement
StackMap stack:
9: aload 6
StackMap locals:
StackMap stack: java.lang.Object
10: areturn
end local 6 end local 5 end local 4 end local 2 11: StackMap locals: org.springframework.boot.ansi.AnsiPropertySource java.lang.String top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: StackMap locals: org.springframework.boot.ansi.AnsiPropertySource java.lang.String
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/boot/ansi/AnsiPropertySource;
0 13 1 name Ljava/lang/String;
3 11 2 mapping Lorg/springframework/boot/ansi/AnsiPropertySource$Mapping;
4 11 4 prefix Ljava/lang/String;
6 11 5 postfix Ljava/lang/String;
7 11 6 element Lorg/springframework/boot/ansi/AnsiElement;
MethodParameters:
Name Flags
name
}
Signature: Lorg/springframework/core/env/PropertySource<Lorg/springframework/boot/ansi/AnsiElement;>;
SourceFile: "AnsiPropertySource.java"
NestMembers:
org.springframework.boot.ansi.AnsiPropertySource$Ansi8BitColorMapping org.springframework.boot.ansi.AnsiPropertySource$EnumMapping org.springframework.boot.ansi.AnsiPropertySource$Mapping
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private Ansi8BitColorMapping = org.springframework.boot.ansi.AnsiPropertySource$Ansi8BitColorMapping of org.springframework.boot.ansi.AnsiPropertySource
private EnumMapping = org.springframework.boot.ansi.AnsiPropertySource$EnumMapping of org.springframework.boot.ansi.AnsiPropertySource
private abstract Mapping = org.springframework.boot.ansi.AnsiPropertySource$Mapping of org.springframework.boot.ansi.AnsiPropertySource