class org.springframework.http.HttpRange$ByteRange extends org.springframework.http.HttpRange
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.http.HttpRange$ByteRange
super_class: org.springframework.http.HttpRange
{
private final long firstPos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Long lastPos;
descriptor: Ljava/lang/Long;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>(long, java.lang.Long);
descriptor: (JLjava/lang/Long;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokespecial org.springframework.http.HttpRange.<init>:()V
1: aload 0
lload 1
aload 3
invokevirtual org.springframework.http.HttpRange$ByteRange.assertPositions:(JLjava/lang/Long;)V
2: aload 0
lload 1
putfield org.springframework.http.HttpRange$ByteRange.firstPos:J
3: aload 0
aload 3
putfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
4: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/HttpRange$ByteRange;
0 5 1 firstPos J
0 5 3 lastPos Ljava/lang/Long;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
firstPos
lastPos
private void assertPositions(long, java.lang.Long);
descriptor: (JLjava/lang/Long;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lconst_0
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid first byte position: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)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:
aload 3
ifnull 6
aload 3
invokevirtual java.lang.Long.longValue:()J
lload 1
lcmp
ifge 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "firstBytePosition="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
4: ldc " should be less then or equal to lastBytePosition="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/HttpRange$ByteRange;
0 7 1 firstBytePos J
0 7 3 lastBytePos Ljava/lang/Long;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
firstBytePos
lastBytePos
public long getRangeStart(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.HttpRange$ByteRange.firstPos:J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/HttpRange$ByteRange;
0 1 1 length J
MethodParameters:
Name Flags
length
public long getRangeEnd(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
ifnull 2
aload 0
getfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
lload 1
lcmp
ifge 2
1: aload 0
getfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
lreturn
2: StackMap locals:
StackMap stack:
lload 1
lconst_1
lsub
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/HttpRange$ByteRange;
0 3 1 length J
MethodParameters:
Name Flags
length
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
instanceof org.springframework.http.HttpRange$ByteRange
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.springframework.http.HttpRange$ByteRange
astore 2
start local 2 5: aload 0
getfield org.springframework.http.HttpRange$ByteRange.firstPos:J
aload 2
getfield org.springframework.http.HttpRange$ByteRange.firstPos:J
lcmp
ifne 8
6: aload 0
getfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
aload 2
getfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
invokestatic org.springframework.util.ObjectUtils.nullSafeEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: org.springframework.http.HttpRange$ByteRange
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/HttpRange$ByteRange;
0 9 1 other Ljava/lang/Object;
5 9 2 otherRange Lorg/springframework/http/HttpRange$ByteRange;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.HttpRange$ByteRange.firstPos:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokestatic org.springframework.util.ObjectUtils.nullSafeHashCode:(Ljava/lang/Object;)I
bipush 31
imul
1: aload 0
getfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
invokestatic org.springframework.util.ObjectUtils.nullSafeHashCode:(Ljava/lang/Object;)I
2: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/HttpRange$ByteRange;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.springframework.http.HttpRange$ByteRange.firstPos:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
2: aload 1
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 0
getfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
ifnull 5
4: aload 1
aload 0
getfield org.springframework.http.HttpRange$ByteRange.lastPos:Ljava/lang/Long;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/HttpRange$ByteRange;
1 6 1 builder Ljava/lang/StringBuilder;
}
SourceFile: "HttpRange.java"
NestHost: org.springframework.http.HttpRange
InnerClasses:
private ByteRange = org.springframework.http.HttpRange$ByteRange of org.springframework.http.HttpRange