public final class org.springframework.boot.devtools.filewatch.ChangedFile
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.devtools.filewatch.ChangedFile
super_class: java.lang.Object
{
private final java.io.File sourceDirectory;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.File file;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.boot.devtools.filewatch.ChangedFile$Type type;
descriptor: Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.io.File, java.io.File, org.springframework.boot.devtools.filewatch.ChangedFile$Type);
descriptor: (Ljava/io/File;Ljava/io/File;Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "SourceDirectory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 2
ldc "File must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
ldc "Type must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 0
aload 1
putfield org.springframework.boot.devtools.filewatch.ChangedFile.sourceDirectory:Ljava/io/File;
5: aload 0
aload 2
putfield org.springframework.boot.devtools.filewatch.ChangedFile.file:Ljava/io/File;
6: aload 0
aload 3
putfield org.springframework.boot.devtools.filewatch.ChangedFile.type:Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/devtools/filewatch/ChangedFile;
0 8 1 sourceDirectory Ljava/io/File;
0 8 2 file Ljava/io/File;
0 8 3 type Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
MethodParameters:
Name Flags
sourceDirectory
file
type
public java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.file:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/filewatch/ChangedFile;
public org.springframework.boot.devtools.filewatch.ChangedFile$Type getType();
descriptor: ()Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.type:Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/filewatch/ChangedFile;
public java.lang.String getRelativeName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.sourceDirectory:Ljava/io/File;
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
astore 1
start local 1 1: aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.file:Ljava/io/File;
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
astore 2
start local 2 2: aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.cleanPath:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 3: aload 2
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.cleanPath:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 4: aload 4
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
5: aload 4
aload 3
invokedynamic get(Ljava/lang/String;Ljava/lang/String;)Ljava/util/function/Supplier;
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;
org/springframework/boot/devtools/filewatch/ChangedFile.lambda$0(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
6: invokestatic org.springframework.util.Assert.state:(ZLjava/util/function/Supplier;)V
7: aload 4
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/devtools/filewatch/ChangedFile;
1 8 1 directory Ljava/io/File;
2 8 2 file Ljava/io/File;
3 8 3 directoryName Ljava/lang/String;
4 8 4 fileName Ljava/lang/String;
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 1
aload 0
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.ChangedFile
ifeq 8
5: aload 1
checkcast org.springframework.boot.devtools.filewatch.ChangedFile
astore 2
start local 2 6: aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.file:Ljava/io/File;
aload 2
getfield org.springframework.boot.devtools.filewatch.ChangedFile.file:Ljava/io/File;
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 7
aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.type:Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
aload 2
getfield org.springframework.boot.devtools.filewatch.ChangedFile.type:Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
invokevirtual org.springframework.boot.devtools.filewatch.ChangedFile$Type.equals:(Ljava/lang/Object;)Z
ifeq 7
iconst_1
ireturn
StackMap locals: org.springframework.boot.devtools.filewatch.ChangedFile
StackMap stack:
7: iconst_0
ireturn
end local 2 8: 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 9 0 this Lorg/springframework/boot/devtools/filewatch/ChangedFile;
0 9 1 obj Ljava/lang/Object;
6 8 2 other Lorg/springframework/boot/devtools/filewatch/ChangedFile;
MethodParameters:
Name Flags
obj
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.boot.devtools.filewatch.ChangedFile.file:Ljava/io/File;
invokevirtual java.io.File.hashCode:()I
bipush 31
imul
aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.type:Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
invokevirtual org.springframework.boot.devtools.filewatch.ChangedFile$Type.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/filewatch/ChangedFile;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.file:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.boot.devtools.filewatch.ChangedFile.type:Lorg/springframework/boot/devtools/filewatch/ChangedFile$Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/filewatch/ChangedFile;
private static java.lang.String lambda$0(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.StringBuilder
dup
ldc "The file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is not contained in the source directory "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ChangedFile.java"
NestMembers:
org.springframework.boot.devtools.filewatch.ChangedFile$Type
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Type = org.springframework.boot.devtools.filewatch.ChangedFile$Type of org.springframework.boot.devtools.filewatch.ChangedFile