class org.springframework.boot.ansi.AnsiPropertySource$EnumMapping<E extends java.lang.Enum<E> extends org.springframework.boot.ansi.AnsiElement> extends org.springframework.boot.ansi.AnsiPropertySource$Mapping
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.ansi.AnsiPropertySource$EnumMapping
super_class: org.springframework.boot.ansi.AnsiPropertySource$Mapping
{
private final java.util.Set<E> enums;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<TE;>;
void <init>(java.lang.String, java.lang.Class<E>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)V
flags: (0x0000)
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.boot.ansi.AnsiPropertySource$Mapping.<init>:(Ljava/lang/String;)V
1: aload 0
aload 2
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
putfield org.springframework.boot.ansi.AnsiPropertySource$EnumMapping.enums:Ljava/util/Set;
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$EnumMapping<TE;>;
0 3 1 prefix Ljava/lang/String;
0 3 2 enumType Ljava/lang/Class<TE;>;
Signature: (Ljava/lang/String;Ljava/lang/Class<TE;>;)V
MethodParameters:
Name Flags
prefix
enumType
org.springframework.boot.ansi.AnsiElement getElement(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/ansi/AnsiElement;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.ansi.AnsiPropertySource$EnumMapping.enums:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.springframework.boot.ansi.AnsiPropertySource$EnumMapping java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Enum
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Enum.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
checkcast org.springframework.boot.ansi.AnsiElement
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/ansi/AnsiPropertySource$EnumMapping<TE;>;
0 6 1 postfix Ljava/lang/String;
2 4 2 candidate Ljava/lang/Enum<*>;
MethodParameters:
Name Flags
postfix
}
Signature: <E:Ljava/lang/Enum<TE;>;:Lorg/springframework/boot/ansi/AnsiElement;>Lorg/springframework/boot/ansi/AnsiPropertySource$Mapping;
SourceFile: "AnsiPropertySource.java"
NestHost: org.springframework.boot.ansi.AnsiPropertySource
InnerClasses:
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