diff --git a/pom.xml b/pom.xml
index f3310a68..91e31edb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
the.bytecode.club
Bytecode-Viewer
- 2.11.2
+ 2.11.2-vineflower
@@ -13,42 +13,42 @@
UTF-8
- 24.0.0
+ 24.0.1
4.9.3
- 2.7.0
- 9.4
+ 2.8.0
+ 9.5
0.2.0
1.0bcv
0.152
1.9.12
1.5.0
- 1.15
- 3.1.9
- 1.22
- 2.11.0
+ 1.16.0
+ 3.1.10
+ 1.23.0
+ 2.13.0
3.12.0
1.10.0
3.0.2
0.4.1
- 6.1.2.Final
- v59
- e0d44f4
+ 6.2.5.Final
+ v64
+ 1.9.2
2.10.1
- 31.1-jre
- 2.1.0
+ 32.1.1-jre
+ 2.2.0
4.2
- 1.4.5
+ 1.4.7
1.6.6bcv
3.4.1.3
21.2.0
3.3
0.2.0
0.6.0
- 3.3.2
+ 3.3.3
2.1.1
- 2.0.6
- 403e90375e
- 1.33.0
+ 2.0.7
+ 3.0.3
+ 1.34.1
1.0.3
0.2.2
1.1.4c
@@ -197,8 +197,8 @@
- com.github.ThexXTURBOXx
- fernflower
+ org.vineflower
+ vineflower
${fernflower.version}
@@ -277,13 +277,13 @@
${slf4j.version}
- com.github.iBotPeaches.smali
+ com.android.tools.smali
smali
${smali.version}
- com.github.iBotPeaches.smali
- baksmali
+ com.android.tools.smali
+ smali-baksmali
${smali.version}
@@ -398,7 +398,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.10.1
+ 3.11.0
${maven.compiler.source}
${maven.compiler.target}
@@ -408,7 +408,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.4.0
+ 3.5.0
${maven.compiler.source}
@@ -416,7 +416,7 @@
org.apache.maven.plugins
maven-shade-plugin
- 3.3.0
+ 3.4.1
package
@@ -437,6 +437,7 @@
META-INF/*LICENSE*
META-INF/*NOTICE*
META-INF/MANIFEST.MF
+ LICENSE
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java b/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java
index a1e36460..44f44335 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java
@@ -196,7 +196,7 @@ public class BytecodeViewer
//setup swing components
viewer = new MainViewerGUI();
- SwingUtilities.updateComponentTreeUI(viewer);
+ //SwingUtilities.updateComponentTreeUI(viewer);
//load settings and set swing components state
SettingsSerializer.loadSettings();
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/CommandLineInput.java b/src/main/java/the/bytecode/club/bytecodeviewer/CommandLineInput.java
index 87e52207..b86dc0d6 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/CommandLineInput.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/CommandLineInput.java
@@ -246,7 +246,7 @@ public class CommandLineInput {
}
}
} else if (decompiler.equalsIgnoreCase("fernflower")) {
- System.out.println("Decompiling " + input.getAbsolutePath() + " with FernFlower");
+ System.out.println("Decompiling " + input.getAbsolutePath() + " with Vineflower");
BytecodeViewer.openFiles(new File[]{input}, false);
Thread.sleep(5 * 1000);
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/bootloader/UpdateCheck.java b/src/main/java/the/bytecode/club/bytecodeviewer/bootloader/UpdateCheck.java
index 62f8f0ec..cd259d41 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/bootloader/UpdateCheck.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/bootloader/UpdateCheck.java
@@ -128,6 +128,7 @@ public class UpdateCheck implements Runnable
@Override
public void run()
{
+ if (Integer.valueOf(4) == 4) return;
try {
HTTPRequest r = new HTTPRequest(new URL("https://raw.githubusercontent.com/Konloch/bytecode-viewer/master/VERSION"));
final Version version = Version.parseVersion(r.readSingle());
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/Decompiler.java b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/Decompiler.java
index 033b11d8..c2e1151e 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/Decompiler.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/Decompiler.java
@@ -32,7 +32,7 @@ public enum Decompiler
NONE("None", "", null),
PROCYON_DECOMPILER("Procyon Decompiler", "proycon", new ProcyonDecompiler()),
CFR_DECOMPILER("CFR Decompiler", "cfr", new CFRDecompiler()),
- FERNFLOWER_DECOMPILER("FernFlower Decompiler", "fernflower", new FernFlowerDecompiler()),
+ FERNFLOWER_DECOMPILER("Vineflower Decompiler", "fernflower", new FernFlowerDecompiler()),
BYTECODE_DISASSEMBLER("Bytecode Disassembler", "bcvbd", new BytecodeDisassembler()),
HEXCODE_VIEWER("Hexcode Viewer", "bcvhex", null),
SMALI_DISASSEMBLER("Smali Disassembler", "smali", new SmaliDisassembler()),
@@ -44,28 +44,28 @@ public enum Decompiler
ASMIFIER_DECOMPILER("ASMifier Generator", "asmifier", new ASMifierGenerator()),
JAVAP_DISASSEMBLER("Javap Disassembler", "javap", new JavapDisassembler()),
;
-
+
private final String decompilerName;
private final String decompilerNameProgrammic;
private final InternalDecompiler decompiler;
-
+
Decompiler(String decompilerName, String decompilerNameProgrammic, InternalDecompiler decompiler)
{
this.decompilerName = decompilerName;
this.decompilerNameProgrammic = decompilerNameProgrammic;
this.decompiler = decompiler;
}
-
+
public String getDecompilerName()
{
return decompilerName;
}
-
+
public String getDecompilerNameProgrammic()
{
return decompilerNameProgrammic;
}
-
+
public InternalDecompiler getDecompiler()
{
return decompiler;
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java
index 8faf4d0d..51e5eba2 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java
@@ -166,7 +166,21 @@ public class FernFlowerDecompiler extends InternalDecompiler
"-rer=" + r(BytecodeViewer.viewer.rer.isSelected()),
"-fdi=" + r(BytecodeViewer.viewer.fdi.isSelected()),
"-asc=" + r(BytecodeViewer.viewer.asc.isSelected()),
- "-ren=" + r(BytecodeViewer.viewer.ren.isSelected()), className,
+ "-ren=" + r(BytecodeViewer.viewer.ren.isSelected()),
+ "-lit=" + r(BytecodeViewer.viewer.lit.isSelected()),
+ "-inn=" + r(BytecodeViewer.viewer.inn.isSelected()),
+ "-lac=" + r(BytecodeViewer.viewer.lac.isSelected()),
+ "-bsm=" + r(BytecodeViewer.viewer.bsm.isSelected()),
+ "-iib=" + r(BytecodeViewer.viewer.iib.isSelected()),
+ "-vac=" + r(BytecodeViewer.viewer.vac.isSelected()),
+ "-tcs=" + r(BytecodeViewer.viewer.tcs.isSelected()),
+ "-pam=" + r(BytecodeViewer.viewer.pam.isSelected()),
+ "-tlf=" + r(BytecodeViewer.viewer.tlf.isSelected()),
+ "-tco=" + r(BytecodeViewer.viewer.tco.isSelected()),
+ "-isl=" + r(BytecodeViewer.viewer.isl.isSelected()),
+ "-jvn=" + r(BytecodeViewer.viewer.jvn.isSelected()),
+ "-jrt=" + r(BytecodeViewer.viewer.jrt.isSelected()),
+ className,
folder};
}
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java
index d9f5ac2f..43d57d19 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java
@@ -116,7 +116,7 @@ public class MainViewerGUI extends JFrame
public final SearchBoxPane searchBoxPane = new SearchBoxPane();
public JSplitPane splitPane1;
public JSplitPane splitPane2;
-
+
//the root menu bar
public final JMenuBar rootMenu = new JMenuBar();
@@ -215,8 +215,8 @@ public class MainViewerGUI extends JFrame
public final JCheckBoxMenuItem printLineNumbers = new TranslatedJCheckBoxMenuItem("Print Line Numbers", TranslatedComponents.PRINT_LINE_NUMBERS);
//FernFlower settings
- public final JMenu fernFlowerSettingsSecondaryMenu = new TranslatedJMenu("FernFlower Settings", TranslatedComponents.FERNFLOWER_SETTINGS);
- public final JMenuItem fernFlowerSettings = new TranslatedJMenuItem("FernFlower Settings", TranslatedComponents.FERNFLOWER_SETTINGS);
+ public final JMenu fernFlowerSettingsSecondaryMenu = new TranslatedJMenu("Vineflower Settings", TranslatedComponents.FERNFLOWER_SETTINGS);
+ public final JMenuItem fernFlowerSettings = new TranslatedJMenuItem("Vineflower Settings", TranslatedComponents.FERNFLOWER_SETTINGS);
public SettingsDialog fernFlowerSettingsDialog;
public TranslatedJCheckBoxMenuItem rbr = new TranslatedJCheckBoxMenuItem("Hide bridge methods", TranslatedComponents.HIDE_BRIDGE_METHODS);
public TranslatedJCheckBoxMenuItem rsy = new TranslatedJCheckBoxMenuItem("Hide synthetic class members", TranslatedComponents.HIDE_SYNTHETIC_CLASS_MEMBERS);
@@ -237,6 +237,21 @@ public class MainViewerGUI extends JFrame
public TranslatedJCheckBoxMenuItem fdi = new TranslatedJCheckBoxMenuItem("Deinline finally structures", TranslatedComponents.DEINLINE_FINALLY_STRUCTURES);
public TranslatedJCheckBoxMenuItem asc = new TranslatedJCheckBoxMenuItem("Allow only ASCII characters in strings", TranslatedComponents.ALLOW_ONLY_ASCII_CHARACTERS_IN_STRINGS);
public TranslatedJCheckBoxMenuItem ren = new TranslatedJCheckBoxMenuItem("Rename ambiguous classes and class elements", TranslatedComponents.RENAME_AMBIGUOUS_CLASSES_AND_CLASS_ELEMENTS);
+
+ //Vineflower settings
+ public JCheckBoxMenuItem lit = new JCheckBoxMenuItem("Output numeric literals as-is");
+ public JCheckBoxMenuItem inn = new JCheckBoxMenuItem("Remove IntelliJ IDEA-specific @NotNull inserted code");
+ public JCheckBoxMenuItem lac = new JCheckBoxMenuItem("Decompile lambda expressions to anonymous classes");
+ public JCheckBoxMenuItem bsm = new JCheckBoxMenuItem("Add mappings for source bytecode insns to decompiled lines");
+ public JCheckBoxMenuItem iib = new JCheckBoxMenuItem("Ignore invalid bytecode");
+ public JCheckBoxMenuItem vac = new JCheckBoxMenuItem("Verify anonymous classes");
+ public JCheckBoxMenuItem tcs = new JCheckBoxMenuItem("Simplify boolean constants in ternary operations");
+ public JCheckBoxMenuItem pam = new JCheckBoxMenuItem("Decompile pattern matching");
+ public JCheckBoxMenuItem tlf = new JCheckBoxMenuItem("Experimental try loop enhancements");
+ public JCheckBoxMenuItem tco = new JCheckBoxMenuItem("Allow ternaries in if and loop");
+ public JCheckBoxMenuItem isl = new JCheckBoxMenuItem("Inline simple lambdas");
+ public JCheckBoxMenuItem jvn = new JCheckBoxMenuItem("Use JAD variable naming");
+ public JCheckBoxMenuItem jrt = new JCheckBoxMenuItem("Add currently used Java runtime as library");
//Procyon
public final JMenu procyonSettingsSecondaryMenu = new TranslatedJMenu("Procyon Settings", TranslatedComponents.PROCYON_SETTINGS);
@@ -325,7 +340,7 @@ public class MainViewerGUI extends JFrame
public MainViewerGUI()
{
setIconImages(IconResources.iconList);
- setSize(new Dimension(800, 488));
+ setSize(new Dimension(1280, 960));
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(new KeyEventDispatch());
@@ -351,9 +366,12 @@ public class MainViewerGUI extends JFrame
searchBoxPane.setPreferredSize(new Dimension(200, 50));
searchBoxPane.setMinimumSize(new Dimension(200, 50));
searchBoxPane.setMaximumSize(new Dimension(200, 2147483647));
-
+
+ workPane.setPreferredSize(new Dimension(1500, 1000));
+
splitPane1 = new JSplitPane(JSplitPane.VERTICAL_SPLIT, resourcePane, searchBoxPane);
splitPane2 = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, splitPane1, workPane);
+
getContentPane().add(splitPane2);
splitPane2.setResizeWeight(0.05);
splitPane1.setResizeWeight(0.5);
@@ -361,6 +379,7 @@ public class MainViewerGUI extends JFrame
uiComponents.add(resourcePane);
uiComponents.add(searchBoxPane);
uiComponents.add(workPane);
+// uiComponents.add(hierarchy);
viewPane1.setDefault();
viewPane2.setDefault();
@@ -652,6 +671,21 @@ public class MainViewerGUI extends JFrame
fernFlowerSettingsSecondaryMenu.add(udv);
fernFlowerSettingsSecondaryMenu.add(fdi);
fernFlowerSettingsSecondaryMenu.add(asc);
+
+ fernFlowerSettingsSecondaryMenu.add(lit);
+ fernFlowerSettingsSecondaryMenu.add(inn);
+ fernFlowerSettingsSecondaryMenu.add(lac);
+ fernFlowerSettingsSecondaryMenu.add(bsm);
+ fernFlowerSettingsSecondaryMenu.add(iib);
+ fernFlowerSettingsSecondaryMenu.add(vac);
+ fernFlowerSettingsSecondaryMenu.add(tcs);
+ fernFlowerSettingsSecondaryMenu.add(pam);
+ fernFlowerSettingsSecondaryMenu.add(tlf);
+ fernFlowerSettingsSecondaryMenu.add(tco);
+ fernFlowerSettingsSecondaryMenu.add(isl);
+ fernFlowerSettingsSecondaryMenu.add(jvn);
+ fernFlowerSettingsSecondaryMenu.add(jrt);
+
fernFlowerSettingsDialog = new SettingsDialog(fernFlowerSettingsSecondaryMenu, new JPanel());
fernFlowerSettings.addActionListener((e)-> fernFlowerSettingsDialog.showDialog());
@@ -835,6 +869,20 @@ public class MainViewerGUI extends JFrame
rer.setSelected(true);
hes.setSelected(true);
hdc.setSelected(true);
+
+ lit.setSelected(false);
+ inn.setSelected(true);
+ lac.setSelected(false);
+ bsm.setSelected(false);
+ iib.setSelected(false);
+ vac.setSelected(false);
+ tcs.setSelected(false);
+ pam.setSelected(false);
+ tlf.setSelected(false);
+ tco.setSelected(true);
+ isl.setSelected(true);
+ jvn.setSelected(false);
+ jrt.setSelected(false);
//CFIDE
debugHelpers.setSelected(true);
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/components/SearchableRSyntaxTextArea.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/components/SearchableRSyntaxTextArea.java
index 5c47163b..ae87a662 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/components/SearchableRSyntaxTextArea.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/components/SearchableRSyntaxTextArea.java
@@ -5,6 +5,7 @@ import java.awt.Color;
import java.awt.Font;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
+import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;
import javax.swing.JButton;
import javax.swing.JCheckBox;
@@ -13,6 +14,7 @@ import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;
import javax.swing.text.BadLocationException;
+
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
import org.fife.ui.rtextarea.RTextScrollPane;
import the.bytecode.club.bytecodeviewer.BytecodeViewer;
@@ -50,9 +52,9 @@ import the.bytecode.club.bytecodeviewer.util.JTextAreaUtils;
* @author Konloch
* @since 6/25/2021
*/
-public class SearchableRSyntaxTextArea extends RSyntaxTextArea
-{
- private final RTextScrollPane scrollPane = new RTextScrollPane(this);
+public class SearchableRSyntaxTextArea extends RSyntaxTextArea {
+
+ private RTextScrollPane scrollPane = new RTextScrollPane(this);
private final JPanel searchPanel = new JPanel(new BorderLayout());
private final JTextField searchInput = new JTextField();
private final JCheckBox caseSensitiveSearch = new TranslatedJCheckBox("Match case", TranslatedComponents.MATCH_CASE);
@@ -62,30 +64,26 @@ public class SearchableRSyntaxTextArea extends RSyntaxTextArea
private final Color blackScrollBackground = new Color(0x232323);
private final Color blackScrollForeground = new Color(0x575859);
private Runnable onCtrlS;
-
- public SearchableRSyntaxTextArea()
- {
- if(Configuration.lafTheme == LAFTheme.HIGH_CONTRAST_DARK)
- {
+
+ public SearchableRSyntaxTextArea() {
+ if (Configuration.lafTheme == LAFTheme.HIGH_CONTRAST_DARK) {
//this fixes the white border on the jScrollBar panes
scrollPane.getHorizontalScrollBar().setBackground(blackScrollBackground);
scrollPane.getHorizontalScrollBar().setForeground(blackScrollForeground);
scrollPane.getVerticalScrollBar().setBackground(blackScrollBackground);
scrollPane.getVerticalScrollBar().setForeground(blackScrollForeground);
- }
- else if(Configuration.lafTheme.isDark())
- {
+ } else if (Configuration.lafTheme.isDark()) {
//this fixes the white border on the jScrollBar panes
scrollPane.getHorizontalScrollBar().setBackground(darkScrollBackground);
scrollPane.getHorizontalScrollBar().setForeground(darkScrollForeground);
scrollPane.getVerticalScrollBar().setBackground(darkScrollBackground);
scrollPane.getVerticalScrollBar().setForeground(darkScrollForeground);
}
-
+
setAntiAliasingEnabled(true);
-
+
scrollPane.setColumnHeaderView(searchPanel);
-
+
JButton searchNext = new JButton();
JButton searchPrev = new JButton();
JPanel buttonPane = new JPanel(new BorderLayout());
@@ -96,90 +94,84 @@ public class SearchableRSyntaxTextArea extends RSyntaxTextArea
searchPanel.add(buttonPane, BorderLayout.WEST);
searchPanel.add(searchInput, BorderLayout.CENTER);
searchPanel.add(caseSensitiveSearch, BorderLayout.EAST);
-
+
searchNext.addActionListener(arg0 -> search(searchInput.getText(), true, caseSensitiveSearch.isSelected()));
searchPrev.addActionListener(arg0 -> search(searchInput.getText(), false, caseSensitiveSearch.isSelected()));
-
+
searchInput.addKeyListener(new ReleaseKeyListener(keyEvent ->
{
if (keyEvent.getKeyCode() == KeyEvent.VK_ENTER)
search(searchInput.getText(), true, caseSensitiveSearch.isSelected());
}));
-
+
addKeyListener(new PressKeyListener(keyEvent ->
{
if ((keyEvent.getKeyCode() == KeyEvent.VK_F) && ((keyEvent.getModifiersEx() & KeyEvent.CTRL_DOWN_MASK) != 0))
searchInput.requestFocus();
-
- if (onCtrlS != null && (keyEvent.getKeyCode() == KeyEvent.VK_S) && ((keyEvent.getModifiersEx() & KeyEvent.CTRL_DOWN_MASK) != 0))
- {
+
+ if (onCtrlS != null && (keyEvent.getKeyCode() == KeyEvent.VK_S) && ((keyEvent.getModifiersEx() & KeyEvent.CTRL_DOWN_MASK) != 0)) {
onCtrlS.run();
return;
}
-
+
GlobalHotKeys.keyPressed(keyEvent);
}));
-
+
final Font newFont = getFont().deriveFont((float) BytecodeViewer.viewer.getFontSize());
-
+
//set number-bar font
setFont(newFont);
-
- SwingUtilities.invokeLater(()-> {
+
+ SwingUtilities.invokeLater(() -> {
//attach CTRL + Mouse Wheel Zoom
attachCtrlMouseWheelZoom();
-
+
//set text font
setFont(newFont);
});
-
+
}
-
- public void search(String search, boolean forwardSearchDirection, boolean caseSensitiveSearch)
- {
+
+ public void search(String search, boolean forwardSearchDirection, boolean caseSensitiveSearch) {
JTextAreaUtils.search(this, search, forwardSearchDirection, caseSensitiveSearch);
}
-
- public void highlight(String pattern, boolean caseSensitiveSearch)
- {
+
+ public void highlight(String pattern, boolean caseSensitiveSearch) {
JTextAreaUtils.highlight(this, pattern, caseSensitiveSearch);
}
-
- public void attachCtrlMouseWheelZoom()
- {
- //get the existing scroll event
- MouseWheelListener ogListener = scrollPane.getMouseWheelListeners().length > 0 ?
- scrollPane.getMouseWheelListeners()[0] : null;
-
- //remove the existing event
- if(ogListener != null)
- scrollPane.removeMouseWheelListener(ogListener);
-
- //add a new event
- scrollPane.addMouseWheelListener(e ->
- {
- if (getText().isEmpty())
- return;
-
- if ((e.getModifiersEx() & InputEvent.CTRL_DOWN_MASK) != 0)
- {
+
+ public void attachCtrlMouseWheelZoom() {
+ scrollPane.addMouseWheelListener(e -> {
+ if (getText().isEmpty()) return;
+ if ((e.getModifiersEx() & InputEvent.CTRL_DOWN_MASK) != 0) {
Font font = getFont();
int size = font.getSize();
-
- if (e.getWheelRotation() > 0) //Up
+ if (e.getWheelRotation() > 0)
setFont(new Font(font.getName(), font.getStyle(), --size >= 2 ? --size : 2));
- else //Down
+ else
setFont(new Font(font.getName(), font.getStyle(), ++size));
-
+
e.consume();
}
- else if(ogListener != null)
- {
- ogListener.mouseWheelMoved(e);
- }
});
+
+ scrollPane = new RTextScrollPane() {
+ @Override
+ protected void processMouseWheelEvent(MouseWheelEvent event) {
+ if (!isWheelScrollingEnabled()) {
+ if (getParent() != null) {
+ getParent().dispatchEvent(SwingUtilities.convertMouseEvent(this, event, getParent()));
+ return;
+ }
+ }
+
+ super.processMouseWheelEvent(event);
+ }
+ };
+
+ scrollPane.setWheelScrollingEnabled(false);
}
-
+
public String getLineText(int line) {
try {
if (line < getLineCount()) {
@@ -187,42 +179,36 @@ public class SearchableRSyntaxTextArea extends RSyntaxTextArea
int end = getLineEndOffset(line);
return getText(start, end - start).trim();
}
- } catch (BadLocationException ignored) { }
+ } catch (BadLocationException ignored) {
+ }
return "";
}
-
- public void setOnCtrlS(Runnable onCtrlS)
- {
+
+ public void setOnCtrlS(Runnable onCtrlS) {
this.onCtrlS = onCtrlS;
}
-
- public RTextScrollPane getScrollPane()
- {
+
+ public RTextScrollPane getScrollPane() {
return scrollPane;
}
-
- public JPanel getSearchPanel()
- {
+
+ public JPanel getSearchPanel() {
return searchPanel;
}
-
- public JTextField getSearchInput()
- {
+
+ public JTextField getSearchInput() {
return searchInput;
}
-
- public JCheckBox getCaseSensitiveSearch()
- {
+
+ public JCheckBox getCaseSensitiveSearch() {
return caseSensitiveSearch;
}
-
- public JLabel getTitleHeader()
- {
+
+ public JLabel getTitleHeader() {
return titleHeader;
}
-
- public Runnable getOnCtrlS()
- {
+
+ public Runnable getOnCtrlS() {
return onCtrlS;
}
}
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/CloseButtonComponent.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/CloseButtonComponent.java
index 50c983d2..70c41c37 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/CloseButtonComponent.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/CloseButtonComponent.java
@@ -1,24 +1,16 @@
package the.bytecode.club.bytecodeviewer.gui.resourceviewer;
-import com.android.tools.r8.internal.Cl;
import com.github.weisj.darklaf.components.CloseButton;
-import com.github.weisj.darklaf.listener.MouseClickListener;
import the.bytecode.club.bytecodeviewer.gui.components.listeners.MouseClickedListener;
import the.bytecode.club.bytecodeviewer.translation.TranslatedStrings;
import javax.swing.*;
import java.awt.*;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-import java.awt.event.MouseEvent;
-import java.awt.event.MouseListener;
public class CloseButtonComponent extends JPanel {
private final JTabbedPane pane;
- String title = "";
-
public CloseButtonComponent(final JTabbedPane pane) {
super(new FlowLayout(FlowLayout.LEFT, 0, 0));
if (pane == null) {
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DecompilerSelectionPane.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DecompilerSelectionPane.java
index ffeeaec6..f47052ac 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DecompilerSelectionPane.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DecompilerSelectionPane.java
@@ -53,19 +53,19 @@ public class DecompilerSelectionPane
private final DecompilerViewComponent CFR = new DecompilerViewComponent("CFR", JAVA, Decompiler.CFR_DECOMPILER);
private final DecompilerViewComponent JADX = new DecompilerViewComponent("JADX", JAVA, Decompiler.JADX_DECOMPILER);
private final DecompilerViewComponent JD = new DecompilerViewComponent("JD-GUI", JAVA, Decompiler.JD_DECOMPILER);
- private final DecompilerViewComponent fern = new DecompilerViewComponent("FernFlower", JAVA, Decompiler.FERNFLOWER_DECOMPILER);
+ private final DecompilerViewComponent fern = new DecompilerViewComponent("Vineflower", JAVA, Decompiler.FERNFLOWER_DECOMPILER);
private final DecompilerViewComponent krakatau = new DecompilerViewComponent( "Krakatau", JAVA_AND_BYTECODE, Decompiler.KRAKATAU_DECOMPILER, Decompiler.KRAKATAU_DISASSEMBLER);
private final DecompilerViewComponent smali = new DecompilerViewComponent("Smali", BYTECODE, Decompiler.SMALI_DISASSEMBLER);
private final DecompilerViewComponent bytecode = new DecompilerViewComponent("Bytecode", BYTECODE_NON_EDITABLE, Decompiler.BYTECODE_DISASSEMBLER);
private final DecompilerViewComponent asmTextify = new DecompilerViewComponent("ASM Textify", BYTECODE_NON_EDITABLE, Decompiler.ASM_TEXTIFY_DISASSEMBLER);
private final DecompilerViewComponent asmifier = new DecompilerViewComponent("ASMifier", JAVA_NON_EDITABLE, Decompiler.ASMIFIER_DECOMPILER);
private final DecompilerViewComponent javap = new DecompilerViewComponent("Javap", BYTECODE_NON_EDITABLE, Decompiler.JAVAP_DISASSEMBLER);
-
+
//TODO when adding new decompilers insert the DecompilerViewComponent object into here
// also in the group, then finally the build menu
public List components = new ArrayList<>(Arrays.asList(
procyon, CFR, JADX, JD, fern, krakatau, smali, bytecode, asmTextify, asmifier, javap));
-
+
public DecompilerSelectionPane(int paneID)
{
this.paneID = paneID;
@@ -75,10 +75,10 @@ public class DecompilerSelectionPane
this.menu = new TranslatedJMenu("Pane " + 2, TranslatedComponents.PANE_2);
else
this.menu = new TranslatedJMenu("Pane " + paneID, TranslatedComponents.PANE_3);
-
+
buildMenu();
}
-
+
/**
* Sets the default decompilers for each pane
*/
@@ -97,7 +97,7 @@ public class DecompilerSelectionPane
break;
}
}
-
+
/**
* Builds the Decompiler View menu
*/
@@ -107,7 +107,7 @@ public class DecompilerSelectionPane
group.add(none);
group.add(hexcode);
components.forEach(decompilerViewComponent -> decompilerViewComponent.addToGroup(group));
-
+
//build the action commands
none.setActionCommand(Decompiler.NONE.name());
hexcode.setActionCommand(Decompiler.HEXCODE_VIEWER.name());
@@ -116,7 +116,7 @@ public class DecompilerSelectionPane
for(Decompiler decompiler : component.getDecompilers())
{
String cmd = decompiler.name();
-
+
//TODO this is pretty janky and will break if a decompiler doesn't end with _DECOMPILER suffix
if(cmd.endsWith("DECOMPILER"))
component.getJava().setActionCommand(cmd);
@@ -124,7 +124,7 @@ public class DecompilerSelectionPane
component.getBytecode().setActionCommand(cmd);
}
}
-
+
//auto-save on decompiler change
Enumeration it = group.getElements();
while(it.hasMoreElements())
@@ -134,11 +134,11 @@ public class DecompilerSelectionPane
{
if(Configuration.bootState != BootState.GUI_SHOWING)
return;
-
+
SettingsSerializer.saveSettingsAsync();
});
}
-
+
//build the menu
menu.add(none);
menu.add(new JSeparator());
@@ -161,12 +161,12 @@ public class DecompilerSelectionPane
menu.add(new JSeparator());
menu.add(hexcode);
}
-
+
public Decompiler getSelectedDecompiler()
{
return Decompiler.valueOf(group.getSelection().getActionCommand());
}
-
+
public void setSelectedDecompiler(Decompiler decompiler)
{
Enumeration it = group.getElements();
@@ -180,23 +180,23 @@ public class DecompilerSelectionPane
}
}
}
-
+
public boolean isPaneEditable()
{
String cmd = group.getSelection().getActionCommand();
-
+
for(DecompilerViewComponent component : components)
for (Decompiler decompiler : component.getDecompilers())
if(decompiler.name().equalsIgnoreCase(cmd))
return component.getEditable().isSelected();
-
+
return false;
}
-
+
public void setPaneEditable(boolean value)
{
String cmd = group.getSelection().getActionCommand();
-
+
for(DecompilerViewComponent component : components)
for (Decompiler decompiler : component.getDecompilers())
if(decompiler.name().equalsIgnoreCase(cmd))
@@ -205,7 +205,7 @@ public class DecompilerSelectionPane
return;
}
}
-
+
public JMenu getMenu()
{
return menu;
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DraggableTabbedPane.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DraggableTabbedPane.java
index b6cc821b..97a62943 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DraggableTabbedPane.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DraggableTabbedPane.java
@@ -1,5 +1,6 @@
package the.bytecode.club.bytecodeviewer.gui.resourceviewer;
+import com.github.weisj.darklaf.ui.tabbedpane.DarkTabbedPaneUI;
import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import javax.swing.*;
@@ -16,106 +17,75 @@ public class DraggableTabbedPane extends JTabbedPane {
private static final int LINEWIDTH = 3;
private static final String NAME = "TabTransferData";
private final DataFlavor FLAVOR = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType, NAME);
- private static GhostGlassPane s_glassPane = new GhostGlassPane();
+ private static final GhostGlassPane s_glassPane = new GhostGlassPane();
private boolean m_isDrawRect = false;
private final Rectangle2D m_lineRect = new Rectangle2D.Double();
private final Color m_lineColor = new Color(0, 100, 255);
- private TabAcceptor m_acceptor = null;
+ private TabAcceptor m_acceptor;
public DraggableTabbedPane() {
super(SwingConstants.TOP, SCROLL_TAB_LAYOUT);
+ this.putClientProperty(DarkTabbedPaneUI.KEY_DND, true);
- final DragSourceListener dsl = new DragSourceListener() {
- public void dragEnter(DragSourceDragEvent e) {
- e.getDragSourceContext().setCursor(DragSource.DefaultMoveDrop);
- }
-
- public void dragExit(DragSourceEvent e) {
- e.getDragSourceContext().setCursor(DragSource.DefaultMoveNoDrop);
- m_lineRect.setRect(0, 0, 0, 0);
- m_isDrawRect = false;
- s_glassPane.setPoint(new Point(-1000, -1000));
- s_glassPane.repaint();
- }
-
- public void dragOver(DragSourceDragEvent e) {
- //e.getLocation()
- //This method returns a Point indicating the cursor location in screen coordinates at the moment
-
- TabTransferData data = getTabTransferData(e);
- if (data == null) {
- e.getDragSourceContext().setCursor(
- DragSource.DefaultMoveNoDrop);
- return;
- } // if
-
- /*
- Point tabPt = e.getLocation();
- SwingUtilities.convertPointFromScreen(tabPt, DnDTabbedPane.this);
- if (DnDTabbedPane.this.contains(tabPt)) {
- int targetIdx = getTargetTabIndex(tabPt);
- int sourceIndex = data.getTabIndex();
- if (getTabAreaBound().contains(tabPt)
- && (targetIdx >= 0)
- && (targetIdx != sourceIndex)
- && (targetIdx != sourceIndex + 1)) {
- e.getDragSourceContext().setCursor(
- DragSource.DefaultMoveDrop);
-
- return;
- } // if
-
- e.getDragSourceContext().setCursor(
- DragSource.DefaultMoveNoDrop);
- return;
- } // if
- */
-
- e.getDragSourceContext().setCursor(
- DragSource.DefaultMoveDrop);
- }
-
- public void dragDropEnd(DragSourceDropEvent e) {
- m_isDrawRect = false;
- m_lineRect.setRect(0, 0, 0, 0);
- // m_dragTabIndex = -1;
-
- if (hasGhost()) {
- s_glassPane.setVisible(false);
- s_glassPane.setImage(null);
+ /*if (!Configuration.showDarkLAFComponentIcons) {
+ final DragSourceListener dsl = new DragSourceListener() {
+ public void dragEnter(DragSourceDragEvent e) {
+ e.getDragSourceContext().setCursor(DragSource.DefaultMoveDrop);
}
- }
- public void dropActionChanged(DragSourceDragEvent e) {
- }
- };
+ public void dragExit(DragSourceEvent e) {
+ e.getDragSourceContext().setCursor(DragSource.DefaultMoveNoDrop);
+ m_lineRect.setRect(0, 0, 0, 0);
+ m_isDrawRect = false;
+ s_glassPane.setPoint(new Point(-1000, -1000));
+ s_glassPane.repaint();
+ }
- final DragGestureListener dgl = e -> {
- // System.out.println("dragGestureRecognized");
+ public void dragOver(DragSourceDragEvent e) {
+ TabTransferData data = getTabTransferData(e);
+ if (data == null) {
+ e.getDragSourceContext().setCursor(
+ DragSource.DefaultMoveNoDrop);
+ return;
+ }
- Point tabPt = e.getDragOrigin();
- int dragTabIndex = indexAtLocation(tabPt.x, tabPt.y);
- if (dragTabIndex < 0) {
- return;
- } // if
+ e.getDragSourceContext().setCursor(DragSource.DefaultMoveDrop);
+ }
- initGlassPane(e.getComponent(), e.getDragOrigin(), dragTabIndex);
- try {
- e.startDrag(DragSource.DefaultMoveDrop,
- new TabTransferable(DraggableTabbedPane.this, dragTabIndex), dsl);
- } catch (InvalidDnDOperationException idoe) {
- idoe.printStackTrace();
- }
- };
+ public void dragDropEnd(DragSourceDropEvent e) {
+ m_isDrawRect = false;
+ m_lineRect.setRect(0, 0, 0, 0);
+ if (hasGhost()) {
+ s_glassPane.setVisible(false);
+ s_glassPane.setImage(null);
+ }
+ }
- //dropTarget =
- new DropTarget(this, DnDConstants.ACTION_COPY_OR_MOVE,
- new CDropTargetListener(), true);
- new DragSource().createDefaultDragGestureRecognizer(this,
- DnDConstants.ACTION_COPY_OR_MOVE, dgl);
- m_acceptor = (a_component, a_index) -> true;
+ public void dropActionChanged(DragSourceDragEvent e) {
+ }
+ };
+
+ final DragGestureListener dgl = e -> {
+ Point tabPt = e.getDragOrigin();
+ int dragTabIndex = indexAtLocation(tabPt.x, tabPt.y);
+ if (dragTabIndex < 0) {
+ return;
+ }
+
+ initGlassPane(e.getComponent(), e.getDragOrigin(), dragTabIndex);
+ try {
+ e.startDrag(DragSource.DefaultMoveDrop, new TabTransferable(DraggableTabbedPane.this, dragTabIndex), dsl);
+ } catch (InvalidDnDOperationException idoe) {
+ idoe.printStackTrace();
+ }
+ };
+
+ new DropTarget(this, DnDConstants.ACTION_COPY_OR_MOVE, new CDropTargetListener(), true);
+ new DragSource().createDefaultDragGestureRecognizer(this, DnDConstants.ACTION_COPY_OR_MOVE, dgl);
+ m_acceptor = (a_component, a_index) -> true;
+ }*/
}
public TabAcceptor getAcceptor() {
@@ -131,7 +101,7 @@ public class DraggableTabbedPane extends JTabbedPane {
if (!t.isDataFlavorSupported(FLAVOR)) return null;
try {
- return (TabTransferData) t.getTransferData(FLAVOR);
+ return (TabTransferData) a_event.getTransferable().getTransferData(FLAVOR);
} catch (Exception e) {
e.printStackTrace();
}
@@ -144,7 +114,7 @@ public class DraggableTabbedPane extends JTabbedPane {
if (!t.isDataFlavorSupported(FLAVOR)) return null;
try {
- return (TabTransferData) t.getTransferData(FLAVOR);
+ return (TabTransferData) a_event.getTransferable().getTransferData(FLAVOR);
} catch (Exception e) {
e.printStackTrace();
}
@@ -157,7 +127,7 @@ public class DraggableTabbedPane extends JTabbedPane {
if (!t.isDataFlavorSupported(FLAVOR)) return null;
try {
- return (TabTransferData) t.getTransferData(FLAVOR);
+ return (TabTransferData) a_event.getDragSourceContext().getTransferable().getTransferData(FLAVOR);
} catch (Exception e) {
e.printStackTrace();
}
@@ -175,7 +145,6 @@ public class DraggableTabbedPane extends JTabbedPane {
public Object getTransferData(DataFlavor flavor) {
return m_data;
- // return DnDTabbedPane.this;
}
public DataFlavor[] getTransferDataFlavors() {
@@ -246,27 +215,23 @@ public class DraggableTabbedPane extends JTabbedPane {
retval.y -= s_glassPane.getGhostHeight() / 2;
}
break;
- } // switch
+ }
- retval = SwingUtilities.convertPoint(DraggableTabbedPane.this,
- retval, s_glassPane);
+ retval = SwingUtilities.convertPoint(DraggableTabbedPane.this, retval, s_glassPane);
return retval;
}
class CDropTargetListener implements DropTargetListener {
public void dragEnter(DropTargetDragEvent e) {
- // System.out.println("DropTarget.dragEnter: " + DnDTabbedPane.this);
-
if (isDragAcceptable(e)) {
e.acceptDrag(e.getDropAction());
} else {
e.rejectDrag();
- } // if
+ }
}
public void dragExit(DropTargetEvent e) {
- // System.out.println("DropTarget.dragExit: " + DnDTabbedPane.this);
m_isDrawRect = false;
}
@@ -282,7 +247,7 @@ public class DraggableTabbedPane extends JTabbedPane {
initTargetLeftRightLine(getTargetTabIndex(e.getLocation()), data);
} else {
initTargetTopBottomLine(getTargetTabIndex(e.getLocation()), data);
- } // if-else
+ }
repaint();
if (hasGhost()) {
@@ -292,14 +257,12 @@ public class DraggableTabbedPane extends JTabbedPane {
}
public void drop(DropTargetDropEvent a_event) {
- // System.out.println("DropTarget.drop: " + DnDTabbedPane.this);
-
if (isDropAcceptable(a_event)) {
convertTab(getTabTransferData(a_event), getTargetTabIndex(a_event.getLocation()));
a_event.dropComplete(true);
} else {
a_event.dropComplete(false);
- } // if-else
+ }
m_isDrawRect = false;
repaint();
@@ -311,12 +274,12 @@ public class DraggableTabbedPane extends JTabbedPane {
Transferable t = e.getTransferable();
if (t == null) {
return false;
- } // if
+ }
DataFlavor[] flavor = e.getCurrentDataFlavors();
if (!t.isDataFlavorSupported(flavor[0])) {
return false;
- } // if
+ }
TabTransferData data = getTabTransferData(e);
if (data == null) return false;
@@ -324,13 +287,13 @@ public class DraggableTabbedPane extends JTabbedPane {
if (DraggableTabbedPane.this == data.getTabbedPane()
&& data.getTabIndex() >= 0) {
return true;
- } // if
+ }
if (DraggableTabbedPane.this != data.getTabbedPane()) {
if (m_acceptor != null) {
return m_acceptor.isDropAcceptable(data.getTabbedPane(), data.getTabIndex());
- } // if
- } // if
+ }
+ }
return false;
}
@@ -339,12 +302,12 @@ public class DraggableTabbedPane extends JTabbedPane {
Transferable t = e.getTransferable();
if (t == null) {
return false;
- } // if
+ }
DataFlavor[] flavor = e.getCurrentDataFlavors();
if (!t.isDataFlavorSupported(flavor[0])) {
return false;
- } // if
+ }
TabTransferData data = getTabTransferData(e);
if (data == null) return false;
@@ -352,13 +315,13 @@ public class DraggableTabbedPane extends JTabbedPane {
if (DraggableTabbedPane.this == data.getTabbedPane()
&& data.getTabIndex() >= 0) {
return true;
- } // if
+ }
if (DraggableTabbedPane.this != data.getTabbedPane()) {
if (m_acceptor != null) {
return m_acceptor.isDropAcceptable(data.getTabbedPane(), data.getTabIndex());
- } // if
- } // if
+ }
+ }
return false;
}
@@ -387,20 +350,20 @@ public class DraggableTabbedPane extends JTabbedPane {
// if the pane is empty, the target index is always zero.
if (getTabCount() == 0) {
return 0;
- } // if
+ }
for (int i = 0; i < getTabCount(); i++) {
Rectangle r = getBoundsAt(i);
if (isTopOrBottom) {
- r.setRect(r.x - r.width / 2, r.y, r.width, r.height);
+ r.setRect(r.x - r.width / 2D, r.y, r.width, r.height);
} else {
- r.setRect(r.x, r.y - r.height / 2, r.width, r.height);
- } // if-else
+ r.setRect(r.x, r.y - r.height / 2D, r.width, r.height);
+ }
if (r.contains(a_point)) {
return i;
- } // if
- } // for
+ }
+ }
Rectangle r = getBoundsAt(getTabCount() - 1);
if (isTopOrBottom) {
@@ -409,18 +372,19 @@ public class DraggableTabbedPane extends JTabbedPane {
} else {
int y = r.y + r.height / 2;
r.setRect(r.x, y, r.width, getHeight() - y);
- } // if-else
+ }
return r.contains(a_point) ? getTabCount() : -1;
}
private void convertTab(TabTransferData a_data, int a_targetIndex) {
if (a_data == null) return;
+
DraggableTabbedPane source = a_data.getTabbedPane();
int sourceIndex = a_data.getTabIndex();
if (sourceIndex < 0) {
return;
- } // if
+ }
Component cmp = source.getComponentAt(sourceIndex);
String str = source.getTitleAt(sourceIndex);
@@ -432,34 +396,28 @@ public class DraggableTabbedPane extends JTabbedPane {
} else {
if (a_targetIndex < 0) {
a_targetIndex = 0;
- } // if
+ }
insertTab(str, null, cmp, null, a_targetIndex);
-
- } // if
+ }
setSelectedComponent(cmp);
- // System.out.println("press="+sourceIndex+" next="+a_targetIndex);
return;
- } // if
+ }
if (a_targetIndex < 0 || sourceIndex == a_targetIndex) {
- //System.out.println("press="+prev+" next="+next);
return;
- } // if
+ }
if (a_targetIndex == getTabCount()) {
- //System.out.println("last: press="+prev+" next="+next);
source.remove(sourceIndex);
addTab(str, cmp);
setSelectedIndex(getTabCount() - 1);
} else if (sourceIndex > a_targetIndex) {
- //System.out.println(" >: press="+prev+" next="+next);
source.remove(sourceIndex);
insertTab(str, null, cmp, null, a_targetIndex);
setSelectedIndex(a_targetIndex);
} else {
- //System.out.println(" <: press="+prev+" next="+next);
source.remove(sourceIndex);
insertTab(str, null, cmp, null, a_targetIndex - 1);
setSelectedIndex(a_targetIndex - 1);
@@ -471,31 +429,27 @@ public class DraggableTabbedPane extends JTabbedPane {
m_lineRect.setRect(0, 0, 0, 0);
m_isDrawRect = false;
return;
- } // if
- if (a_data == null) return;
+ }
- if ((a_data.getTabbedPane() == this)
- && (a_data.getTabIndex() == next
- || next - a_data.getTabIndex() == 1)) {
+ if (a_data == null) return;
+
+ if ((a_data.getTabbedPane() == this) && (a_data.getTabIndex() == next || next - a_data.getTabIndex() == 1)) {
m_lineRect.setRect(0, 0, 0, 0);
m_isDrawRect = false;
} else if (getTabCount() == 0) {
m_lineRect.setRect(0, 0, 0, 0);
m_isDrawRect = false;
- return;
} else if (next == 0) {
Rectangle rect = getBoundsAt(0);
- m_lineRect.setRect(-LINEWIDTH / 2, rect.y, LINEWIDTH, rect.height);
+ m_lineRect.setRect(-LINEWIDTH / 2D, rect.y, LINEWIDTH, rect.height);
m_isDrawRect = true;
} else if (next == getTabCount()) {
Rectangle rect = getBoundsAt(getTabCount() - 1);
- m_lineRect.setRect(rect.x + rect.width - LINEWIDTH / 2, rect.y,
- LINEWIDTH, rect.height);
+ m_lineRect.setRect(rect.x + rect.width - LINEWIDTH / 2D, rect.y, LINEWIDTH, rect.height);
m_isDrawRect = true;
} else {
Rectangle rect = getBoundsAt(next - 1);
- m_lineRect.setRect(rect.x + rect.width - LINEWIDTH / 2, rect.y,
- LINEWIDTH, rect.height);
+ m_lineRect.setRect(rect.x + rect.width - LINEWIDTH / 2D, rect.y, LINEWIDTH, rect.height);
m_isDrawRect = true;
}
}
@@ -505,12 +459,11 @@ public class DraggableTabbedPane extends JTabbedPane {
m_lineRect.setRect(0, 0, 0, 0);
m_isDrawRect = false;
return;
- } // if
+ }
+
if (a_data == null) return;
- if ((a_data.getTabbedPane() == this)
- && (a_data.getTabIndex() == next
- || next - a_data.getTabIndex() == 1)) {
+ if ((a_data.getTabbedPane() == this) && (a_data.getTabIndex() == next || next - a_data.getTabIndex() == 1)) {
m_lineRect.setRect(0, 0, 0, 0);
m_isDrawRect = false;
} else if (getTabCount() == 0) {
@@ -519,33 +472,29 @@ public class DraggableTabbedPane extends JTabbedPane {
return;
} else if (next == getTabCount()) {
Rectangle rect = getBoundsAt(getTabCount() - 1);
- m_lineRect.setRect(rect.x, rect.y + rect.height - LINEWIDTH / 2,
- rect.width, LINEWIDTH);
+ m_lineRect.setRect(rect.x, rect.y + rect.height - LINEWIDTH / 2D, rect.width, LINEWIDTH);
m_isDrawRect = true;
} else if (next == 0) {
Rectangle rect = getBoundsAt(0);
- m_lineRect.setRect(rect.x, -LINEWIDTH / 2, rect.width, LINEWIDTH);
+ m_lineRect.setRect(rect.x, -LINEWIDTH / 2D, rect.width, LINEWIDTH);
m_isDrawRect = true;
} else {
Rectangle rect = getBoundsAt(next - 1);
- m_lineRect.setRect(rect.x, rect.y + rect.height - LINEWIDTH / 2,
- rect.width, LINEWIDTH);
+ m_lineRect.setRect(rect.x, rect.y + rect.height - LINEWIDTH / 2D, rect.width, LINEWIDTH);
m_isDrawRect = true;
}
}
private void initGlassPane(Component c, Point tabPt, int a_tabIndex) {
- //Point p = (Point) pt.clone();
getRootPane().setGlassPane(s_glassPane);
if (hasGhost()) {
Rectangle rect = getBoundsAt(a_tabIndex);
- BufferedImage image = new BufferedImage(c.getWidth(),
- c.getHeight(), BufferedImage.TYPE_INT_ARGB);
+ BufferedImage image = new BufferedImage(c.getWidth(), c.getHeight(), BufferedImage.TYPE_INT_ARGB);
Graphics g = image.getGraphics();
c.paint(g);
image = image.getSubimage(rect.x, rect.y, rect.width, rect.height);
s_glassPane.setImage(image);
- } // if
+ }
s_glassPane.setPoint(buildGhostLocation(tabPt));
s_glassPane.setVisible(true);
@@ -563,7 +512,7 @@ public class DraggableTabbedPane extends JTabbedPane {
Graphics2D g2 = (Graphics2D) g;
g2.setPaint(m_lineColor);
g2.fill(m_lineRect);
- } // if
+ }
}
public interface TabAcceptor {
@@ -577,7 +526,7 @@ class GhostGlassPane extends JPanel {
public static final long serialVersionUID = 1L;
private final AlphaComposite m_composite;
- private Point m_location = new Point(0, 0);
+ private final Point m_location = new Point(0, 0);
private BufferedImage m_draggingGhost = null;
@@ -598,7 +547,7 @@ class GhostGlassPane extends JPanel {
public int getGhostWidth() {
if (m_draggingGhost == null) {
return 0;
- } // if
+ }
return m_draggingGhost.getWidth(this);
}
@@ -606,7 +555,7 @@ class GhostGlassPane extends JPanel {
public int getGhostHeight() {
if (m_draggingGhost == null) {
return 0;
- } // if
+ }
return m_draggingGhost.getHeight(this);
}
@@ -614,7 +563,7 @@ class GhostGlassPane extends JPanel {
public void paintComponent(Graphics g) {
if (m_draggingGhost == null) {
return;
- } // if
+ }
Graphics2D g2 = (Graphics2D) g;
g2.setComposite(m_composite);
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/TabbedPane.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/TabbedPane.java
index 6e69083a..a0215fd0 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/TabbedPane.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/TabbedPane.java
@@ -1,22 +1,13 @@
package the.bytecode.club.bytecodeviewer.gui.resourceviewer;
-import java.awt.Color;
-import java.awt.Component;
-import java.awt.FlowLayout;
-import java.awt.Rectangle;
-import java.awt.event.MouseAdapter;
-import java.awt.event.MouseEvent;
-import java.awt.event.MouseListener;
-import javax.swing.*;
-
-import com.github.weisj.darklaf.components.CloseButton;
-import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.gui.components.ButtonHoverAnimation;
import the.bytecode.club.bytecodeviewer.gui.components.MaxWidthJLabel;
-import the.bytecode.club.bytecodeviewer.gui.components.listeners.MouseClickedListener;
import the.bytecode.club.bytecodeviewer.gui.resourceviewer.viewer.ResourceViewer;
import the.bytecode.club.bytecodeviewer.gui.util.DelayTabbedPaneThread;
-import the.bytecode.club.bytecodeviewer.translation.TranslatedStrings;
+
+import javax.swing.*;
+import java.awt.*;
+import java.awt.event.MouseListener;
/***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *
@@ -56,7 +47,7 @@ public class TabbedPane extends JPanel {
public final static MouseListener buttonHoverAnimation = new ButtonHoverAnimation();
public static final Color BLANK_COLOR = new Color(0, 0, 0, 0);
- public TabbedPane(int tabIndex, String tabWorkingName, String fileContainerName, String name, final DraggableTabbedPane existingTabs, ResourceViewer resource) {
+ public TabbedPane(int tabIndex, String tabWorkingName, String fileContainerName, String name, final JTabbedPane existingTabs, ResourceViewer resource) {
// unset default FlowLayout' gaps
super(new FlowLayout(FlowLayout.LEFT, 0, 0));
@@ -80,33 +71,5 @@ public class TabbedPane extends JPanel {
setBorder(BorderFactory.createEmptyBorder(2, 0, 0, 0));
}
- public void onMousePressed(MouseEvent e)
- {
- BytecodeViewer.viewer.workPane.tabs.dispatchEvent(e);
-
- if(e.getButton() == 1)
- {
- startedDragging = System.currentTimeMillis();
- //dragging = true;
- if (probablyABadIdea != null)
- probablyABadIdea.stopped = true;
-
- probablyABadIdea = new DelayTabbedPaneThread(TabbedPane.this);
- probablyABadIdea.start();
- repaint();
- Rectangle bounds = new Rectangle(e.getX(), e.getY(), e.getX() + this.getX(), e.getY());
- for(int i = 0; i < BytecodeViewer.viewer.workPane.tabs.getTabCount(); i++)
- {
- Component c = BytecodeViewer.viewer.workPane.tabs.getTabComponentAt(i);
- if(c != null && bounds.intersects(c.getBounds()))
- BytecodeViewer.viewer.workPane.tabs.setSelectedIndex(i);
- }
- }
- }
-
private static final long serialVersionUID = -4774885688297538774L;
-
- /*public int getTabIndex() {
- return tabs.indexOfTabComponent(this);
- }*/
}
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/Workspace.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/Workspace.java
index 503219c7..7ed91343 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/Workspace.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/Workspace.java
@@ -1,16 +1,5 @@
package the.bytecode.club.bytecodeviewer.gui.resourceviewer;
-import java.awt.*;
-import java.awt.event.MouseEvent;
-import java.awt.event.MouseListener;
-import java.util.HashSet;
-import java.util.Set;
-import javax.swing.JButton;
-import javax.swing.JMenuItem;
-import javax.swing.JPanel;
-import javax.swing.JPopupMenu;
-
-import com.github.weisj.darklaf.components.CloseButton;
import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.decompilers.Decompiler;
import the.bytecode.club.bytecodeviewer.gui.resourceviewer.viewer.ClassViewer;
@@ -22,6 +11,13 @@ import the.bytecode.club.bytecodeviewer.translation.TranslatedStrings;
import the.bytecode.club.bytecodeviewer.translation.components.TranslatedJButton;
import the.bytecode.club.bytecodeviewer.translation.components.TranslatedVisibleComponent;
+import javax.swing.*;
+import java.awt.*;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseListener;
+import java.util.HashSet;
+import java.util.Set;
+
import static the.bytecode.club.bytecodeviewer.Constants.BLOCK_TAB_MENU;
/***************************************************************************
@@ -52,7 +48,7 @@ import static the.bytecode.club.bytecodeviewer.Constants.BLOCK_TAB_MENU;
public class Workspace extends TranslatedVisibleComponent {
- public final DraggableTabbedPane tabs;
+ public JTabbedPane tabs;
public final JPanel buttonPanel;
public final JButton refreshClass;
public final Set openedTabs = new HashSet<>();
@@ -193,7 +189,7 @@ public class Workspace extends TranslatedVisibleComponent {
//search through each tab
for (int i = 0; i < tabs.getTabCount(); i++) {
//find the matching resource and open it
- ResourceViewer tab = (ResourceViewer) tabs.getComponentAt(i);
+ ResourceViewer tab = (ResourceViewer) tabs.getComponentAt(i);
if (tab.resource.workingName.equals(workingName)) {
tabs.setSelectedIndex(i);
break;
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/searching/impl/MemberWithAnnotationSearch.java b/src/main/java/the/bytecode/club/bytecodeviewer/searching/impl/MemberWithAnnotationSearch.java
index ec572948..ec7da6e4 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/searching/impl/MemberWithAnnotationSearch.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/searching/impl/MemberWithAnnotationSearch.java
@@ -14,6 +14,7 @@ import the.bytecode.club.bytecodeviewer.translation.components.TranslatedJLabel;
import javax.swing.*;
import java.awt.*;
+import java.util.Arrays;
import java.util.List;
/***************************************************************************
@@ -67,11 +68,13 @@ public class MemberWithAnnotationSearch implements SearchPanel {
if (srchText.isEmpty()) return;
- node.fields.stream().filter(fn -> hasAnnotation(srchText, fn.invisibleAnnotations, fn.visibleAnnotations)).forEach(fn -> BytecodeViewer.viewer.searchBoxPane.treeRoot.add(new LDCSearchTreeNodeResult(container, resourceWorkingName, node, null, fn, fn.name + " " + fn.desc, "")));
- node.methods.stream().filter(mn -> hasAnnotation(srchText, mn.invisibleAnnotations, mn.visibleAnnotations)).forEach(mn -> BytecodeViewer.viewer.searchBoxPane.treeRoot.add(new LDCSearchTreeNodeResult(container, resourceWorkingName, node, mn, null, mn.name + mn.desc, "")));
+ node.fields.stream().filter(fn -> hasAnnotation(srchText, Arrays.asList(fn.invisibleAnnotations, fn.visibleAnnotations)))
+ .forEach(fn -> BytecodeViewer.viewer.searchBoxPane.treeRoot.add(new LDCSearchTreeNodeResult(container, resourceWorkingName, node, null, fn, fn.name + " " + fn.desc, "")));
+ node.methods.stream().filter(mn -> hasAnnotation(srchText, Arrays.asList(mn.invisibleAnnotations, mn.visibleAnnotations)))
+ .forEach(mn -> BytecodeViewer.viewer.searchBoxPane.treeRoot.add(new LDCSearchTreeNodeResult(container, resourceWorkingName, node, mn, null, mn.name + mn.desc, "")));
}
- public static boolean hasAnnotation(String annotation, List... annoLists) {
+ public static boolean hasAnnotation(String annotation, List> annoLists) {
if (annoLists == null) return false;
for (List annos : annoLists) {
if (annos == null) continue;
diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/util/Dex2Jar.java b/src/main/java/the/bytecode/club/bytecodeviewer/util/Dex2Jar.java
index 74d742d9..7632b088 100644
--- a/src/main/java/the/bytecode/club/bytecodeviewer/util/Dex2Jar.java
+++ b/src/main/java/the/bytecode/club/bytecodeviewer/util/Dex2Jar.java
@@ -1,6 +1,10 @@
package the.bytecode.club.bytecodeviewer.util;
import com.googlecode.d2j.dex.Dex2jar;
+import com.googlecode.d2j.dex.DexExceptionHandler;
+import com.googlecode.d2j.Method;
+import com.googlecode.d2j.node.DexMethodNode;
+import org.objectweb.asm.MethodVisitor;
import java.io.File;
import the.bytecode.club.bytecodeviewer.BytecodeViewer;
@@ -38,7 +42,16 @@ public class Dex2Jar {
*/
public static synchronized void dex2Jar(File input, File output) {
try {
- Dex2jar d2Jar = Dex2jar.from(input);
+ Dex2jar d2Jar = Dex2jar.from(input)
+ .withExceptionHandler(new DexExceptionHandler() {
+ public void handleFileException(Exception e) {
+ e.printStackTrace();
+ }
+
+ public void handleMethodTranslateException(Method method, DexMethodNode methodNode, MethodVisitor mv, Exception e) {
+ e.printStackTrace();
+ }
+ });
d2Jar.to(output.toPath());
} catch (com.googlecode.d2j.DexException e) {
e.printStackTrace();
diff --git a/src/main/resources/translations/arabic.json b/src/main/resources/translations/arabic.json
index b34aa22a..7fa90c4e 100644
--- a/src/main/resources/translations/arabic.json
+++ b/src/main/resources/translations/arabic.json
@@ -84,7 +84,7 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "إعدادات Procyon",
"CFR_SETTINGS": "إعدادات CFR",
- "FERNFLOWER_SETTINGS": "إعدادات FernFlower",
+ "FERNFLOWER_SETTINGS": "إعدادات Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
"FERNFLOWER": "Fernflower",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "مجمع بايت كود",
diff --git a/src/main/resources/translations/bengali.json b/src/main/resources/translations/bengali.json
index ecf9e42e..2f2b57e8 100644
--- a/src/main/resources/translations/bengali.json
+++ b/src/main/resources/translations/bengali.json
@@ -84,7 +84,7 @@
"JAVA": "জাভা",
"PROCYON_SETTINGS": "Procyon Settings",
"CFR_SETTINGS": "CFR Settings",
- "FERNFLOWER_SETTINGS": "FernFlower Settings",
+ "FERNFLOWER_SETTINGS": "Vineflower Settings",
"PROCYON": "প্রোসিওন",
"CFR": "সিএফআর",
"FERNFLOWER": "ফার্নফ্লোয়ার",
diff --git a/src/main/resources/translations/bulgarian.json b/src/main/resources/translations/bulgarian.json
index a4b99d62..e9a8fc72 100644
--- a/src/main/resources/translations/bulgarian.json
+++ b/src/main/resources/translations/bulgarian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Настройки на Procyon",
"CFR_SETTINGS": "Настройки на CFR",
- "FERNFLOWER_SETTINGS": "Настройки на FernFlower",
+ "FERNFLOWER_SETTINGS": "Настройки на Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Кракатау",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Декомпилатор Procyon",
"CFR_DECOMPILER": "Декомпилатор на CFR",
- "FERNFLOWER_DECOMPILER": "Декомпилатор FernFlower",
+ "FERNFLOWER_DECOMPILER": "Декомпилатор Vineflower",
"JADX_DECOMPILER": "Декомпилатор на JADX",
"JD_DECOMPILER": "Декомпилатор на JD-GUI",
"BYTECODE_DISASSEMBLER": "Дезасемблер на байткод",
diff --git a/src/main/resources/translations/croatian.json b/src/main/resources/translations/croatian.json
index 9d01304f..f2d87e56 100644
--- a/src/main/resources/translations/croatian.json
+++ b/src/main/resources/translations/croatian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon postavke",
"CFR_SETTINGS": "CFR postavke",
- "FERNFLOWER_SETTINGS": "FernFlower postavke",
+ "FERNFLOWER_SETTINGS": "Vineflower postavke",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR dekompilator",
- "FERNFLOWER_DECOMPILER": "FernFlower dekompilator",
+ "FERNFLOWER_DECOMPILER": "Vineflower dekompilator",
"JADX_DECOMPILER": "JADX dekompilator",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/czech.json b/src/main/resources/translations/czech.json
index b8b6064d..265d255e 100644
--- a/src/main/resources/translations/czech.json
+++ b/src/main/resources/translations/czech.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Nastavení systému Procyon",
"CFR_SETTINGS": "Nastavení CFR",
- "FERNFLOWER_SETTINGS": "Nastavení FernFlower",
+ "FERNFLOWER_SETTINGS": "Nastavení Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "Dekompilátor CFR",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "Dekompilátor JADX",
"JD_DECOMPILER": "Dekompilátor JD-GUI",
"BYTECODE_DISASSEMBLER": "Disassembler bytového kódu",
diff --git a/src/main/resources/translations/danish.json b/src/main/resources/translations/danish.json
index 1fc8c4d1..2546119e 100644
--- a/src/main/resources/translations/danish.json
+++ b/src/main/resources/translations/danish.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon-indstillinger",
"CFR_SETTINGS": "CFR-indstillinger",
- "FERNFLOWER_SETTINGS": "FernFlower-indstillinger",
+ "FERNFLOWER_SETTINGS": "Vineflower-indstillinger",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR-dekompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX-dekompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Disassembler af bytekode",
diff --git a/src/main/resources/translations/english.json b/src/main/resources/translations/english.json
index 9c781150..81ee6f9d 100644
--- a/src/main/resources/translations/english.json
+++ b/src/main/resources/translations/english.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon Settings",
"CFR_SETTINGS": "CFR Settings",
- "FERNFLOWER_SETTINGS": "FernFlower Settings",
+ "FERNFLOWER_SETTINGS": "Vineflower Settings",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -122,7 +122,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "QuiltFlower Decompiler",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/estonian.json b/src/main/resources/translations/estonian.json
index ba04d7ef..f7b6bb13 100644
--- a/src/main/resources/translations/estonian.json
+++ b/src/main/resources/translations/estonian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyoni seaded",
"CFR_SETTINGS": "CFR seaded",
- "FERNFLOWER_SETTINGS": "FernFlower seaded",
+ "FERNFLOWER_SETTINGS": "Vineflower seaded",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR dekompilaator",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX dekompilaator",
"JD_DECOMPILER": "JD-GUI dekompilaator",
"BYTECODE_DISASSEMBLER": "Baitkoodi lahtimonteerija",
diff --git a/src/main/resources/translations/farsi.json b/src/main/resources/translations/farsi.json
index 176adccd..adf050ad 100644
--- a/src/main/resources/translations/farsi.json
+++ b/src/main/resources/translations/farsi.json
@@ -84,10 +84,10 @@
"JAVA": "جاوا",
"PROCYON_SETTINGS": "تنظیمات Procyon",
"CFR_SETTINGS": "تنظیمات CFR",
- "FERNFLOWER_SETTINGS": "تنظیمات FernFlower",
+ "FERNFLOWER_SETTINGS": "تنظیمات Vineflower",
"PROCYON": "پروسیون",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "کراکتائو",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "جداکننده Bytecode",
diff --git a/src/main/resources/translations/finnish.json b/src/main/resources/translations/finnish.json
index ac07dc3d..ac4a5b1a 100644
--- a/src/main/resources/translations/finnish.json
+++ b/src/main/resources/translations/finnish.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyonin asetukset",
"CFR_SETTINGS": "CFR-asetukset",
- "FERNFLOWER_SETTINGS": "FernFlower asetukset",
+ "FERNFLOWER_SETTINGS": "Vineflower asetukset",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Bytekoodin purkuohjelma",
diff --git a/src/main/resources/translations/french.json b/src/main/resources/translations/french.json
index 6449723a..cf09fe31 100644
--- a/src/main/resources/translations/french.json
+++ b/src/main/resources/translations/french.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Paramètres de Procyon",
"CFR_SETTINGS": "Paramètres du CFR",
- "FERNFLOWER_SETTINGS": "Paramètres de FernFlower",
+ "FERNFLOWER_SETTINGS": "Paramètres de Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Décompilateur Procyon",
"CFR_DECOMPILER": "Décompilateur CFR",
- "FERNFLOWER_DECOMPILER": "Décompilateur FernFlower",
+ "FERNFLOWER_DECOMPILER": "Décompilateur Vineflower",
"JADX_DECOMPILER": "Décompilateur JADX",
"JD_DECOMPILER": "Décompilateur JD-GUI",
"BYTECODE_DISASSEMBLER": "Désassembleur de bytecode",
diff --git a/src/main/resources/translations/georgian.json b/src/main/resources/translations/georgian.json
index 458b3f1f..5d9e1342 100644
--- a/src/main/resources/translations/georgian.json
+++ b/src/main/resources/translations/georgian.json
@@ -84,10 +84,10 @@
"JAVA": "ჯავა",
"PROCYON_SETTINGS": "Procyon პარამეტრები",
"CFR_SETTINGS": "CFR პარამეტრები",
- "FERNFLOWER_SETTINGS": "FernFlower პარამეტრები",
+ "FERNFLOWER_SETTINGS": "Vineflower პარამეტრები",
"PROCYON": "პროციონი",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "კრაკატაუ",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon დეკომპილერი",
"CFR_DECOMPILER": "CFR დეკომპილერი",
- "FERNFLOWER_DECOMPILER": "FernFlower დეკომპილერი",
+ "FERNFLOWER_DECOMPILER": "Vineflower დეკომპილერი",
"JADX_DECOMPILER": "JADX დეკომპილერი",
"JD_DECOMPILER": "JD-GUI დეკომპილერი",
"BYTECODE_DISASSEMBLER": "Bytecode დემონტაჟი",
diff --git a/src/main/resources/translations/german.json b/src/main/resources/translations/german.json
index 78ca9c06..1ede6a48 100644
--- a/src/main/resources/translations/german.json
+++ b/src/main/resources/translations/german.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon-Einstellungen",
"CFR_SETTINGS": "CFR-Einstellungen",
- "FERNFLOWER_SETTINGS": "FernFlower Einstellungen",
+ "FERNFLOWER_SETTINGS": "Vineflower Einstellungen",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon-Dekompilierer",
"CFR_DECOMPILER": "CFR-Dekompilierer",
- "FERNFLOWER_DECOMPILER": "FernFlower-Dekompilierer",
+ "FERNFLOWER_DECOMPILER": "Vineflower-Dekompilierer",
"JADX_DECOMPILER": "JADX-Dekompilierer",
"JD_DECOMPILER": "JD-GUI-Dekompilierer",
"BYTECODE_DISASSEMBLER": "Bytecode-Disassembler",
diff --git a/src/main/resources/translations/greek.json b/src/main/resources/translations/greek.json
index e9fa19fe..6e01e109 100644
--- a/src/main/resources/translations/greek.json
+++ b/src/main/resources/translations/greek.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Ρυθμίσεις Procyon",
"CFR_SETTINGS": "Ρυθμίσεις CFR",
- "FERNFLOWER_SETTINGS": "Ρυθμίσεις FernFlower",
+ "FERNFLOWER_SETTINGS": "Ρυθμίσεις Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Αποσυμπιεστής Procyon",
"CFR_DECOMPILER": "Αποσυμπιεστής CFR",
- "FERNFLOWER_DECOMPILER": "Αποσυμπιεστής FernFlower",
+ "FERNFLOWER_DECOMPILER": "Αποσυμπιεστής Vineflower",
"JADX_DECOMPILER": "Αποσυμπιεστής JADX",
"JD_DECOMPILER": "Αποσυμπιεστής JD-GUI",
"BYTECODE_DISASSEMBLER": "Αποσυναρμολογητής bytecode",
diff --git a/src/main/resources/translations/hausa.json b/src/main/resources/translations/hausa.json
index 34700a97..0a0c74de 100644
--- a/src/main/resources/translations/hausa.json
+++ b/src/main/resources/translations/hausa.json
@@ -84,7 +84,7 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Saitunan Procyon",
"CFR_SETTINGS": "Saitunan CFR",
- "FERNFLOWER_SETTINGS": "Saitunan FernFlower",
+ "FERNFLOWER_SETTINGS": "Saitunan Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
"FERNFLOWER": "MaidaM",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Rarraba Procyon",
"CFR_DECOMPILER": "CFR Rarrabawa",
- "FERNFLOWER_DECOMPILER": "Rarraba FernFlower",
+ "FERNFLOWER_DECOMPILER": "Rarraba Vineflower",
"JADX_DECOMPILER": "JADX Rarrabawa",
"JD_DECOMPILER": "Rarraba JD-GUI",
"BYTECODE_DISASSEMBLER": "Bytecode Mai Rarrabawa",
diff --git a/src/main/resources/translations/hebrew.json b/src/main/resources/translations/hebrew.json
index adc27fc9..6493d560 100644
--- a/src/main/resources/translations/hebrew.json
+++ b/src/main/resources/translations/hebrew.json
@@ -84,7 +84,7 @@
"JAVA": "ג'אווה",
"PROCYON_SETTINGS": "הגדרות Procyon",
"CFR_SETTINGS": "הגדרות CFR",
- "FERNFLOWER_SETTINGS": "הגדרות FernFlower",
+ "FERNFLOWER_SETTINGS": "הגדרות Vineflower",
"PROCYON": "פרוקיון",
"CFR": "CFR",
"FERNFLOWER": "פרנפלור",
diff --git a/src/main/resources/translations/hindi.json b/src/main/resources/translations/hindi.json
index 5f0d5ad8..02f64f84 100644
--- a/src/main/resources/translations/hindi.json
+++ b/src/main/resources/translations/hindi.json
@@ -84,7 +84,7 @@
"JAVA": "जावा",
"PROCYON_SETTINGS": "Procyon Settings",
"CFR_SETTINGS": "CFR Settings",
- "FERNFLOWER_SETTINGS": "FernFlower Settings",
+ "FERNFLOWER_SETTINGS": "Vineflower Settings",
"PROCYON": "प्रोसिओन",
"CFR": "सीएफआर",
"FERNFLOWER": "फर्नफ्लावर",
diff --git a/src/main/resources/translations/hungarian.json b/src/main/resources/translations/hungarian.json
index 4a8b8f27..26fc660c 100644
--- a/src/main/resources/translations/hungarian.json
+++ b/src/main/resources/translations/hungarian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon beállítások",
"CFR_SETTINGS": "CFR beállítások",
- "FERNFLOWER_SETTINGS": "FernFlower beállítások",
+ "FERNFLOWER_SETTINGS": "Vineflower beállítások",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon dekompilátor",
"CFR_DECOMPILER": "CFR dekompilátor",
- "FERNFLOWER_DECOMPILER": "FernFlower dekompilátor",
+ "FERNFLOWER_DECOMPILER": "Vineflower dekompilátor",
"JADX_DECOMPILER": "JADX dekompilátor",
"JD_DECOMPILER": "JD-GUI dekompilátor",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/indonesian.json b/src/main/resources/translations/indonesian.json
index b8487441..7448b61b 100644
--- a/src/main/resources/translations/indonesian.json
+++ b/src/main/resources/translations/indonesian.json
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Dekompiler Procyon",
"CFR_DECOMPILER": "Dekompiler CFR",
- "FERNFLOWER_DECOMPILER": "Dekompiler FernFlower",
+ "FERNFLOWER_DECOMPILER": "Dekompiler Vineflower",
"JADX_DECOMPILER": "Dekompiler JADX",
"JD_DECOMPILER": "Dekompiler JD-GUI",
"BYTECODE_DISASSEMBLER": "Pembongkaran Bytecode",
diff --git a/src/main/resources/translations/italian.json b/src/main/resources/translations/italian.json
index 7c0f98a9..759252da 100644
--- a/src/main/resources/translations/italian.json
+++ b/src/main/resources/translations/italian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Impostazioni Procyon",
"CFR_SETTINGS": "Impostazioni CFR",
- "FERNFLOWER_SETTINGS": "Impostazioni di FernFlower",
+ "FERNFLOWER_SETTINGS": "Impostazioni di Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Decompilatore Procyon",
"CFR_DECOMPILER": "Decompilatore CFR",
- "FERNFLOWER_DECOMPILER": "Decompilatore FernFlower",
+ "FERNFLOWER_DECOMPILER": "Decompilatore Vineflower",
"JADX_DECOMPILER": "Decompilatore JADX",
"JD_DECOMPILER": "Decompilatore JD-GUI",
"BYTECODE_DISASSEMBLER": "Disassemblatore di bytecode",
diff --git a/src/main/resources/translations/japanese.json b/src/main/resources/translations/japanese.json
index eb5e1e91..993000a5 100644
--- a/src/main/resources/translations/japanese.json
+++ b/src/main/resources/translations/japanese.json
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "プロキオンデコンパイラ",
"CFR_DECOMPILER": "CFRデコンパイラー",
- "FERNFLOWER_DECOMPILER": "FernFlowerデコンパイラ",
+ "FERNFLOWER_DECOMPILER": "Vineflowerデコンパイラ",
"JADX_DECOMPILER": "JADXデコンパイラー",
"JD_DECOMPILER": "JD-GUIデコンパイラー",
"BYTECODE_DISASSEMBLER": "バイトコード・ディスアセンブラ",
diff --git a/src/main/resources/translations/javanese.json b/src/main/resources/translations/javanese.json
index f002dcce..9aa34306 100644
--- a/src/main/resources/translations/javanese.json
+++ b/src/main/resources/translations/javanese.json
@@ -84,7 +84,7 @@
"JAVA": "Jawa",
"PROCYON_SETTINGS": "Procyon Settings",
"CFR_SETTINGS": "CFR Settings",
- "FERNFLOWER_SETTINGS": "FernFlower Settings",
+ "FERNFLOWER_SETTINGS": "Vineflower Settings",
"PROCYON": "Procyon",
"CFR": "CFR",
"FERNFLOWER": "KembangBunga",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "Decompiler FernFlower",
+ "FERNFLOWER_DECOMPILER": "Decompiler Vineflower",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/korean.json b/src/main/resources/translations/korean.json
index 8a3a2238..8bd97da4 100644
--- a/src/main/resources/translations/korean.json
+++ b/src/main/resources/translations/korean.json
@@ -84,7 +84,7 @@
"JAVA": "자바",
"PROCYON_SETTINGS": "Procyon Settings",
"CFR_SETTINGS": "CFR Settings",
- "FERNFLOWER_SETTINGS": "FernFlower Settings",
+ "FERNFLOWER_SETTINGS": "Vineflower Settings",
"PROCYON": "프로키온",
"CFR": "CFR",
"FERNFLOWER": "고사리꽃",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "프로키온 디컴파일러",
"CFR_DECOMPILER": "CFR 디컴파일러",
- "FERNFLOWER_DECOMPILER": "FernFlower 디컴파일러",
+ "FERNFLOWER_DECOMPILER": "Vineflower 디컴파일러",
"JADX_DECOMPILER": "JADX 디컴파일러",
"JD_DECOMPILER": "JD-GUI 디컴파일러",
"BYTECODE_DISASSEMBLER": "바이트코드 디스어셈블러",
diff --git a/src/main/resources/translations/lativan.json b/src/main/resources/translations/lativan.json
index 44f89916..012fbf83 100644
--- a/src/main/resources/translations/lativan.json
+++ b/src/main/resources/translations/lativan.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon iestatījumi",
"CFR_SETTINGS": "CFR iestatījumi",
- "FERNFLOWER_SETTINGS": "FernFlower iestatījumi",
+ "FERNFLOWER_SETTINGS": "Vineflower iestatījumi",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon dekompilētājs",
"CFR_DECOMPILER": "CFR dekompilētājs",
- "FERNFLOWER_DECOMPILER": "FernFlower dekompilētājs",
+ "FERNFLOWER_DECOMPILER": "Vineflower dekompilētājs",
"JADX_DECOMPILER": "JADX dekompilētājs",
"JD_DECOMPILER": "JD-GUI dekompilētājs",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/lithuanian.json b/src/main/resources/translations/lithuanian.json
index f988c5f1..96059643 100644
--- a/src/main/resources/translations/lithuanian.json
+++ b/src/main/resources/translations/lithuanian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon nustatymai",
"CFR_SETTINGS": "CFR nustatymai",
- "FERNFLOWER_SETTINGS": "FernFlower nustatymai",
+ "FERNFLOWER_SETTINGS": "Vineflower nustatymai",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR dekompiliatorius",
- "FERNFLOWER_DECOMPILER": "FernFlower dekompiliatorius",
+ "FERNFLOWER_DECOMPILER": "Vineflower dekompiliatorius",
"JADX_DECOMPILER": "JADX dekompiliatorius",
"JD_DECOMPILER": "JD-GUI dekompiliatorius",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/malay.json b/src/main/resources/translations/malay.json
index 0d1fe887..cf0c0666 100644
--- a/src/main/resources/translations/malay.json
+++ b/src/main/resources/translations/malay.json
@@ -84,10 +84,10 @@
"JAVA": "Jawa",
"PROCYON_SETTINGS": "Tetapan Procyon",
"CFR_SETTINGS": "Tetapan CFR",
- "FERNFLOWER_SETTINGS": "Tetapan FernFlower",
+ "FERNFLOWER_SETTINGS": "Tetapan Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "Pengurai CFR",
- "FERNFLOWER_DECOMPILER": "Pengurai FernFlower",
+ "FERNFLOWER_DECOMPILER": "Pengurai Vineflower",
"JADX_DECOMPILER": "Pengurai JADX",
"JD_DECOMPILER": "Pengurai JD-GUI",
"BYTECODE_DISASSEMBLER": "Pembongkaran Bytecode",
diff --git a/src/main/resources/translations/mandarin.json b/src/main/resources/translations/mandarin.json
index dd6a11ea..761e0ba9 100644
--- a/src/main/resources/translations/mandarin.json
+++ b/src/main/resources/translations/mandarin.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon 设置",
"CFR_SETTINGS": "CFR 设置",
- "FERNFLOWER_SETTINGS": "FernFlower 设置",
+ "FERNFLOWER_SETTINGS": "Vineflower 设置",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon 反编译器",
"CFR_DECOMPILER": "CFR 反编译器",
- "FERNFLOWER_DECOMPILER": "FernFlower 反编译器",
+ "FERNFLOWER_DECOMPILER": "Vineflower 反编译器",
"JADX_DECOMPILER": "JADX 反编译器",
"JD_DECOMPILER": "JD-GUI 反编译器",
"BYTECODE_DISASSEMBLER": "字节码反汇编",
diff --git a/src/main/resources/translations/nederlands.json b/src/main/resources/translations/nederlands.json
index 78b44ac1..ecd23501 100644
--- a/src/main/resources/translations/nederlands.json
+++ b/src/main/resources/translations/nederlands.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon Instellingen",
"CFR_SETTINGS": "CFR-instellingen",
- "FERNFLOWER_SETTINGS": "FernFlower Instellingen",
+ "FERNFLOWER_SETTINGS": "Vineflower Instellingen",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Bytecode disassembler",
diff --git a/src/main/resources/translations/norwegian.json b/src/main/resources/translations/norwegian.json
index 60b678aa..aa005624 100644
--- a/src/main/resources/translations/norwegian.json
+++ b/src/main/resources/translations/norwegian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon-innstillinger",
"CFR_SETTINGS": "CFR-innstillinger",
- "FERNFLOWER_SETTINGS": "FernFlower-innstillinger",
+ "FERNFLOWER_SETTINGS": "Vineflower-innstillinger",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX dekompilator",
"JD_DECOMPILER": "JD-GUI dekompilator",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/polish.json b/src/main/resources/translations/polish.json
index 1f796a69..e29e97a0 100644
--- a/src/main/resources/translations/polish.json
+++ b/src/main/resources/translations/polish.json
@@ -87,7 +87,7 @@
"FERNFLOWER_SETTINGS": "Ustawienia kwiatu paproci",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Dekompilator Procyon",
"CFR_DECOMPILER": "Dekompilator CFR",
- "FERNFLOWER_DECOMPILER": "Dekompilator FernFlower",
+ "FERNFLOWER_DECOMPILER": "Dekompilator Vineflower",
"JADX_DECOMPILER": "Dekompilator JADX",
"JD_DECOMPILER": "Dekompilator JD-GUI",
"BYTECODE_DISASSEMBLER": "Dezasembler bajtkodu",
diff --git a/src/main/resources/translations/portuguese.json b/src/main/resources/translations/portuguese.json
index e682ea7b..367f4366 100644
--- a/src/main/resources/translations/portuguese.json
+++ b/src/main/resources/translations/portuguese.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Definições de Procyon",
"CFR_SETTINGS": "Definições do CFR",
- "FERNFLOWER_SETTINGS": "Definições FernFlower",
+ "FERNFLOWER_SETTINGS": "Definições Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Descompilador Procyon",
"CFR_DECOMPILER": "Descompilador CFR",
- "FERNFLOWER_DECOMPILER": "Descompilador FernFlower",
+ "FERNFLOWER_DECOMPILER": "Descompilador Vineflower",
"JADX_DECOMPILER": "Descompilador JADX",
"JD_DECOMPILER": "Descompilador JD-GUI",
"BYTECODE_DISASSEMBLER": "Bytecode Desassembler",
diff --git a/src/main/resources/translations/romanian.json b/src/main/resources/translations/romanian.json
index 7889b6d3..ccb71b1a 100644
--- a/src/main/resources/translations/romanian.json
+++ b/src/main/resources/translations/romanian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Setări Procyon",
"CFR_SETTINGS": "Setări CFR",
- "FERNFLOWER_SETTINGS": "FernFlower Setări",
+ "FERNFLOWER_SETTINGS": "Vineflower Setări",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Descompilatorul Procyon",
"CFR_DECOMPILER": "Descompilator CFR",
- "FERNFLOWER_DECOMPILER": "Descompilatorul FernFlower",
+ "FERNFLOWER_DECOMPILER": "Descompilatorul Vineflower",
"JADX_DECOMPILER": "Descompilator JADX",
"JD_DECOMPILER": "Decompilator JD-GUI",
"BYTECODE_DISASSEMBLER": "Dezasamblatorul de bytecode",
diff --git a/src/main/resources/translations/russian.json b/src/main/resources/translations/russian.json
index 95f41f59..cea38f93 100644
--- a/src/main/resources/translations/russian.json
+++ b/src/main/resources/translations/russian.json
@@ -87,7 +87,7 @@
"FERNFLOWER_SETTINGS": "Параметры цветка папоротника",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Декомпилятор Procyon",
"CFR_DECOMPILER": "Декомпилятор CFR",
- "FERNFLOWER_DECOMPILER": "Декомпилятор FernFlower",
+ "FERNFLOWER_DECOMPILER": "Декомпилятор Vineflower",
"JADX_DECOMPILER": "Декомпилятор JADX",
"JD_DECOMPILER": "Декомпилятор JD-GUI",
"BYTECODE_DISASSEMBLER": "Дизассемблер байт-кода",
diff --git a/src/main/resources/translations/slovak.json b/src/main/resources/translations/slovak.json
index c8ecabcf..e7d2a44b 100644
--- a/src/main/resources/translations/slovak.json
+++ b/src/main/resources/translations/slovak.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Nastavenia Procyonu",
"CFR_SETTINGS": "Nastavenia CFR",
- "FERNFLOWER_SETTINGS": "Nastavenia FernFlower",
+ "FERNFLOWER_SETTINGS": "Nastavenia Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Dekompilátor Procyon",
"CFR_DECOMPILER": "Dekompilátor CFR",
- "FERNFLOWER_DECOMPILER": "Dekompilátor FernFlower",
+ "FERNFLOWER_DECOMPILER": "Dekompilátor Vineflower",
"JADX_DECOMPILER": "Dekompilátor JADX",
"JD_DECOMPILER": "Dekompilátor JD-GUI",
"BYTECODE_DISASSEMBLER": "Disassembler bytového kódu",
diff --git a/src/main/resources/translations/slovenian.json b/src/main/resources/translations/slovenian.json
index c6866de6..2859de4a 100644
--- a/src/main/resources/translations/slovenian.json
+++ b/src/main/resources/translations/slovenian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Nastavitve Procyona",
"CFR_SETTINGS": "Nastavitve CFR",
- "FERNFLOWER_SETTINGS": "Nastavitve FernFlower",
+ "FERNFLOWER_SETTINGS": "Nastavitve Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Razčlenjevalnik bajtkode",
diff --git a/src/main/resources/translations/spanish.json b/src/main/resources/translations/spanish.json
index 2e7c7f39..6cac101a 100644
--- a/src/main/resources/translations/spanish.json
+++ b/src/main/resources/translations/spanish.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Configuración de Procyon",
"CFR_SETTINGS": "Ajustes del CFR",
- "FERNFLOWER_SETTINGS": "Configuración de FernFlower",
+ "FERNFLOWER_SETTINGS": "Configuración de Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Descompilador Procyon",
"CFR_DECOMPILER": "Descompilador CFR",
- "FERNFLOWER_DECOMPILER": "Descompilador FernFlower",
+ "FERNFLOWER_DECOMPILER": "Descompilador Vineflower",
"JADX_DECOMPILER": "Descompilador JADX",
"JD_DECOMPILER": "Descompilador JD-GUI",
"BYTECODE_DISASSEMBLER": "Desensamblador de Bytecode",
diff --git a/src/main/resources/translations/swahili.json b/src/main/resources/translations/swahili.json
index 83c82e29..3636c190 100644
--- a/src/main/resources/translations/swahili.json
+++ b/src/main/resources/translations/swahili.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Mipangilio ya Procyon",
"CFR_SETTINGS": "Mipangilio ya CFR",
- "FERNFLOWER_SETTINGS": "Mipangilio ya FernFlower",
+ "FERNFLOWER_SETTINGS": "Mipangilio ya Vineflower",
"PROCYON": "Prokon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Mtenganishaji wa Procyon",
"CFR_DECOMPILER": "Mchanganyiko wa CFR",
- "FERNFLOWER_DECOMPILER": "Mkusanyaji wa FernFlower",
+ "FERNFLOWER_DECOMPILER": "Mkusanyaji wa Vineflower",
"JADX_DECOMPILER": "JADX Mtenganishaji",
"JD_DECOMPILER": "JD-GUI Mtenganishaji",
"BYTECODE_DISASSEMBLER": "Kutenganisha kwa Bytecode",
diff --git a/src/main/resources/translations/swedish.json b/src/main/resources/translations/swedish.json
index 194d94c0..1c7be192 100644
--- a/src/main/resources/translations/swedish.json
+++ b/src/main/resources/translations/swedish.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Inställningar för Procyon",
"CFR_SETTINGS": "Inställningar för CFR",
- "FERNFLOWER_SETTINGS": "Inställningar för FernFlower",
+ "FERNFLOWER_SETTINGS": "Inställningar för Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR-dekompilering",
- "FERNFLOWER_DECOMPILER": "FernFlower-dekompilering",
+ "FERNFLOWER_DECOMPILER": "Vineflower-dekompilering",
"JADX_DECOMPILER": "JADX-dekompilering",
"JD_DECOMPILER": "JD-GUI-dekompilering",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/thai.json b/src/main/resources/translations/thai.json
index 9998d107..d962043a 100644
--- a/src/main/resources/translations/thai.json
+++ b/src/main/resources/translations/thai.json
@@ -84,7 +84,7 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon Settings",
"CFR_SETTINGS": "CFR Settings",
- "FERNFLOWER_SETTINGS": "FernFlower Settings",
+ "FERNFLOWER_SETTINGS": "Vineflower Settings",
"PROCYON": "Procyon",
"CFR": "CFR",
"FERNFLOWER": "เฟิร์นฟลาวเวอร์",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",
diff --git a/src/main/resources/translations/turkish.json b/src/main/resources/translations/turkish.json
index a9fe5eb9..b07eadf9 100644
--- a/src/main/resources/translations/turkish.json
+++ b/src/main/resources/translations/turkish.json
@@ -84,7 +84,7 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Procyon Ayarları",
"CFR_SETTINGS": "CFR Ayarları",
- "FERNFLOWER_SETTINGS": "FernFlower Ayarları",
+ "FERNFLOWER_SETTINGS": "Vineflower Ayarları",
"PROCYON": "Procyon",
"CFR": "CFR",
"FERNFLOWER": "EğreltiotuÇiçek",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "CFR Decompiler",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "JADX Decompiler",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Bayt Kodu Çözücü",
diff --git a/src/main/resources/translations/ukrainian.json b/src/main/resources/translations/ukrainian.json
index bfd5edad..91d319e6 100644
--- a/src/main/resources/translations/ukrainian.json
+++ b/src/main/resources/translations/ukrainian.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Налаштування Procyon",
"CFR_SETTINGS": "Налаштування CFR",
- "FERNFLOWER_SETTINGS": "Налаштування FernFlower",
+ "FERNFLOWER_SETTINGS": "Налаштування Vineflower",
"PROCYON": "Процій",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Кракатау",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Декомпілятор проціонів",
"CFR_DECOMPILER": "CFR-декомпілятор",
- "FERNFLOWER_DECOMPILER": "Декомпілятор FernFlower",
+ "FERNFLOWER_DECOMPILER": "Декомпілятор Vineflower",
"JADX_DECOMPILER": "Декомпілятор JADX",
"JD_DECOMPILER": "Декомпілятор JD-GUI",
"BYTECODE_DISASSEMBLER": "Розбірник байт-кодів",
diff --git a/src/main/resources/translations/vietnamese.json b/src/main/resources/translations/vietnamese.json
index 6a244156..e257306d 100644
--- a/src/main/resources/translations/vietnamese.json
+++ b/src/main/resources/translations/vietnamese.json
@@ -84,10 +84,10 @@
"JAVA": "Java",
"PROCYON_SETTINGS": "Cài đặt Procyon",
"CFR_SETTINGS": "Cài đặt CFR",
- "FERNFLOWER_SETTINGS": "Cài đặt FernFlower",
+ "FERNFLOWER_SETTINGS": "Cài đặt Vineflower",
"PROCYON": "Procyon",
"CFR": "CFR",
- "FERNFLOWER": "FernFlower",
+ "FERNFLOWER": "Vineflower",
"KRAKATAU": "Krakatau",
"JDGUI": "JD-GUI",
"JADX": "JADX",
@@ -121,7 +121,7 @@
"PROCYON_DECOMPILER": "Procyon Decompiler",
"CFR_DECOMPILER": "Trình biên dịch CFR",
- "FERNFLOWER_DECOMPILER": "FernFlower Decompiler",
+ "FERNFLOWER_DECOMPILER": "Vineflower Decompiler",
"JADX_DECOMPILER": "Trình biên dịch JADX",
"JD_DECOMPILER": "JD-GUI Decompiler",
"BYTECODE_DISASSEMBLER": "Bytecode Disassembler",