public class org.springframework.boot.actuate.info.GitInfoContributor extends org.springframework.boot.actuate.info.InfoPropertiesInfoContributor<org.springframework.boot.info.GitProperties>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.actuate.info.GitInfoContributor
super_class: org.springframework.boot.actuate.info.InfoPropertiesInfoContributor
{
public void <init>(org.springframework.boot.info.GitProperties);
descriptor: (Lorg/springframework/boot/info/GitProperties;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.springframework.boot.actuate.info.InfoPropertiesInfoContributor$Mode.SIMPLE:Lorg/springframework/boot/actuate/info/InfoPropertiesInfoContributor$Mode;
invokespecial org.springframework.boot.actuate.info.GitInfoContributor.<init>:(Lorg/springframework/boot/info/GitProperties;Lorg/springframework/boot/actuate/info/InfoPropertiesInfoContributor$Mode;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/actuate/info/GitInfoContributor;
0 2 1 properties Lorg/springframework/boot/info/GitProperties;
MethodParameters:
Name Flags
properties
public void <init>(org.springframework.boot.info.GitProperties, org.springframework.boot.actuate.info.InfoPropertiesInfoContributor$Mode);
descriptor: (Lorg/springframework/boot/info/GitProperties;Lorg/springframework/boot/actuate/info/InfoPropertiesInfoContributor$Mode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.springframework.boot.actuate.info.InfoPropertiesInfoContributor.<init>:(Lorg/springframework/boot/info/InfoProperties;Lorg/springframework/boot/actuate/info/InfoPropertiesInfoContributor$Mode;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/actuate/info/GitInfoContributor;
0 2 1 properties Lorg/springframework/boot/info/GitProperties;
0 2 2 mode Lorg/springframework/boot/actuate/info/InfoPropertiesInfoContributor$Mode;
Signature: (Lorg/springframework/boot/info/GitProperties;Lorg/springframework/boot/actuate/info/InfoPropertiesInfoContributor$Mode;)V
MethodParameters:
Name Flags
properties
mode
public void contribute(org.springframework.boot.actuate.info.Info$Builder);
descriptor: (Lorg/springframework/boot/actuate/info/Info$Builder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "git"
aload 0
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.generateContent:()Ljava/util/Map;
invokevirtual org.springframework.boot.actuate.info.Info$Builder.withDetail:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/boot/actuate/info/Info$Builder;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/actuate/info/GitInfoContributor;
0 2 1 builder Lorg/springframework/boot/actuate/info/Info$Builder;
MethodParameters:
Name Flags
builder
protected org.springframework.core.env.PropertySource<?> toSimplePropertySource();
descriptor: ()Lorg/springframework/core/env/PropertySource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
ldc "branch"
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.copyIfSet:(Ljava/util/Properties;Ljava/lang/String;)V
2: aload 0
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.getProperties:()Lorg/springframework/boot/info/InfoProperties;
checkcast org.springframework.boot.info.GitProperties
invokevirtual org.springframework.boot.info.GitProperties.getShortCommitId:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 1
ldc "commit.id"
aload 2
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.Properties java.lang.String
StackMap stack:
aload 0
aload 1
ldc "commit.time"
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.copyIfSet:(Ljava/util/Properties;Ljava/lang/String;)V
6: new org.springframework.core.env.PropertiesPropertySource
dup
ldc "git"
aload 1
invokespecial org.springframework.core.env.PropertiesPropertySource.<init>:(Ljava/lang/String;Ljava/util/Properties;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/actuate/info/GitInfoContributor;
1 7 1 props Ljava/util/Properties;
3 7 2 commitId Ljava/lang/String;
Signature: ()Lorg/springframework/core/env/PropertySource<*>;
protected void postProcessContent(java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
ldc "commit"
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.getNestedMap:(Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
ldc "time"
aload 0
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.getProperties:()Lorg/springframework/boot/info/InfoProperties;
checkcast org.springframework.boot.info.GitProperties
invokevirtual org.springframework.boot.info.GitProperties.getCommitTime:()Ljava/time/Instant;
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.replaceValue:(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
aload 0
aload 1
ldc "build"
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.getNestedMap:(Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
ldc "time"
aload 0
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.getProperties:()Lorg/springframework/boot/info/InfoProperties;
checkcast org.springframework.boot.info.GitProperties
ldc "build.time"
invokevirtual org.springframework.boot.info.GitProperties.getInstant:(Ljava/lang/String;)Ljava/time/Instant;
invokevirtual org.springframework.boot.actuate.info.GitInfoContributor.replaceValue:(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/actuate/info/GitInfoContributor;
0 3 1 content Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
content
}
Signature: Lorg/springframework/boot/actuate/info/InfoPropertiesInfoContributor<Lorg/springframework/boot/info/GitProperties;>;
SourceFile: "GitInfoContributor.java"
InnerClasses:
public Builder = org.springframework.boot.actuate.info.Info$Builder of org.springframework.boot.actuate.info.Info
public final Mode = org.springframework.boot.actuate.info.InfoPropertiesInfoContributor$Mode of org.springframework.boot.actuate.info.InfoPropertiesInfoContributor