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 "-"
iconst_m1
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
7: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/String.trim()Ljava/lang/String; (5)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
8: invokedynamic test()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
io/dropwizard/servlets/assets/ByteRange.lambda$1(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
9: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
10: astore 2
start local 2 11: aload 2
invokeinterface java.util.List.size:()I
iconst_2
if_icmpne 17
12: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 13: aload 2
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 14: iload 4
iload 1
if_icmple 16
15: iload 1
iconst_1
isub
istore 4
16: StackMap locals: java.util.List 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 17: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 18: 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 19 0 byteRange Ljava/lang/String;
0 19 1 resourceLength I
2 3 2 start I
5 6 2 start I
11 19 2 parts Ljava/util/List<Ljava/lang/String;>;
13 17 3 start I
14 17 4 end I
18 19 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;
private static boolean lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.dropwizard.util.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/lang/String;
}
SourceFile: "ByteRange.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeInvisibleAnnotations:
javax.annotation.concurrent.Immutable()