From db26cd275838b0891118a949d5311983dcc63b56 Mon Sep 17 00:00:00 2001 From: Cody <6558800+Bl3nd@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:51:09 -0600 Subject: [PATCH 01/11] Start of token parsing. --- pom.xml | 10 + .../gui/components/MyErrorStripe.java | 359 ++++ .../RSyntaxTextAreaHighlighterEx.java | 132 ++ .../resourceviewer/viewer/ClassViewer.java | 3 + .../gui/util/BytecodeViewPanelUpdater.java | 776 +++++---- .../classcontainer/ClassFileContainer.java | 92 + .../locations/ClassFieldLocation.java | 29 + .../locations/ClassLocalVariableLocation.java | 25 + .../locations/ClassMethodLocation.java | 25 + .../locations/ClassParameterLocation.java | 25 + .../classcontainer/parser/MyVoidVisitor.java | 1541 +++++++++++++++++ .../classcontainer/parser/TokenUtil.java | 28 + 12 files changed, 2718 insertions(+), 327 deletions(-) create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/gui/components/MyErrorStripe.java create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/gui/components/RSyntaxTextAreaHighlighterEx.java create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/ClassFileContainer.java create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/locations/ClassFieldLocation.java create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/locations/ClassLocalVariableLocation.java create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/locations/ClassMethodLocation.java create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/locations/ClassParameterLocation.java create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/parser/MyVoidVisitor.java create mode 100644 src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/parser/TokenUtil.java diff --git a/pom.xml b/pom.xml index 0a2add242..7e14e4201 100644 --- a/pom.xml +++ b/pom.xml @@ -372,6 +372,16 @@ org.abego.treelayout.core ${treelayout.version} + + com.github.javaparser + javaparser-core + 3.26.1 + + + com.github.javaparser + javaparser-symbol-solver-core + 3.26.1 +