Skip to content

Commit 23215b0

Browse files
committed
Rename package
1 parent ec6437b commit 23215b0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+235
-225
lines changed

plugins/Skeleton.gy

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import the.bytecode.club.bytecodeviewer.api.*;
2-
import java.util.ArrayList;
3-
import org.objectweb.asm.tree.ClassNode;
4-
import the.bytecode.club.bytecodeviewer.decompilers.*;
1+
import org.objectweb.asm.tree.ClassNode
2+
import the.bytecode.club.bytecodeviewer.api.*
3+
import the.bytecode.club.bytecodeviewer.decompilers.*
4+
import the.bytecode.club.jda.api.Plugin
5+
import the.bytecode.club.jda.api.PluginConsole
56

67
public class Skeleton extends Plugin {
78

plugins/Skeleton.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import the.bytecode.club.bytecodeviewer.api.*;
21
import java.util.ArrayList;
32
import org.objectweb.asm.tree.ClassNode;
43

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>groupId</groupId>
88
<artifactId>jda</artifactId>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>0.0.1-SNAPSHOT</version>
1010

1111
<repositories>
1212
<repository>
@@ -44,7 +44,7 @@
4444
<configuration>
4545
<transformers>
4646
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
47-
<mainClass>the.bytecode.club.bytecodeviewer.BytecodeViewer</mainClass>
47+
<mainClass>the.bytecode.club.jda.BytecodeViewer</mainClass>
4848
</transformer>
4949
</transformers>
5050
</configuration>

src/main/java/the/bytecode/club/bytecodeviewer/Boot.java renamed to src/main/java/the/bytecode/club/jda/Boot.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package the.bytecode.club.bytecodeviewer;
1+
package the.bytecode.club.jda;
22

3-
import the.bytecode.club.bytecodeviewer.api.ExceptionUI;
3+
import the.bytecode.club.jda.api.ExceptionUI;
44

55
import javax.swing.*;
66

src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java renamed to src/main/java/the/bytecode/club/jda/BytecodeViewer.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package the.bytecode.club.bytecodeviewer;
1+
package the.bytecode.club.jda;
22

33
import org.apache.commons.io.FileUtils;
44
import org.objectweb.asm.tree.ClassNode;
5-
import the.bytecode.club.bytecodeviewer.api.ClassNodeLoader;
6-
import the.bytecode.club.bytecodeviewer.api.ExceptionUI;
7-
import the.bytecode.club.bytecodeviewer.gui.FileNavigationPane;
8-
import the.bytecode.club.bytecodeviewer.gui.MainViewerGUI;
9-
import the.bytecode.club.bytecodeviewer.gui.WorkPane;
10-
import the.bytecode.club.bytecodeviewer.plugin.PluginManager;
5+
import the.bytecode.club.jda.api.ClassNodeLoader;
6+
import the.bytecode.club.jda.api.ExceptionUI;
7+
import the.bytecode.club.jda.gui.FileNavigationPane;
8+
import the.bytecode.club.jda.gui.MainViewerGUI;
9+
import the.bytecode.club.jda.gui.WorkPane;
10+
import the.bytecode.club.jda.plugin.PluginManager;
1111

1212
import javax.swing.*;
1313
import javax.swing.filechooser.FileFilter;
@@ -102,7 +102,7 @@ public static void main(String[] args)
102102
}
103103
catch (Exception e)
104104
{
105-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(e);
105+
new ExceptionUI(e);
106106
}
107107
}
108108

@@ -372,7 +372,7 @@ public void run()
372372
}
373373
catch (final Exception e)
374374
{
375-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(e);
375+
new ExceptionUI(e);
376376
update = false;
377377
}
378378

@@ -400,7 +400,7 @@ else if (fn.endsWith(".class"))
400400
}
401401
catch (final Exception e)
402402
{
403-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(e);
403+
new ExceptionUI(e);
404404
update = false;
405405
}
406406
}
@@ -421,7 +421,7 @@ else if (fn.endsWith(".class"))
421421
}
422422
catch (final Exception e)
423423
{
424-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(e);
424+
new ExceptionUI(e);
425425
}
426426
finally
427427
{
@@ -456,7 +456,7 @@ public static void startPlugin(File file)
456456
}
457457
catch (Throwable e)
458458
{
459-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(e);
459+
new ExceptionUI(e);
460460
}
461461
addRecentPlugin(file);
462462
}
@@ -483,7 +483,7 @@ public static void resetWorkSpace(boolean ask)
483483
files.clear();
484484
MainViewerGUI.getComponent(FileNavigationPane.class).resetWorkspace();
485485
MainViewerGUI.getComponent(WorkPane.class).resetWorkspace();
486-
the.bytecode.club.bytecodeviewer.api.BytecodeViewer.getClassNodeLoader().clear();
486+
the.bytecode.club.jda.api.BytecodeViewer.getClassNodeLoader().clear();
487487
}
488488
else
489489
{
@@ -503,7 +503,7 @@ public static void resetWorkSpace(boolean ask)
503503
files.clear();
504504
MainViewerGUI.getComponent(FileNavigationPane.class).resetWorkspace();
505505
MainViewerGUI.getComponent(WorkPane.class).resetWorkspace();
506-
the.bytecode.club.bytecodeviewer.api.BytecodeViewer.getClassNodeLoader().clear();
506+
the.bytecode.club.jda.api.BytecodeViewer.getClassNodeLoader().clear();
507507
}
508508
}
509509
}
@@ -678,7 +678,7 @@ private static void hideFile(File f)
678678
}
679679
catch (Exception e)
680680
{
681-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(e);
681+
new ExceptionUI(e);
682682
}
683683
sm.setBlocking();
684684
}
@@ -744,7 +744,7 @@ public String getDescription()
744744
}
745745
catch (Exception e1)
746746
{
747-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(e1);
747+
new ExceptionUI(e1);
748748
}
749749
}
750750
}

src/main/java/the/bytecode/club/bytecodeviewer/CommandLineInput.java renamed to src/main/java/the/bytecode/club/jda/CommandLineInput.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package the.bytecode.club.bytecodeviewer;
1+
package the.bytecode.club.jda;
22

33
import org.apache.commons.cli.*;
44
import org.apache.commons.io.FileUtils;
55
import org.objectweb.asm.tree.ClassNode;
6-
import the.bytecode.club.bytecodeviewer.api.ExceptionUI;
7-
import the.bytecode.club.bytecodeviewer.decompilers.Decompiler;
6+
import the.bytecode.club.jda.api.ExceptionUI;
7+
import the.bytecode.club.jda.decompilers.Decompiler;
88

99
import java.io.File;
1010

src/main/java/the/bytecode/club/bytecodeviewer/DecompilerSettings.java renamed to src/main/java/the/bytecode/club/jda/DecompilerSettings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package the.bytecode.club.bytecodeviewer;
1+
package the.bytecode.club.jda;
22

33
import com.eclipsesource.json.JsonObject;
4-
import the.bytecode.club.bytecodeviewer.decompilers.Decompiler;
4+
import the.bytecode.club.jda.decompilers.Decompiler;
55

66
import javax.swing.*;
77
import java.util.ArrayList;

src/main/java/the/bytecode/club/bytecodeviewer/FileChangeNotifier.java renamed to src/main/java/the/bytecode/club/jda/FileChangeNotifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package the.bytecode.club.bytecodeviewer;
1+
package the.bytecode.club.jda;
22

33
import org.objectweb.asm.tree.ClassNode;
44

src/main/java/the/bytecode/club/bytecodeviewer/FileContainer.java renamed to src/main/java/the/bytecode/club/jda/FileContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package the.bytecode.club.bytecodeviewer;
1+
package the.bytecode.club.jda;
22

33
import org.objectweb.asm.ClassReader;
44
import org.objectweb.asm.tree.ClassNode;

src/main/java/the/bytecode/club/bytecodeviewer/FileDrop.java renamed to src/main/java/the/bytecode/club/jda/FileDrop.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
package the.bytecode.club.bytecodeviewer;
1+
package the.bytecode.club.jda;
2+
3+
import the.bytecode.club.jda.api.ExceptionUI;
24

35
import java.awt.datatransfer.DataFlavor;
46
import java.io.*;
@@ -353,13 +355,13 @@ public void drop(final java.awt.dnd.DropTargetDropEvent evt)
353355
catch (final java.io.IOException io)
354356
{
355357
log(out, "FileDrop: IOException - abort:");
356-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(io);
358+
new ExceptionUI(io);
357359
evt.rejectDrop();
358360
} // end catch IOException
359361
catch (final java.awt.datatransfer.UnsupportedFlavorException ufe)
360362
{
361363
log(out, "FileDrop: UnsupportedFlavorException - abort:");
362-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(ufe);
364+
new ExceptionUI(ufe);
363365
evt.rejectDrop();
364366
} // end catch: UnsupportedFlavorException
365367
finally
@@ -482,7 +484,7 @@ private void makeDropTarget(final java.io.PrintStream out, final java.awt.Compon
482484
} // end try
483485
catch (final java.util.TooManyListenersException e)
484486
{
485-
new the.bytecode.club.bytecodeviewer.api.ExceptionUI(e);
487+
new ExceptionUI(e);
486488
log(out, "FileDrop: Drop will not work due to previous error. Do you have another listener attached?");
487489
} // end catch
488490

0 commit comments

Comments
 (0)