class org.springframework.boot.devtools.filewatch.FileSnapshot
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.devtools.filewatch.FileSnapshot
super_class: java.lang.Object
{
private final java.io.File file;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean exists;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long length;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long lastModified;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "File must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 1
invokevirtual java.io.File.isFile:()Z
ifne 3
aload 1
invokevirtual java.io.File.exists:()Z
ifeq 3
iconst_0
goto 4
StackMap locals: org.springframework.boot.devtools.filewatch.FileSnapshot java.io.File
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ldc "File must not be a directory"
invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
5: aload 0
aload 1
putfield org.springframework.boot.devtools.filewatch.FileSnapshot.file:Ljava/io/File;
6: aload 0
aload 1
invokevirtual java.io.File.exists:()Z
putfield org.springframework.boot.devtools.filewatch.FileSnapshot.exists:Z
7: aload 0
aload 1
invokevirtual java.io.File.length:()J
putfield org.springframework.boot.devtools.filewatch.FileSnapshot.length:J
8: aload 0
aload 1
invokevirtual java.io.File.lastModified:()J
putfield org.springframework.boot.devtools.filewatch.FileSnapshot.lastModified:J
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/boot/devtools/filewatch/FileSnapshot;
0 10 1 file Ljava/io/File;
MethodParameters:
Name Flags
file
java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.file:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/filewatch/FileSnapshot;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, 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
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.springframework.boot.devtools.filewatch.FileSnapshot
ifeq 17
5: aload 1
checkcast org.springframework.boot.devtools.filewatch.FileSnapshot
astore 2
start local 2 6: aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.file:Ljava/io/File;
aload 2
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.file:Ljava/io/File;
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
istore 3
start local 3 7: iload 3
ifeq 8
aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.exists:Z
aload 2
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.exists:Z
if_icmpne 8
iconst_1
goto 9
StackMap locals: org.springframework.boot.devtools.filewatch.FileSnapshot int
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 3
10: iload 3
ifeq 11
aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.length:J
aload 2
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.length:J
lcmp
ifne 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 3
13: iload 3
ifeq 14
aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.lastModified:J
aload 2
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.lastModified:J
lcmp
ifne 14
iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 3
16: iload 3
ireturn
end local 3 end local 2 17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/springframework/boot/devtools/filewatch/FileSnapshot;
0 18 1 obj Ljava/lang/Object;
6 17 2 other Lorg/springframework/boot/devtools/filewatch/FileSnapshot;
7 17 3 equals Z
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.file:Ljava/io/File;
invokevirtual java.io.File.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.exists:Z
invokestatic java.lang.Boolean.hashCode:(Z)I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.length:J
invokestatic java.lang.Long.hashCode:(J)I
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.lastModified:J
invokestatic java.lang.Long.hashCode:(J)I
iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/devtools/filewatch/FileSnapshot;
1 5 1 hashCode I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.filewatch.FileSnapshot.file:Ljava/io/File;
invokevirtual java.io.File.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/filewatch/FileSnapshot;
}
SourceFile: "FileSnapshot.java"