public class com.sun.tools.sjavac.CleanProperties implements com.sun.tools.sjavac.Transformer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.sjavac.CleanProperties
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/CleanProperties;
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/CleanProperties;
0 1 1 e Ljava/lang/String;
MethodParameters:
Name Flags
e
public void (com.sun.tools.sjavac.options.Options);
descriptor: (Lcom/sun/tools/sjavac/options/Options;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/CleanProperties;
0 1 1 a Lcom/sun/tools/sjavac/options/Options;
MethodParameters:
Name Flags
a
public boolean transform(com.sun.tools.sjavac.comp.CompilationService, java.util.Map<java.lang.String, java.util.Set<java.net.URI>>, java.util.Set<java.net.URI>, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>, java.net.URI, java.util.Map<java.lang.String, java.util.Set<java.net.URI>>, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>>, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>>, java.util.Map<java.lang.String, com.sun.tools.sjavac.pubapi.PubApi>, java.util.Map<java.lang.String, com.sun.tools.sjavac.pubapi.PubApi>, int, boolean, );
descriptor: (Lcom/sun/tools/sjavac/comp/CompilationService;Ljava/util/Map;Ljava/util/Set;Ljava/util/Map;Ljava/net/URI;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;IZI)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=22, args_size=14
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 start local 13 0: iconst_1
istore 14
start local 14 1: aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 16
goto 13
StackMap locals: com.sun.tools.sjavac.CleanProperties com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int top java.util.Iterator
StackMap stack:
2: aload 16
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 15
start local 15 3: aload 15
bipush 46
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 17
start local 17 4: aload 2
aload 15
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 19
goto 12
StackMap locals: com.sun.tools.sjavac.CleanProperties com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int java.lang.String java.util.Iterator java.lang.String top java.util.Iterator
StackMap stack:
5: aload 19
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.URI
astore 18
start local 18 6: new java.io.File
dup
aload 18
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
astore 20
start local 20 7: aload 0
aload 15
aload 17
aload 20
new java.io.File
dup
aload 5
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
iload 11
8: aload 6
9: invokevirtual com.sun.tools.sjavac.CleanProperties.clean:(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;Ljava/io/File;ILjava/util/Map;)Z
istore 21
start local 21 10: iload 21
ifne 12
11: iconst_0
istore 14
end local 21 end local 20 end local 18 12: StackMap locals:
StackMap stack:
aload 19
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 17 end local 15 13: StackMap locals: com.sun.tools.sjavac.CleanProperties com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int top java.util.Iterator
StackMap stack:
aload 16
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
14: iload 14
ireturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/sjavac/CleanProperties;
0 15 1 sjavac Lcom/sun/tools/sjavac/comp/CompilationService;
0 15 2 pkgSrcs Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;
0 15 3 visibleSrcs Ljava/util/Set<Ljava/net/URI;>;
0 15 4 oldPackageDependencies Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
0 15 5 destRoot Ljava/net/URI;
0 15 6 packageArtifacts Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;
0 15 7 packageDependencies Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;>;
0 15 8 packageCpDependencies Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;>;
0 15 9 packagePublicApis Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;>;
0 15 10 dependencyPublicApis Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;>;
0 15 11 debugLevel I
0 15 12 incremental Z
0 15 13 numCores I
1 15 14 rc Z
3 13 15 pkgName Ljava/lang/String;
4 13 17 pkgNameF Ljava/lang/String;
6 12 18 u Ljava/net/URI;
7 12 20 src Ljava/io/File;
10 12 21 r Z
Signature: (Lcom/sun/tools/sjavac/comp/CompilationService;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;Ljava/util/Set<Ljava/net/URI;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;Ljava/net/URI;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;>;Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;>;Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;>;IZI)Z
MethodParameters:
Name Flags
sjavac
pkgSrcs
visibleSrcs
oldPackageDependencies
destRoot
packageArtifacts
packageDependencies
packageCpDependencies
packagePublicApis
dependencyPublicApis
debugLevel
incremental
numCores
boolean clean(java.lang.String, java.lang.String, java.io.File, java.io.File, int, java.util.Map<java.lang.String, java.util.Set<java.net.URI>>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/io/File;Ljava/io/File;ILjava/util/Map;)Z
flags: (0x0000)
Code:
stack=7, locals=16, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 7
start local 7 1: aload 7
new java.io.FileInputStream
dup
aload 3
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
2: goto 6
StackMap locals: com.sun.tools.sjavac.CleanProperties java.lang.String java.lang.String java.io.File java.io.File int java.util.Map java.util.Properties
StackMap stack: java.io.IOException
3: pop
4: new java.lang.StringBuilder
dup
ldc "Error reading file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 7: aload 7
invokevirtual java.util.Properties.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 10
StackMap locals: com.sun.tools.sjavac.CleanProperties java.lang.String java.lang.String java.io.File java.io.File int java.util.Map java.util.Properties java.util.List top java.util.Iterator
StackMap stack:
8: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 9
start local 9 9: aload 8
aload 9
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 10: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: aload 8
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
12: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 9
start local 9 13: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 19
StackMap locals: com.sun.tools.sjavac.CleanProperties java.lang.String java.lang.String java.io.File java.io.File int java.util.Map java.util.Properties java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
14: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 15: aload 9
aload 10
invokestatic com.sun.tools.sjavac.CompileProperties.escape:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: aload 7
aload 10
invokevirtual java.util.Properties.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic com.sun.tools.sjavac.CompileProperties.escape:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 10 19: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
20: new java.lang.StringBuilder
dup
aload 4
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 21: new java.io.File
dup
aload 10
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 11
start local 11 22: aload 11
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.isDirectory:()Z
ifne 26
23: aload 11
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.mkdirs:()Z
ifne 26
24: new java.lang.StringBuilder
dup
ldc "Could not create the directory "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
25: iconst_0
ireturn
26: StackMap locals: com.sun.tools.sjavac.CleanProperties java.lang.String java.lang.String java.io.File java.io.File int java.util.Map java.util.Properties java.util.List java.lang.StringBuilder java.lang.String java.io.File
StackMap stack:
aload 6
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 12
start local 12 27: aload 12
ifnonnull 30
28: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 12
29: aload 6
aload 1
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
30: StackMap locals: java.util.Set
StackMap stack:
aload 12
aload 11
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
31: aload 11
invokevirtual java.io.File.exists:()Z
ifeq 33
aload 11
invokevirtual java.io.File.lastModified:()J
aload 3
invokevirtual java.io.File.lastModified:()J
lcmp
ifle 33
32: iconst_1
ireturn
33: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Cleaning property file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.info:(Ljava/lang/String;)V
34: aconst_null
astore 13
aconst_null
astore 14
35: new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
new java.io.FileOutputStream
dup
aload 11
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 15
start local 15 36: aload 15
aload 9
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
37: aload 15
ifnull 46
aload 15
invokevirtual java.io.Writer.close:()V
goto 46
StackMap locals: com.sun.tools.sjavac.CleanProperties java.lang.String java.lang.String java.io.File java.io.File int java.util.Map java.util.Properties java.util.List java.lang.StringBuilder java.lang.String java.io.File java.util.Set java.lang.Throwable java.lang.Throwable java.io.Writer
StackMap stack: java.lang.Throwable
38: astore 13
aload 15
ifnull 39
aload 15
invokevirtual java.io.Writer.close:()V
end local 15 StackMap locals:
StackMap stack:
39: aload 13
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
40: astore 14
aload 13
ifnonnull 41
aload 14
astore 13
goto 42
StackMap locals:
StackMap stack:
41: aload 13
aload 14
if_acmpeq 42
aload 13
aload 14
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
42: aload 13
athrow
StackMap locals: com.sun.tools.sjavac.CleanProperties java.lang.String java.lang.String java.io.File java.io.File int java.util.Map java.util.Properties java.util.List java.lang.StringBuilder java.lang.String java.io.File java.util.Set
StackMap stack: java.io.IOException
43: pop
44: new java.lang.StringBuilder
dup
ldc "Could not write file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
45: iconst_0
ireturn
46: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lcom/sun/tools/sjavac/CleanProperties;
0 47 1 pkgName Ljava/lang/String;
0 47 2 pkgNameF Ljava/lang/String;
0 47 3 src Ljava/io/File;
0 47 4 destRoot Ljava/io/File;
0 47 5 debugLevel I
0 47 6 packageArtifacts Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;
1 47 7 p Ljava/util/Properties;
7 47 8 sortedKeys Ljava/util/List<Ljava/lang/String;>;
9 10 9 key Ljava/lang/Object;
13 47 9 data Ljava/lang/StringBuilder;
15 19 10 key Ljava/lang/String;
21 47 10 destFilename Ljava/lang/String;
22 47 11 dest Ljava/io/File;
27 47 12 as Ljava/util/Set<Ljava/net/URI;>;
36 39 15 writer Ljava/io/Writer;
Exception table:
from to target type
1 2 3 Class java.io.IOException
36 37 38 any
35 40 40 any
34 43 43 Class java.io.IOException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/io/File;Ljava/io/File;ILjava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;)Z
MethodParameters:
Name Flags
pkgName
pkgNameF
src
destRoot
debugLevel
packageArtifacts
}
SourceFile: "CleanProperties.java"