public final class java.time.temporal.ValueRange implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.time.temporal.ValueRange
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7317881728594519368
private final long minSmallest;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long minLargest;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long maxSmallest;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long maxLargest;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static java.time.temporal.ValueRange of(long, long);
descriptor: (JJ)Ljava/time/temporal/ValueRange;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=4, args_size=2
start local 0 start local 2 0: lload 0
lload 2
lcmp
ifle 2
1: new java.lang.IllegalArgumentException
dup
ldc "Minimum value must be less than maximum value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.time.temporal.ValueRange
dup
lload 0
lload 0
lload 2
lload 2
invokespecial java.time.temporal.ValueRange.<init>:(JJJJ)V
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 min J
0 3 2 max J
MethodParameters:
Name Flags
min
max
public static java.time.temporal.ValueRange of(long, long, long);
descriptor: (JJJ)Ljava/time/temporal/ValueRange;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=3
start local 0 start local 2 start local 4 0: lload 0
lload 2
lcmp
ifle 2
1: new java.lang.IllegalArgumentException
dup
ldc "Minimum value must be less than smallest maximum value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
lload 0
lload 0
lload 2
lload 4
invokestatic java.time.temporal.ValueRange.of:(JJJJ)Ljava/time/temporal/ValueRange;
areturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 min J
0 3 2 maxSmallest J
0 3 4 maxLargest J
MethodParameters:
Name Flags
min
maxSmallest
maxLargest
public static java.time.temporal.ValueRange of(long, long, long, long);
descriptor: (JJJJ)Ljava/time/temporal/ValueRange;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=8, args_size=4
start local 0 start local 2 start local 4 start local 6 0: lload 0
lload 2
lcmp
ifle 2
1: new java.lang.IllegalArgumentException
dup
ldc "Smallest minimum value must be less than largest minimum value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
lload 4
lload 6
lcmp
ifle 4
3: new java.lang.IllegalArgumentException
dup
ldc "Smallest maximum value must be less than largest maximum value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
lload 2
lload 6
lcmp
ifle 6
5: new java.lang.IllegalArgumentException
dup
ldc "Largest minimum value must be less than largest maximum value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
lload 0
lload 4
lcmp
ifle 8
7: new java.lang.IllegalArgumentException
dup
ldc "Smallest minimum value must be less than smallest maximum value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
new java.time.temporal.ValueRange
dup
lload 0
lload 2
lload 4
lload 6
invokespecial java.time.temporal.ValueRange.<init>:(JJJJ)V
areturn
end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 minSmallest J
0 9 2 minLargest J
0 9 4 maxSmallest J
0 9 6 maxLargest J
MethodParameters:
Name Flags
minSmallest
minLargest
maxSmallest
maxLargest
private void <init>(long, long, long, long);
descriptor: (JJJJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
putfield java.time.temporal.ValueRange.minSmallest:J
2: aload 0
lload 3
putfield java.time.temporal.ValueRange.minLargest:J
3: aload 0
lload 5
putfield java.time.temporal.ValueRange.maxSmallest:J
4: aload 0
lload 7
putfield java.time.temporal.ValueRange.maxLargest:J
5: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/time/temporal/ValueRange;
0 6 1 minSmallest J
0 6 3 minLargest J
0 6 5 maxSmallest J
0 6 7 maxLargest J
MethodParameters:
Name Flags
minSmallest
minLargest
maxSmallest
maxLargest
public boolean isFixed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield java.time.temporal.ValueRange.minSmallest:J
aload 0
getfield java.time.temporal.ValueRange.minLargest:J
lcmp
ifne 1
aload 0
getfield java.time.temporal.ValueRange.maxSmallest:J
aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/time/temporal/ValueRange;
public long getMinimum();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.time.temporal.ValueRange.minSmallest:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/time/temporal/ValueRange;
public long getLargestMinimum();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.time.temporal.ValueRange.minLargest:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/time/temporal/ValueRange;
public long getSmallestMaximum();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.time.temporal.ValueRange.maxSmallest:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/time/temporal/ValueRange;
public long getMaximum();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/time/temporal/ValueRange;
public boolean isIntValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.time.temporal.ValueRange.getMinimum:()J
ldc -2147483648
lcmp
iflt 1
aload 0
invokevirtual java.time.temporal.ValueRange.getMaximum:()J
ldc 2147483647
lcmp
ifgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/time/temporal/ValueRange;
public boolean isValidValue(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
invokevirtual java.time.temporal.ValueRange.getMinimum:()J
lcmp
iflt 1
lload 1
aload 0
invokevirtual java.time.temporal.ValueRange.getMaximum:()J
lcmp
ifgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/time/temporal/ValueRange;
0 2 1 value J
MethodParameters:
Name Flags
value
public boolean isValidIntValue(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.time.temporal.ValueRange.isIntValue:()Z
ifeq 1
aload 0
lload 1
invokevirtual java.time.temporal.ValueRange.isValidValue:(J)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/time/temporal/ValueRange;
0 2 1 value J
MethodParameters:
Name Flags
value
public long checkValidValue(long, java.time.temporal.TemporalField);
descriptor: (JLjava/time/temporal/TemporalField;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokevirtual java.time.temporal.ValueRange.isValidValue:(J)Z
ifne 2
1: new java.time.DateTimeException
dup
aload 0
aload 3
lload 1
invokevirtual java.time.temporal.ValueRange.genInvalidFieldMessage:(Ljava/time/temporal/TemporalField;J)Ljava/lang/String;
invokespecial java.time.DateTimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/time/temporal/ValueRange;
0 3 1 value J
0 3 3 field Ljava/time/temporal/TemporalField;
MethodParameters:
Name Flags
value
field
public int checkValidIntValue(long, java.time.temporal.TemporalField);
descriptor: (JLjava/time/temporal/TemporalField;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokevirtual java.time.temporal.ValueRange.isValidIntValue:(J)Z
ifne 2
1: new java.time.DateTimeException
dup
aload 0
aload 3
lload 1
invokevirtual java.time.temporal.ValueRange.genInvalidFieldMessage:(Ljava/time/temporal/TemporalField;J)Ljava/lang/String;
invokespecial java.time.DateTimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
lload 1
l2i
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/time/temporal/ValueRange;
0 3 1 value J
0 3 3 field Ljava/time/temporal/TemporalField;
MethodParameters:
Name Flags
value
field
private java.lang.String genInvalidFieldMessage(java.time.temporal.TemporalField, long);
descriptor: (Ljava/time/temporal/TemporalField;J)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
1: new java.lang.StringBuilder
dup
ldc "Invalid value for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (valid values "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Invalid value (valid values "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/time/temporal/ValueRange;
0 3 1 field Ljava/time/temporal/TemporalField;
0 3 2 value J
MethodParameters:
Name Flags
field
value
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
getfield java.time.temporal.ValueRange.minSmallest:J
aload 0
getfield java.time.temporal.ValueRange.minLargest:J
lcmp
ifle 3
2: new java.io.InvalidObjectException
dup
ldc "Smallest minimum value must be less than largest minimum value"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield java.time.temporal.ValueRange.maxSmallest:J
aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
lcmp
ifle 5
4: new java.io.InvalidObjectException
dup
ldc "Smallest maximum value must be less than largest maximum value"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield java.time.temporal.ValueRange.minLargest:J
aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
lcmp
ifle 7
6: new java.io.InvalidObjectException
dup
ldc "Minimum value must be less than maximum value"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/time/temporal/ValueRange;
0 8 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException, java.io.InvalidObjectException
MethodParameters:
Name Flags
s
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 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.time.temporal.ValueRange
ifeq 8
3: aload 1
checkcast java.time.temporal.ValueRange
astore 2
start local 2 4: aload 0
getfield java.time.temporal.ValueRange.minSmallest:J
aload 2
getfield java.time.temporal.ValueRange.minSmallest:J
lcmp
ifne 7
aload 0
getfield java.time.temporal.ValueRange.minLargest:J
aload 2
getfield java.time.temporal.ValueRange.minLargest:J
lcmp
ifne 7
5: aload 0
getfield java.time.temporal.ValueRange.maxSmallest:J
aload 2
getfield java.time.temporal.ValueRange.maxSmallest:J
lcmp
ifne 7
aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
aload 2
getfield java.time.temporal.ValueRange.maxLargest:J
lcmp
ifne 7
6: iconst_1
ireturn
StackMap locals: java.time.temporal.ValueRange
StackMap stack:
7: iconst_0
ireturn
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/time/temporal/ValueRange;
0 9 1 obj Ljava/lang/Object;
4 8 2 other Ljava/time/temporal/ValueRange;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield java.time.temporal.ValueRange.minSmallest:J
aload 0
getfield java.time.temporal.ValueRange.minLargest:J
bipush 16
lshl
ladd
aload 0
getfield java.time.temporal.ValueRange.minLargest:J
bipush 48
lshr
ladd
1: aload 0
getfield java.time.temporal.ValueRange.maxSmallest:J
bipush 32
lshl
2: ladd
3: aload 0
getfield java.time.temporal.ValueRange.maxSmallest:J
bipush 32
lshr
4: ladd
5: aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
bipush 48
lshl
6: ladd
7: aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
bipush 16
lshr
8: ladd
lstore 1
start local 1 9: lload 1
lload 1
bipush 32
lushr
lxor
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/time/temporal/ValueRange;
9 10 1 hash J
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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 java.time.temporal.ValueRange.minSmallest:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield java.time.temporal.ValueRange.minSmallest:J
aload 0
getfield java.time.temporal.ValueRange.minLargest:J
lcmp
ifeq 4
3: aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield java.time.temporal.ValueRange.minLargest:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.time.temporal.ValueRange.maxSmallest:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
5: aload 0
getfield java.time.temporal.ValueRange.maxSmallest:J
aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
lcmp
ifeq 7
6: aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield java.time.temporal.ValueRange.maxLargest:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
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 8 0 this Ljava/time/temporal/ValueRange;
1 8 1 buf Ljava/lang/StringBuilder;
}
SourceFile: "ValueRange.java"