public class io.micronaut.core.util.ArgumentUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.micronaut.core.util.ArgumentUtils
super_class: java.lang.Object
{
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 Lio/micronaut/core/util/ArgumentUtils;
public static java.lang.Number requirePositive(java.lang.String, java.lang.Number);
descriptor: (Ljava/lang/String;Ljava/lang/Number;)Ljava/lang/Number;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.micronaut.core.util.ArgumentUtils.requireNonNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual java.lang.Number.intValue:()I
invokestatic io.micronaut.core.util.ArgumentUtils.requirePositive:(Ljava/lang/String;I)I
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
0 3 1 value Ljava/lang/Number;
RuntimeInvisibleAnnotations:
edu.umd.cs.findbugs.annotations.NonNull()
MethodParameters:
Name Flags
name
value
public static <T> T requireNonNull(java.lang.String, );
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "Argument ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] cannot be null"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
0 3 1 value TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)TT;
MethodParameters:
Name Flags
name
value
public static int requirePositive(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Argument ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] cannot be negative"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
0 3 1 value I
MethodParameters:
Name Flags
name
value
public static io.micronaut.core.util.ArgumentUtils$ArgumentCheck check(io.micronaut.core.util.ArgumentUtils$Check);
descriptor: (Lio/micronaut/core/util/ArgumentUtils$Check;)Lio/micronaut/core/util/ArgumentUtils$ArgumentCheck;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.micronaut.core.util.ArgumentUtils$ArgumentCheck
dup
aload 0
invokespecial io.micronaut.core.util.ArgumentUtils$ArgumentCheck.<init>:(Lio/micronaut/core/util/ArgumentUtils$Check;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 check Lio/micronaut/core/util/ArgumentUtils$Check;
MethodParameters:
Name Flags
check
public static <T> io.micronaut.core.util.ArgumentUtils$ArgumentCheck check(java.lang.String, T);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lio/micronaut/core/util/ArgumentUtils$ArgumentCheck;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.micronaut.core.util.ArgumentUtils$ArgumentCheck
dup
aload 0
aload 1
invokespecial io.micronaut.core.util.ArgumentUtils$ArgumentCheck.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 value TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)Lio/micronaut/core/util/ArgumentUtils$ArgumentCheck;
MethodParameters:
Name Flags
name
value
}
SourceFile: "ArgumentUtils.java"
NestMembers:
io.micronaut.core.util.ArgumentUtils$ArgumentCheck io.micronaut.core.util.ArgumentUtils$Check
InnerClasses:
public ArgumentCheck = io.micronaut.core.util.ArgumentUtils$ArgumentCheck of io.micronaut.core.util.ArgumentUtils
public abstract Check = io.micronaut.core.util.ArgumentUtils$Check of io.micronaut.core.util.ArgumentUtils