public abstract class io.dropwizard.jersey.params.AbstractParam<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.dropwizard.jersey.params.AbstractParam
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String parameterName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final T value;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/dropwizard/jersey/params/AbstractParam;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic io.dropwizard.jersey.params.AbstractParam.LOGGER:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "Parameter"
invokespecial io.dropwizard.jersey.params.AbstractParam.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
0 2 1 input Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
input
protected void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield io.dropwizard.jersey.params.AbstractParam.parameterName:Ljava/lang/String;
2: aload 0
aload 0
aload 1
invokevirtual io.dropwizard.jersey.params.AbstractParam.parse:(Ljava/lang/String;)Ljava/lang/Object;
putfield io.dropwizard.jersey.params.AbstractParam.value:Ljava/lang/Object;
3: goto 6
StackMap locals: io.dropwizard.jersey.params.AbstractParam java.lang.String java.lang.String
StackMap stack: java.lang.Exception
4: astore 3
start local 3 5: new javax.ws.rs.WebApplicationException
dup
aload 0
aload 1
aload 3
invokevirtual io.dropwizard.jersey.params.AbstractParam.error:(Ljava/lang/String;Ljava/lang/Exception;)Ljavax/ws/rs/core/Response;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljavax/ws/rs/core/Response;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
0 7 1 input Ljava/lang/String;
0 7 2 parameterName Ljava/lang/String;
5 6 3 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
1:
MethodParameters:
Name Flags
input
parameterName
protected javax.ws.rs.core.Response error(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)Ljavax/ws/rs/core/Response;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic io.dropwizard.jersey.params.AbstractParam.LOGGER:Lorg/slf4j/Logger;
ldc "Invalid input received: {}"
aload 1
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
aload 2
invokevirtual io.dropwizard.jersey.params.AbstractParam.errorMessage:(Ljava/lang/Exception;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ldc "%s"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 4
3: aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield io.dropwizard.jersey.params.AbstractParam.parameterName:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual io.dropwizard.jersey.params.AbstractParam.getErrorStatus:()Ljavax/ws/rs/core/Response$Status;
invokestatic javax.ws.rs.core.Response.status:(Ljavax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response$ResponseBuilder;
5: new io.dropwizard.jersey.errors.ErrorMessage
dup
aload 0
invokevirtual io.dropwizard.jersey.params.AbstractParam.getErrorStatus:()Ljavax/ws/rs/core/Response$Status;
invokevirtual javax.ws.rs.core.Response$Status.getStatusCode:()I
6: aload 3
7: invokespecial io.dropwizard.jersey.errors.ErrorMessage.<init>:(ILjava/lang/String;)V
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.entity:(Ljava/lang/Object;)Ljavax/ws/rs/core/Response$ResponseBuilder;
8: aload 0
invokevirtual io.dropwizard.jersey.params.AbstractParam.mediaType:()Ljavax/ws/rs/core/MediaType;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.type:(Ljavax/ws/rs/core/MediaType;)Ljavax/ws/rs/core/Response$ResponseBuilder;
9: invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
10: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
0 11 1 input Ljava/lang/String;
0 11 2 e Ljava/lang/Exception;
2 11 3 errorMessage Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
1:
MethodParameters:
Name Flags
input
e
protected javax.ws.rs.core.MediaType mediaType();
descriptor: ()Ljavax/ws/rs/core/MediaType;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE:Ljavax/ws/rs/core/MediaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
protected java.lang.String errorMessage(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "%s is invalid: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield io.dropwizard.jersey.params.AbstractParam.parameterName:Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
0 1 1 e Ljava/lang/Exception;
MethodParameters:
Name Flags
e
protected javax.ws.rs.core.Response$Status getErrorStatus();
descriptor: ()Ljavax/ws/rs/core/Response$Status;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.ws.rs.core.Response$Status.BAD_REQUEST:Ljavax/ws/rs/core/Response$Status;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
protected abstract T parse(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/String;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
input
public T get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.params.AbstractParam.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
Signature: ()TT;
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 io.dropwizard.jersey.params.AbstractParam
astore 2
start local 2 5: aload 0
getfield io.dropwizard.jersey.params.AbstractParam.value:Ljava/lang/Object;
aload 2
getfield io.dropwizard.jersey.params.AbstractParam.value:Ljava/lang/Object;
invokevirtual java.lang.Object.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 Lio/dropwizard/jersey/params/AbstractParam<TT;>;
0 6 1 obj Ljava/lang/Object;
5 6 2 that Lio/dropwizard/jersey/params/AbstractParam<*>;
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 io.dropwizard.jersey.params.AbstractParam.value:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.params.AbstractParam.value:Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/params/AbstractParam<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "AbstractParam.java"
InnerClasses:
public abstract ResponseBuilder = javax.ws.rs.core.Response$ResponseBuilder of javax.ws.rs.core.Response
public final Status = javax.ws.rs.core.Response$Status of javax.ws.rs.core.Response