public final class io.dropwizard.servlets.assets.ByteRange
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.dropwizard.servlets.assets.ByteRange
super_class: java.lang.Object
{
private final int start;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int end;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield io.dropwizard.servlets.assets.ByteRange.start:I
2: aload 0
iload 2
putfield io.dropwizard.servlets.assets.ByteRange.end:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/servlets/assets/ByteRange;
0 4 1 start I
0 4 2 end I
MethodParameters:
Name Flags
start final
end final
public int getStart();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.ByteRange.start:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/ByteRange;
public int getEnd();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.ByteRange.end:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/ByteRange;
public static io.dropwizard.servlets.assets.ByteRange parse(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lio/dropwizard/servlets/assets/ByteRange;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "-"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 3
1: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 2
start local 2 2: new io.dropwizard.servlets.assets.ByteRange
dup
iload 2
iload 1
iconst_1
isub
invokespecial io.dropwizard.servlets.assets.ByteRange.<init>:(II)V
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 0
ldc "-"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ifne 6
4: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 2
start local 2 5: new io.dropwizard.servlets.assets.ByteRange
dup
iload 1
iload 2
iadd
iload 1
iconst_1
isub
invokespecial io.dropwizard.servlets.assets.ByteRange.<init>:(II)V
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 0
ldc "-"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 7: aload 2
arraylength
iconst_2
if_icmpne 13
8: aload 2
iconst_0
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 9: aload 2
iconst_1
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 10: iload 4
iload 1
if_icmple 12
11: iload 1
iconst_1
isub
istore 4
12: StackMap locals: java.lang.String[] int int
StackMap stack:
new io.dropwizard.servlets.assets.ByteRange
dup
iload 3
iload 4
invokespecial io.dropwizard.servlets.assets.ByteRange.<init>:(II)V
areturn
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 14: new io.dropwizard.servlets.assets.ByteRange
dup
iload 3
iload 1
iconst_1
isub
invokespecial io.dropwizard.servlets.assets.ByteRange.<init>:(II)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 byteRange Ljava/lang/String;
0 15 1 resourceLength I
2 3 2 start I
5 6 2 start I
7 15 2 parts [Ljava/lang/String;
9 13 3 start I
10 13 4 end I
14 15 3 start I
MethodParameters:
Name Flags
byteRange final
resourceLength final
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.servlets.assets.ByteRange
astore 2
start local 2 5: aload 0
getfield io.dropwizard.servlets.assets.ByteRange.start:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
getfield io.dropwizard.servlets.assets.ByteRange.start:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 6
aload 0
getfield io.dropwizard.servlets.assets.ByteRange.end:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
getfield io.dropwizard.servlets.assets.ByteRange.end:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: io.dropwizard.servlets.assets.ByteRange
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/dropwizard/servlets/assets/ByteRange;
0 7 1 obj Ljava/lang/Object;
5 7 2 other Lio/dropwizard/servlets/assets/ByteRange;
MethodParameters:
Name Flags
obj final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield io.dropwizard.servlets.assets.ByteRange.start:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield io.dropwizard.servlets.assets.ByteRange.end:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/ByteRange;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%d-%d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield io.dropwizard.servlets.assets.ByteRange.start:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield io.dropwizard.servlets.assets.ByteRange.end:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/ByteRange;
}
SourceFile: "ByteRange.java"
RuntimeInvisibleAnnotations:
javax.annotation.concurrent.Immutable()