You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: android-static-binding-generator/project/staticbindinggenerator/src/main/java/org/nativescript/staticbindinggenerator/Generator.java
+69-41Lines changed: 69 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,16 @@
7
7
importjava.io.IOException;
8
8
importjava.io.InputStreamReader;
9
9
importjava.io.PrintStream;
10
+
importjava.nio.file.Files;
11
+
importjava.nio.file.Paths;
10
12
importjava.util.ArrayDeque;
11
13
importjava.util.ArrayList;
12
14
importjava.util.Arrays;
13
15
importjava.util.HashMap;
14
16
importjava.util.HashSet;
15
17
importjava.util.List;
16
18
importjava.util.Map;
19
+
importjava.util.Objects;
17
20
importjava.util.Queue;
18
21
importjava.util.Set;
19
22
importjava.util.jar.JarInputStream;
@@ -24,6 +27,8 @@
24
27
importorg.apache.bcel.classfile.Method;
25
28
importorg.apache.bcel.generic.Type;
26
29
30
+
importjavafx.util.Pair;
31
+
27
32
publicclassGenerator {
28
33
privatestaticfinalStringJAVA_EXT = ".java";
29
34
@@ -45,7 +50,6 @@ public Generator(String outputDir, String[] libs, boolean throwOnError) throws I
thrownewIOException("File already exists. This may lead to undesired behavior.\nPlease change the name of one of the extended classes.\n" + b.getFile());
System.out.println("Warning: File already exists. This could mean the same code has been parsed more than once from two or more different files.");
67
+
} else {
68
+
thrownewIOException("File already exists. This may lead to undesired behavior.\nPlease change the name of one of the extended classes.\n" + b.getFile());
Copy file name to clipboardExpand all lines: android-static-binding-generator/project/staticbindinggenerator/src/test/java/org/nativescript/staticbindinggenerator/test/GeneratorTest.java
0 commit comments