public abstract class org.springframework.http.codec.protobuf.ProtobufCodecSupport
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.http.codec.protobuf.ProtobufCodecSupport
super_class: java.lang.Object
{
static final java.util.List<org.springframework.util.MimeType> MIME_TYPES;
descriptor: Ljava/util/List;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/util/MimeType;>;
static final java.lang.String DELIMITED_KEY;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "delimited"
static final java.lang.String DELIMITED_VALUE;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "true"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: iconst_2
anewarray org.springframework.util.MimeType
dup
iconst_0
1: new org.springframework.util.MimeType
dup
ldc "application"
ldc "x-protobuf"
invokespecial org.springframework.util.MimeType.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_1
2: new org.springframework.util.MimeType
dup
ldc "application"
ldc "octet-stream"
invokespecial org.springframework.util.MimeType.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aastore
3: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
4: invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putstatic org.springframework.http.codec.protobuf.ProtobufCodecSupport.MIME_TYPES:Ljava/util/List;
5: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/protobuf/ProtobufCodecSupport;
protected boolean supportsMimeType(org.springframework.util.MimeType);
descriptor: (Lorg/springframework/util/MimeType;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
getstatic org.springframework.http.codec.protobuf.ProtobufCodecSupport.MIME_TYPES:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 1
invokedynamic test(Lorg/springframework/util/MimeType;)Ljava/util/function/Predicate;
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;)Z
org/springframework/http/codec/protobuf/ProtobufCodecSupport.lambda$0(Lorg/springframework/util/MimeType;Lorg/springframework/util/MimeType;)Z (6)
(Lorg/springframework/util/MimeType;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/codec/protobuf/ProtobufCodecSupport;
0 2 1 mimeType Lorg/springframework/util/MimeType;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
mimeType
protected java.util.List<org.springframework.util.MimeType> getMimeTypes();
descriptor: ()Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.springframework.http.codec.protobuf.ProtobufCodecSupport.MIME_TYPES:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/protobuf/ProtobufCodecSupport;
Signature: ()Ljava/util/List<Lorg/springframework/util/MimeType;>;
private static boolean lambda$0(org.springframework.util.MimeType, org.springframework.util.MimeType);
descriptor: (Lorg/springframework/util/MimeType;Lorg/springframework/util/MimeType;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokevirtual org.springframework.util.MimeType.isCompatibleWith:(Lorg/springframework/util/MimeType;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 m Lorg/springframework/util/MimeType;
}
SourceFile: "ProtobufCodecSupport.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles