Commit Graph
3186 Commits
Author SHA1 Message Date
bigguy345 fbbd53d5ff Removed unneeded enum constructor creation 2026-01-02 20:56:47 +02:00
bigguy345 5e13f580bb Removed token EnumConstantInfo as no longer needed 2026-01-02 20:38:50 +02:00
bigguy345 ca11c3c9f6 Added script enums to ScriptType's field pool 2026-01-02 20:38:18 +02:00
bigguy345 5553ece3e6 Processed external/java class enums properly 2026-01-02 20:37:47 +02:00
bigguy345 fd160e980a Stored EnumConstantInfo in FieldInfo 2026-01-02 17:13:06 +02:00
bigguy345 369b346093 Removed if (getErrors().stream().anyMatch(err -> err.contains("Cannot resolve symbol 2026-01-02 16:46:07 +02:00
bigguy345 8d2d08b8cb Unified package name fetching across TokenHoverInfo extractors 2026-01-02 16:14:55 +02:00
bigguy345 aaaeaf4b19 Added hover info for enum constants 2026-01-02 16:11:49 +02:00
bigguy345 d3a1535a31 EnumConstantInfo as token metadata 2026-01-02 16:11:08 +02:00
bigguy345 75c5637aa7 Added FieldInfo initStart/initEnd for enum constants 2026-01-02 16:10:45 +02:00
bigguy345 96c243f6bf OOPS 2026-01-02 14:58:01 +02:00
bigguy345 58cac3667c Added ENUM CONSTANT parsing and validation 2026-01-02 14:57:45 +02:00
bigguy345 86da3f21e1 Added bold/italic rendering for TokenType 2026-01-01 14:39:41 +02:00
bigguy345 275a5f10c9 Retrieved true containing type of method calls in hover info (handled inheritance case) 2026-01-01 01:01:47 +02:00
bigguy345 7b77c1935f Added super() error validation 2025-12-31 23:36:44 +02:00
bigguy345 861cdcd533 Moved all inheritance code to ScriptTypeInfo 2025-12-31 21:15:18 +02:00
bigguy345 35af0bbd2d Got error validation working for ScriptTypeInfo 2025-12-31 20:42:40 +02:00
bigguy345 0caebb08ca Vastly improved GutterIconRenderer 2025-12-31 19:19:06 +02:00
bigguy345 71b4a6fdc4 Huge ScriptType extends/implements back-end 2025-12-31 18:53:28 +02:00
bigguy345 8e283b705c Removed unused code 2025-12-31 17:04:43 +02:00
bigguy345 dfec28ccc8 Switched method fetches to getAllMethods() 2025-12-31 17:02:24 +02:00
bigguy345 6cdb222b67 Added INTERFACE_METHOD_BODY error & improved logic 2025-12-31 16:53:38 +02:00
bigguy345 c97de07ef7 Added MISSING_BODY error for method declarations 2025-12-31 14:46:00 +02:00
bigguy345 20f1c7cb66 Detected duplicate methods for ScriptTypeInfo methods 2025-12-31 14:27:57 +02:00
bigguy345 002d2a6f15 Optimised ScriptType member detection 2025-12-31 14:25:47 +02:00
bigguy345 4ff47456b7 Detected bodyless Methods declared within interfaces/have abstract modifiers 2025-12-31 14:09:17 +02:00
bigguy345 6c0a2caa7e Quick re-organisation 2025-12-31 13:30:01 +02:00
bigguy345 ef4438fcf4 Optimised scrolling animation variables to fix the line text's stuttering at the end of scroll ease out 2025-12-31 02:37:15 +02:00
bigguy345 8089a5eef0 Fully migrated to drawStringHex for Script Editor line rendering 2025-12-31 02:36:10 +02:00
bigguy345 a7b43563cf Quick move 2025-12-31 01:22:08 +02:00
bigguy345 7f010f5e0c Removed no longer usued HexRenderer 2025-12-31 01:21:45 +02:00
bigguy345 f3a7f3a0ad ScriptLine.drawStringHex is now functional 2025-12-31 01:20:59 +02:00
bigguy345 f0b4513105 ExpressionTypeResolver API now checks resolved type against expected type.
i.e. in:
String s =  true? true : "";

Both true and "" try to match s type String, and if any are incompatible it returns that so the error can be produced
2025-12-30 21:09:39 +02:00
bigguy345 61fb092c82 Non-static method call from static context validation 2025-12-30 20:21:23 +02:00
bigguy345 9c1fadf493 Added missing FieldInfo code to ScriptTypes too 2025-12-30 20:03:12 +02:00
bigguy345 e268a99f26 Added script type assignment errors to proper pool fetch methods 2025-12-30 19:38:37 +02:00
bigguy345 d909e9e44e Improved field modifier fetching in HoverInfo 2025-12-30 19:38:00 +02:00
bigguy345 8240cbae9e Small refactor 2025-12-30 19:37:41 +02:00
bigguy345 91140d81be Fixed class detection patterns only searching for capital case words 2025-12-30 19:17:28 +02:00
bigguy345 b84ada3a30 Fixed class type detection using Character.isUpperCase in most contexts instead of more robust resolution 2025-12-30 19:08:30 +02:00
bigguy345 cd506cbc7a Improved static access detection logic 2025-12-30 18:54:14 +02:00
bigguy345 5899186445 Code optimization (for erorring static access of non static members) 2025-12-30 18:51:22 +02:00
bigguy345 bd0044a2aa applyTokenMetadata 2025-12-30 18:34:19 +02:00
bigguy345 d6b25127df Commented out UNDEFINED_VAR hover info declaration 2025-12-30 18:33:57 +02:00
bigguy345 d6ca60b121 TokenErrorMessage impl 2025-12-30 18:32:59 +02:00
bigguy345 0e2375e7f8 Added error: "Cannot access non-static field from static context" 2025-12-30 18:07:30 +02:00
bigguy345 36e0e114fe DONT FORGET TO TURN ON!
Turned off script error logging
2025-12-30 17:40:33 +02:00
bigguy345 c9e50f2cde Deprecated CastExpressionResolver as ExpressionResolver API already has all this built in 2025-12-29 17:05:24 +02:00
bigguy345 c46d61b221 Delegated Casting resolution to a helper class 2025-12-29 17:02:25 +02:00
bigguy345 efd7d96ec7 Casting completely functional 2025-12-29 16:46:03 +02:00