From 53ebbaa0917677e819caadc2ab84a0193747587c Mon Sep 17 00:00:00 2001 From: Chao Wang Date: Wed, 27 Aug 2025 19:24:10 +0800 Subject: [PATCH 1/2] fix: TC-2796 add more standard configuration names to lexer and grammar of build.gradle Signed-off-by: Chao Wang --- .../gradle/build/lexer/BuildGradleLexer.java | 377 +++++++++--------- .../gradle/build/buildGradle.bnf | 2 +- .../gradle/build/buildGradle.flex | 2 +- 3 files changed, 194 insertions(+), 187 deletions(-) diff --git a/src/main/gen/org/jboss/tools/intellij/componentanalysis/gradle/build/lexer/BuildGradleLexer.java b/src/main/gen/org/jboss/tools/intellij/componentanalysis/gradle/build/lexer/BuildGradleLexer.java index 46c005f9..8df611d4 100644 --- a/src/main/gen/org/jboss/tools/intellij/componentanalysis/gradle/build/lexer/BuildGradleLexer.java +++ b/src/main/gen/org/jboss/tools/intellij/componentanalysis/gradle/build/lexer/BuildGradleLexer.java @@ -1,4 +1,4 @@ -// Generated by JFlex 1.9.1 http://jflex.de/ (tweaked for IntelliJ platform) +// Generated by JFlex 1.9.2 http://jflex.de/ (tweaked for IntelliJ platform) // source: buildGradle.flex package org.jboss.tools.intellij.componentanalysis.gradle.build.lexer; @@ -83,14 +83,14 @@ private static int zzUnpackcmap_top(String packed, int offset, int [] result) { "\1\4\4\0\1\5\1\6\1\7\2\0\1\10\1\11"+ "\1\12\1\13\12\14\1\15\2\0\1\16\3\0\2\11"+ "\1\17\2\11\1\20\2\11\1\21\5\11\1\22\1\23"+ - "\2\11\1\24\1\25\1\26\1\27\3\11\1\30\1\31"+ - "\1\32\1\33\1\0\1\34\1\0\1\35\1\36\1\37"+ + "\1\11\1\24\1\25\1\26\1\27\1\30\3\11\1\31"+ + "\1\32\1\33\1\34\1\0\1\35\1\0\1\36\1\37"+ "\1\40\1\41\1\42\1\43\1\44\1\45\1\46\1\47"+ - "\1\50\1\51\1\52\1\53\1\54\1\11\1\55\1\56"+ - "\1\57\1\60\1\61\1\11\1\62\1\63\1\11\1\64"+ - "\1\65\1\66\7\0\1\3\32\0\1\1\u01df\0\1\1"+ - "\177\0\13\1\35\0\2\3\5\0\1\1\57\0\1\1"+ - "\240\0\1\1\377\0\u0100\67"; + "\1\50\1\51\1\52\1\53\1\54\1\55\1\11\1\56"+ + "\1\57\1\60\1\61\1\62\1\11\1\63\1\64\1\11"+ + "\1\65\1\66\1\67\7\0\1\3\32\0\1\1\u01df\0"+ + "\1\1\177\0\13\1\35\0\2\3\5\0\1\1\57\0"+ + "\1\1\240\0\1\1\377\0\u0100\70"; private static int [] zzUnpackcmap_blocks() { int [] result = new int[1536]; @@ -119,20 +119,20 @@ private static int zzUnpackcmap_blocks(String packed, int offset, int [] result) private static final String ZZ_ACTION_PACKED_0 = "\15\0\1\1\1\2\1\3\1\4\1\5\14\1\1\6"+ "\1\7\1\10\1\2\1\11\1\12\1\13\1\14\2\10"+ - "\1\15\1\2\1\16\5\0\1\17\1\20\5\10\1\2"+ + "\1\15\1\2\1\16\6\0\1\17\1\20\5\10\1\2"+ "\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\1"+ "\1\30\1\31\1\32\1\33\1\34\1\35\1\36\1\37"+ - "\1\40\1\41\1\0\1\42\22\0\1\43\1\44\6\0"+ - "\1\45\6\0\1\46\21\0\1\47\1\50\7\0\1\51"+ - "\1\52\5\0\1\53\1\0\1\54\22\0\1\52\4\0"+ - "\1\55\22\0\1\56\1\0\3\52\3\0\1\57\4\0"+ - "\1\60\13\0\1\61\1\0\1\62\23\0\1\63\1\64"+ - "\1\50\20\0\2\65\3\0\1\66\4\0\1\67\5\0"+ - "\1\70\13\0\1\71\5\0\1\72\6\0\1\73\1\74"+ - "\10\0\1\75\1\76\16\0\1\77\5\0\1\100\11\0"; + "\1\40\1\41\1\0\1\42\22\0\1\43\1\44\7\0"+ + "\1\45\6\0\1\46\21\0\1\47\1\50\10\0\1\51"+ + "\1\52\5\0\1\53\1\0\1\54\23\0\1\52\4\0"+ + "\1\55\24\0\1\56\1\0\3\52\3\0\1\57\4\0"+ + "\1\60\13\0\1\61\3\0\1\62\23\0\1\63\1\64"+ + "\1\50\22\0\2\65\5\0\1\66\4\0\1\67\5\0"+ + "\1\70\15\0\1\71\5\0\1\72\7\0\1\73\1\74"+ + "\11\0\1\75\1\76\16\0\1\77\5\0\1\100\11\0"; private static int [] zzUnpackAction() { - int [] result = new int[337]; + int [] result = new int[353]; int offset = 0; offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result); return result; @@ -157,52 +157,54 @@ private static int zzUnpackAction(String packed, int offset, int [] result) { private static final int [] ZZ_ROWMAP = zzUnpackRowMap(); private static final String ZZ_ROWMAP_PACKED_0 = - "\0\0\0\70\0\160\0\250\0\340\0\u0118\0\u0150\0\u0188"+ - "\0\u01c0\0\u01f8\0\u0230\0\u0268\0\u02a0\0\u02d8\0\u0310\0\u02d8"+ - "\0\u0348\0\u02d8\0\u0380\0\u03b8\0\u03f0\0\u0428\0\u0460\0\u0498"+ - "\0\u04d0\0\u0508\0\u0540\0\u0578\0\u05b0\0\u05e8\0\u02d8\0\u02d8"+ - "\0\u02d8\0\u0620\0\u02d8\0\u02d8\0\u02d8\0\u02d8\0\u0658\0\u0690"+ - "\0\u02d8\0\u06c8\0\u02d8\0\u0700\0\u0738\0\u0770\0\u07a8\0\u07e0"+ - "\0\u02d8\0\u02d8\0\u0818\0\u0348\0\u0850\0\u0888\0\u08c0\0\u08f8"+ - "\0\u02d8\0\u02d8\0\u02d8\0\u0930\0\u0968\0\u02d8\0\u02d8\0\u09a0"+ - "\0\u02d8\0\u02d8\0\u02d8\0\u02d8\0\u09d8\0\u02d8\0\u0a10\0\u02d8"+ - "\0\u02d8\0\u02d8\0\u0a48\0\u02d8\0\u0a80\0\u0ab8\0\u0af0\0\u0b28"+ - "\0\u0b60\0\u0b98\0\u0bd0\0\u0c08\0\u0c40\0\u0c78\0\u0cb0\0\u0ce8"+ - "\0\u0d20\0\u0d58\0\u0d90\0\u0dc8\0\u0e00\0\u0658\0\u02d8\0\u0e38"+ - "\0\u0e70\0\u0ea8\0\u0ee0\0\u0f18\0\u0f50\0\u0818\0\u02d8\0\u0f88"+ - "\0\u0fc0\0\u0ff8\0\u1030\0\u1068\0\u09a0\0\u10a0\0\u10d8\0\u1110"+ - "\0\u1148\0\u1180\0\u11b8\0\u11f0\0\u1228\0\u1260\0\u1298\0\u12d0"+ - "\0\u1308\0\u1340\0\u1378\0\u13b0\0\u13e8\0\u1420\0\u1458\0\u1490"+ - "\0\u02d8\0\u14c8\0\u1500\0\u1538\0\u1570\0\u15a8\0\u15e0\0\u1618"+ - "\0\u1650\0\u1688\0\u16c0\0\u16f8\0\u1730\0\u1768\0\u17a0\0\u17d8"+ - "\0\u1810\0\u02d8\0\u1848\0\u1880\0\u18b8\0\u18f0\0\u1928\0\u1960"+ - "\0\u1998\0\u19d0\0\u1a08\0\u1a40\0\u1a78\0\u1ab0\0\u1ae8\0\u1b20"+ - "\0\u1b58\0\u1b90\0\u1bc8\0\u1c00\0\u1c38\0\u1c70\0\u1ca8\0\u1ce0"+ - "\0\u1d18\0\u02d8\0\u1d50\0\u1d88\0\u1dc0\0\u1df8\0\u1e30\0\u1e68"+ - "\0\u1ea0\0\u1ed8\0\u1f10\0\u1f48\0\u1f80\0\u1fb8\0\u1ff0\0\u2028"+ - "\0\u2060\0\u2098\0\u20d0\0\u2108\0\u02d8\0\u2140\0\u2178\0\u21b0"+ - "\0\u1c00\0\u21e8\0\u2220\0\u2258\0\u02d8\0\u2290\0\u22c8\0\u2300"+ - "\0\u2338\0\u02d8\0\u2370\0\u23a8\0\u23e0\0\u2418\0\u2450\0\u2488"+ - "\0\u24c0\0\u24f8\0\u2530\0\u2568\0\u25a0\0\u02d8\0\u25d8\0\u02d8"+ - "\0\u2610\0\u2178\0\u2648\0\u2680\0\u26b8\0\u26f0\0\u2728\0\u2760"+ - "\0\u2798\0\u27d0\0\u2808\0\u2840\0\u2878\0\u28b0\0\u28e8\0\u2920"+ - "\0\u2958\0\u2990\0\u29c8\0\u02d8\0\u02d8\0\u2a00\0\u2a38\0\u2a70"+ - "\0\u2aa8\0\u2ae0\0\u2b18\0\u2b50\0\u2b88\0\u2bc0\0\u2bf8\0\u2c30"+ - "\0\u2c68\0\u2ca0\0\u2cd8\0\u2d10\0\u2d48\0\u2d80\0\u1f80\0\u02d8"+ - "\0\u2db8\0\u2df0\0\u2e28\0\u02d8\0\u2e60\0\u2e98\0\u2ed0\0\u2f08"+ - "\0\u02d8\0\u2f40\0\u2f78\0\u2fb0\0\u2fe8\0\u3020\0\u02d8\0\u3058"+ - "\0\u3090\0\u30c8\0\u3100\0\u3138\0\u3170\0\u31a8\0\u31e0\0\u3218"+ - "\0\u3250\0\u3288\0\u02d8\0\u32c0\0\u32f8\0\u3330\0\u3368\0\u33a0"+ - "\0\u02d8\0\u33d8\0\u3410\0\u3448\0\u3480\0\u34b8\0\u34f0\0\u02d8"+ - "\0\u02d8\0\u3528\0\u3560\0\u3598\0\u35d0\0\u3608\0\u3640\0\u3678"+ - "\0\u36b0\0\u02d8\0\u02d8\0\u36e8\0\u3720\0\u3758\0\u3790\0\u37c8"+ - "\0\u3800\0\u3838\0\u3870\0\u38a8\0\u38e0\0\u3918\0\u3950\0\u3988"+ - "\0\u39c0\0\u02d8\0\u39f8\0\u3a30\0\u3a68\0\u3aa0\0\u3ad8\0\u3b10"+ - "\0\u3b48\0\u3b80\0\u3bb8\0\u3bf0\0\u3c28\0\u3c60\0\u3c98\0\u3cd0"+ - "\0\u3d08"; + "\0\0\0\71\0\162\0\253\0\344\0\u011d\0\u0156\0\u018f"+ + "\0\u01c8\0\u0201\0\u023a\0\u0273\0\u02ac\0\u02e5\0\u031e\0\u02e5"+ + "\0\u0357\0\u02e5\0\u0390\0\u03c9\0\u0402\0\u043b\0\u0474\0\u04ad"+ + "\0\u04e6\0\u051f\0\u0558\0\u0591\0\u05ca\0\u0603\0\u02e5\0\u02e5"+ + "\0\u02e5\0\u063c\0\u02e5\0\u02e5\0\u02e5\0\u02e5\0\u0675\0\u06ae"+ + "\0\u02e5\0\u06e7\0\u02e5\0\u0720\0\u0759\0\u0792\0\u07cb\0\u0804"+ + "\0\u083d\0\u02e5\0\u02e5\0\u0876\0\u0357\0\u08af\0\u08e8\0\u0921"+ + "\0\u095a\0\u02e5\0\u02e5\0\u02e5\0\u0993\0\u09cc\0\u02e5\0\u02e5"+ + "\0\u0a05\0\u02e5\0\u02e5\0\u02e5\0\u02e5\0\u0a3e\0\u02e5\0\u0a77"+ + "\0\u02e5\0\u02e5\0\u02e5\0\u0ab0\0\u02e5\0\u0ae9\0\u0b22\0\u0b5b"+ + "\0\u0b94\0\u0bcd\0\u0c06\0\u0c3f\0\u0c78\0\u0cb1\0\u0cea\0\u0d23"+ + "\0\u0d5c\0\u0d95\0\u0dce\0\u0e07\0\u0e40\0\u0e79\0\u0675\0\u02e5"+ + "\0\u0eb2\0\u0eeb\0\u0f24\0\u0f5d\0\u0f96\0\u0fcf\0\u1008\0\u0876"+ + "\0\u02e5\0\u1041\0\u107a\0\u10b3\0\u10ec\0\u1125\0\u0a05\0\u115e"+ + "\0\u1197\0\u11d0\0\u1209\0\u1242\0\u127b\0\u12b4\0\u12ed\0\u1326"+ + "\0\u135f\0\u1398\0\u13d1\0\u140a\0\u1443\0\u147c\0\u14b5\0\u14ee"+ + "\0\u1527\0\u1560\0\u02e5\0\u1599\0\u15d2\0\u160b\0\u1644\0\u167d"+ + "\0\u16b6\0\u16ef\0\u1728\0\u1761\0\u179a\0\u17d3\0\u180c\0\u1845"+ + "\0\u187e\0\u18b7\0\u18f0\0\u1929\0\u02e5\0\u1962\0\u199b\0\u19d4"+ + "\0\u1a0d\0\u1a46\0\u1a7f\0\u1ab8\0\u1af1\0\u1b2a\0\u1b63\0\u1b9c"+ + "\0\u1bd5\0\u1c0e\0\u1c47\0\u1c80\0\u1cb9\0\u1cf2\0\u1d2b\0\u1d64"+ + "\0\u1d9d\0\u1dd6\0\u1e0f\0\u1e48\0\u1e81\0\u02e5\0\u1eba\0\u1ef3"+ + "\0\u1f2c\0\u1f65\0\u1f9e\0\u1fd7\0\u2010\0\u2049\0\u2082\0\u20bb"+ + "\0\u20f4\0\u212d\0\u2166\0\u219f\0\u21d8\0\u2211\0\u224a\0\u2283"+ + "\0\u22bc\0\u22f5\0\u02e5\0\u232e\0\u2367\0\u23a0\0\u1d64\0\u23d9"+ + "\0\u2412\0\u244b\0\u02e5\0\u2484\0\u24bd\0\u24f6\0\u252f\0\u02e5"+ + "\0\u2568\0\u25a1\0\u25da\0\u2613\0\u264c\0\u2685\0\u26be\0\u26f7"+ + "\0\u2730\0\u2769\0\u27a2\0\u02e5\0\u27db\0\u2814\0\u284d\0\u02e5"+ + "\0\u2886\0\u2367\0\u28bf\0\u28f8\0\u2931\0\u296a\0\u29a3\0\u29dc"+ + "\0\u2a15\0\u2a4e\0\u2a87\0\u2ac0\0\u2af9\0\u2b32\0\u2b6b\0\u2ba4"+ + "\0\u2bdd\0\u2c16\0\u2c4f\0\u02e5\0\u02e5\0\u2c88\0\u2cc1\0\u2cfa"+ + "\0\u2d33\0\u2d6c\0\u2da5\0\u2dde\0\u2e17\0\u2e50\0\u2e89\0\u2ec2"+ + "\0\u2efb\0\u2f34\0\u2f6d\0\u2fa6\0\u2fdf\0\u3018\0\u3051\0\u308a"+ + "\0\u20f4\0\u02e5\0\u30c3\0\u30fc\0\u3135\0\u316e\0\u31a7\0\u02e5"+ + "\0\u31e0\0\u3219\0\u3252\0\u328b\0\u02e5\0\u32c4\0\u32fd\0\u3336"+ + "\0\u336f\0\u33a8\0\u02e5\0\u33e1\0\u341a\0\u3453\0\u348c\0\u34c5"+ + "\0\u34fe\0\u3537\0\u3570\0\u35a9\0\u35e2\0\u361b\0\u3654\0\u368d"+ + "\0\u02e5\0\u36c6\0\u36ff\0\u3738\0\u3771\0\u37aa\0\u02e5\0\u37e3"+ + "\0\u381c\0\u3855\0\u388e\0\u38c7\0\u3900\0\u3939\0\u02e5\0\u02e5"+ + "\0\u3972\0\u39ab\0\u39e4\0\u3a1d\0\u3a56\0\u3a8f\0\u3ac8\0\u2c88"+ + "\0\u3b01\0\u02e5\0\u02e5\0\u3b3a\0\u3b73\0\u3bac\0\u3be5\0\u3c1e"+ + "\0\u3c57\0\u3c90\0\u3cc9\0\u3d02\0\u3d3b\0\u3d74\0\u3dad\0\u3de6"+ + "\0\u3e1f\0\u02e5\0\u3e58\0\u3e91\0\u3eca\0\u3f03\0\u3f3c\0\u3f75"+ + "\0\u3fae\0\u3fe7\0\u4020\0\u4059\0\u4092\0\u40cb\0\u4104\0\u413d"+ + "\0\u4176"; private static int [] zzUnpackRowMap() { - int [] result = new int[337]; + int [] result = new int[353]; int offset = 0; offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result); return result; @@ -225,126 +227,131 @@ private static int zzUnpackRowMap(String packed, int offset, int [] result) { private static final int [] ZZ_TRANS = zzUnpacktrans(); private static final String ZZ_TRANS_PACKED_0 = - "\1\16\1\17\1\20\1\17\26\16\1\21\1\22\1\16"+ + "\1\16\1\17\1\20\1\17\27\16\1\21\1\22\1\16"+ "\1\23\2\16\1\24\1\25\1\16\1\26\1\16\1\27"+ "\1\30\2\16\1\31\2\16\1\32\1\33\1\34\1\35"+ "\1\16\1\36\2\16\1\37\1\20\1\40\1\16\1\41"+ "\1\42\1\43\1\42\2\44\1\45\1\46\1\47\2\41"+ - "\1\50\15\41\1\51\1\41\1\22\31\41\1\43\2\41"+ - "\1\0\1\52\1\20\1\52\2\53\27\0\1\54\1\0"+ - "\1\55\3\0\1\56\1\0\1\57\7\0\1\60\6\0"+ - "\1\61\1\20\1\62\1\0\1\41\1\17\1\43\1\17"+ - "\2\41\1\45\1\46\1\63\2\41\1\50\15\41\1\51"+ - "\1\64\1\22\7\41\1\65\6\41\1\66\6\41\1\67"+ - "\3\41\1\43\2\41\1\16\1\70\1\16\1\70\1\71"+ - "\1\72\2\16\1\73\2\74\1\16\1\74\2\16\12\74"+ - "\1\16\1\21\1\16\30\74\5\16\1\70\1\16\1\70"+ - "\1\71\1\72\2\16\1\73\2\75\1\16\1\75\2\16"+ - "\12\75\1\16\1\21\1\16\30\75\5\16\1\70\1\16"+ - "\1\70\1\76\1\77\6\16\1\100\15\16\1\21\36\16"+ - "\1\70\1\16\1\70\5\16\2\74\1\16\1\74\1\101"+ - "\1\16\12\74\1\16\1\21\1\16\30\74\5\16\1\70"+ - "\1\16\1\70\5\16\2\75\1\16\1\75\1\102\1\16"+ - "\12\75\1\16\1\21\1\16\30\75\5\16\1\70\1\16"+ - "\1\70\1\103\1\104\6\16\1\100\15\16\1\21\35\16"+ - "\1\0\1\52\1\0\1\52\1\0\1\105\3\0\2\105"+ - "\1\0\1\105\1\0\1\106\12\105\3\0\30\105\5\0"+ - "\1\52\1\0\1\52\1\0\1\107\3\0\2\107\1\0"+ - "\1\107\1\0\1\106\12\107\3\0\30\107\4\0\2\110"+ - "\1\20\61\110\1\111\1\20\1\112\1\110\71\0\1\17"+ - "\1\0\1\17\7\0\1\113\56\0\1\114\62\0\1\114"+ - "\56\0\1\115\54\0\1\116\110\0\1\117\62\0\1\120"+ - "\64\0\1\121\52\0\1\122\12\0\1\123\54\0\1\124"+ - "\102\0\1\125\7\0\1\126\50\0\1\127\16\0\1\130"+ - "\62\0\1\131\51\0\1\132\3\0\1\133\67\0\1\134"+ - "\27\0\1\42\1\0\1\42\7\0\1\135\55\0\1\136"+ - "\1\137\1\136\61\0\1\137\15\0\1\140\55\0\1\52"+ - "\1\0\1\52\140\0\1\141\66\0\1\142\71\0\1\143"+ - "\63\0\1\144\76\0\1\145\10\0\1\146\1\147\1\146"+ - "\61\0\1\147\57\0\1\150\47\0\1\151\73\0\1\152"+ - "\27\0\1\70\1\0\1\70\7\0\1\153\65\0\2\74"+ - "\1\0\1\74\2\0\12\74\3\0\30\74\15\0\2\75"+ - "\1\0\1\75\2\0\12\75\3\0\30\75\16\0\1\154"+ - "\1\0\1\155\60\0\1\105\3\0\2\105\1\0\1\105"+ - "\2\0\12\105\3\0\30\105\11\0\1\107\3\0\2\107"+ - "\1\0\1\107\2\0\12\107\3\0\30\107\17\0\1\156"+ - "\130\0\1\157\67\0\1\160\72\0\1\161\63\0\1\162"+ - "\73\0\1\163\71\0\1\164\53\0\1\165\67\0\1\166"+ - "\102\0\1\167\45\0\1\170\105\0\1\171\65\0\1\172"+ - "\75\0\1\173\64\0\1\174\1\175\67\0\1\176\66\0"+ - "\1\177\25\0\1\200\54\0\2\140\2\0\63\140\46\0"+ - "\1\201\73\0\1\202\71\0\1\203\70\0\1\204\65\0"+ - "\1\205\70\0\1\206\65\0\1\207\73\0\1\210\25\0"+ - "\1\211\70\0\1\212\53\0\2\156\2\0\63\156\51\0"+ - "\1\213\60\0\1\214\27\0\3\161\60\0\1\215\63\0"+ - "\1\216\50\0\1\217\63\0\1\220\104\0\1\221\67\0"+ - "\1\222\60\0\1\223\74\0\1\224\72\0\1\225\35\0"+ - "\1\226\1\0\1\227\121\0\1\230\55\0\1\231\73\0"+ - "\1\232\77\0\1\233\66\0\1\234\11\0\2\200\2\0"+ - "\63\200\55\0\1\235\73\0\1\236\57\0\1\237\76\0"+ - "\1\240\70\0\1\241\50\0\1\242\104\0\1\243\11\0"+ - "\2\211\2\0\63\211\1\0\2\244\2\0\10\244\1\245"+ - "\52\244\46\0\1\246\15\0\1\247\56\0\1\250\15\0"+ - "\66\251\1\0\1\251\54\0\1\252\63\0\1\253\61\0"+ - "\1\254\74\0\1\255\65\0\1\256\67\0\1\257\100\0"+ - "\1\260\51\0\1\261\77\0\1\262\56\0\1\263\71\0"+ - "\1\264\104\0\1\265\12\0\3\233\60\0\1\266\50\0"+ - "\1\267\67\0\1\270\76\0\1\271\54\0\1\272\73\0"+ - "\1\273\76\0\1\274\30\0\1\275\117\0\1\276\33\0"+ - "\2\277\1\0\1\300\2\0\12\277\4\0\27\277\4\0"+ - "\2\244\2\0\5\244\2\301\1\244\1\245\2\244\12\301"+ - "\4\244\27\301\3\244\40\0\1\302\104\0\1\303\53\0"+ - "\1\304\27\0\66\251\1\305\1\251\50\0\1\306\101\0"+ - "\1\307\6\0\3\310\24\0\1\311\33\0\1\312\55\0"+ - "\1\313\73\0\1\314\56\0\1\315\63\0\1\316\106\0"+ - "\1\317\50\0\1\320\105\0\1\321\10\0\2\265\2\0"+ - "\60\265\1\322\2\265\1\0\66\323\1\0\1\323\53\0"+ - "\1\324\64\0\1\325\34\0\1\326\123\0\1\327\67\0"+ - "\1\325\33\0\1\330\125\0\1\331\25\0\2\277\1\0"+ - "\1\277\2\0\12\277\4\0\27\277\4\0\2\332\2\0"+ - "\5\332\2\277\1\332\1\300\2\332\12\277\4\332\27\277"+ - "\3\332\36\0\1\333\102\0\1\334\60\0\1\335\73\0"+ - "\1\336\23\0\3\307\60\0\1\337\4\0\3\310\60\0"+ - "\1\312\50\0\1\340\100\0\1\341\55\0\1\342\102\0"+ - "\1\343\11\0\3\344\14\0\1\345\43\0\1\346\46\0"+ - "\1\347\43\0\1\350\4\0\1\351\62\0\1\350\50\0"+ - "\2\352\2\353\62\352\1\265\1\353\66\323\1\354\1\323"+ - "\52\0\1\355\56\0\1\356\67\0\1\357\100\0\1\360"+ - "\74\0\1\361\70\0\1\362\61\0\1\363\63\0\1\364"+ - "\21\0\66\365\1\0\1\365\54\0\1\366\14\0\3\341"+ - "\60\0\1\367\26\0\1\370\117\0\1\371\15\0\3\344"+ - "\60\0\1\346\56\0\1\372\14\0\66\373\1\0\1\373"+ - "\45\0\1\374\75\0\1\375\55\0\1\376\26\0\2\352"+ - "\2\353\62\352\1\377\67\353\1\u0100\1\353\17\0\1\u0101"+ - "\2\0\1\u0102\117\0\1\u0103\32\0\1\u0104\117\0\1\u0105"+ - "\65\0\1\u0106\63\0\1\u0107\31\0\3\364\60\0\1\u0108"+ - "\3\0\66\365\1\u0109\1\365\1\0\3\366\60\0\1\u010a"+ - "\3\0\66\u010b\1\0\1\u010b\50\0\1\u010c\74\0\1\u010d"+ - "\67\0\1\u010e\12\0\66\373\1\u010f\1\373\52\0\1\u0110"+ - "\66\0\1\u0111\75\0\1\u0112\60\0\1\u0113\71\0\1\u0114"+ - "\74\0\1\u0115\63\0\1\u0116\61\0\1\u0117\67\0\1\u0118"+ - "\22\0\66\u0119\1\0\1\u0119\66\u011a\1\0\1\u011a\66\u010b"+ - "\1\u011b\1\u010b\60\0\1\u011c\54\0\1\u011d\50\0\1\u011e"+ - "\70\0\1\u011f\114\0\1\u0120\71\0\1\u0121\46\0\1\u0122"+ - "\102\0\1\u0123\54\0\1\u0124\104\0\1\u0125\67\0\1\u0126"+ - "\56\0\1\u0127\26\0\66\u0119\1\u0128\1\u0119\66\u011a\1\u0129"+ - "\1\u011a\43\0\1\u012a\65\0\1\u012b\73\0\1\u012c\63\0"+ - "\1\u012d\63\0\1\u012e\110\0\1\u012f\74\0\1\201\63\0"+ - "\1\u0130\11\0\3\u0125\60\0\1\u0131\20\0\1\u0132\130\0"+ - "\1\u0133\56\0\1\u0134\100\0\1\u0135\36\0\1\u0136\117\0"+ - "\1\u0137\71\0\1\u0138\66\0\1\u0139\56\0\1\u013a\22\0"+ - "\66\u013b\1\0\1\u013b\52\0\1\341\16\0\3\u0135\60\0"+ - "\1\u013c\44\0\1\u013d\73\0\1\u013e\67\0\1\u013f\76\0"+ - "\1\u0140\66\0\1\u0141\14\0\66\u013b\1\u0142\1\u013b\66\u0143"+ - "\1\0\1\u0143\56\0\1\u0144\53\0\1\u0145\63\0\1\u0146"+ - "\66\0\1\u0147\104\0\1\201\15\0\66\u0143\1\u0148\1\u0143"+ - "\57\0\1\u0149\55\0\1\u014a\67\0\1\u014b\101\0\1\u014c"+ - "\12\0\1\u014d\62\0\1\u014d\60\0\1\344\52\0\1\u014e"+ - "\76\0\1\u014f\63\0\1\201\111\0\1\u0148\56\0\1\341"+ - "\57\0\1\u0150\101\0\1\u0151\73\0\1\u0132\4\0"; + "\1\50\16\41\1\51\1\41\1\22\31\41\1\43\2\41"+ + "\1\0\1\52\1\20\1\52\2\53\30\0\1\54\1\0"+ + "\1\55\3\0\1\56\1\0\1\57\7\0\1\60\1\0"+ + "\1\61\4\0\1\62\1\20\1\63\1\0\1\41\1\17"+ + "\1\43\1\17\2\41\1\45\1\46\1\64\2\41\1\50"+ + "\16\41\1\51\1\65\1\22\7\41\1\66\6\41\1\67"+ + "\6\41\1\70\3\41\1\43\2\41\1\16\1\71\1\16"+ + "\1\71\1\72\1\73\2\16\1\74\2\75\1\16\1\75"+ + "\2\16\13\75\1\16\1\21\1\16\30\75\5\16\1\71"+ + "\1\16\1\71\1\72\1\73\2\16\1\74\2\76\1\16"+ + "\1\76\2\16\13\76\1\16\1\21\1\16\30\76\5\16"+ + "\1\71\1\16\1\71\1\77\1\100\6\16\1\101\16\16"+ + "\1\21\36\16\1\71\1\16\1\71\5\16\2\75\1\16"+ + "\1\75\1\102\1\16\13\75\1\16\1\21\1\16\30\75"+ + "\5\16\1\71\1\16\1\71\5\16\2\76\1\16\1\76"+ + "\1\103\1\16\13\76\1\16\1\21\1\16\30\76\5\16"+ + "\1\71\1\16\1\71\1\104\1\105\6\16\1\101\16\16"+ + "\1\21\35\16\1\0\1\52\1\0\1\52\1\0\1\106"+ + "\3\0\2\106\1\0\1\106\1\0\1\107\13\106\3\0"+ + "\30\106\5\0\1\52\1\0\1\52\1\0\1\110\3\0"+ + "\2\110\1\0\1\110\1\0\1\107\13\110\3\0\30\110"+ + "\4\0\2\111\1\20\62\111\1\112\1\20\1\113\1\111"+ + "\72\0\1\17\1\0\1\17\7\0\1\114\57\0\1\115"+ + "\63\0\1\115\57\0\1\116\55\0\1\117\111\0\1\120"+ + "\63\0\1\121\65\0\1\122\53\0\1\123\12\0\1\124"+ + "\55\0\1\125\103\0\1\126\7\0\1\127\51\0\1\130"+ + "\16\0\1\131\63\0\1\132\52\0\1\133\3\0\1\134"+ + "\70\0\1\135\27\0\1\42\1\0\1\42\7\0\1\136"+ + "\56\0\1\137\1\140\1\137\62\0\1\140\15\0\1\141"+ + "\56\0\1\52\1\0\1\52\142\0\1\142\67\0\1\143"+ + "\72\0\1\144\64\0\1\145\77\0\1\146\51\0\1\147"+ + "\27\0\1\150\1\151\1\150\62\0\1\151\60\0\1\152"+ + "\50\0\1\153\74\0\1\154\27\0\1\71\1\0\1\71"+ + "\7\0\1\155\66\0\2\75\1\0\1\75\2\0\13\75"+ + "\3\0\30\75\15\0\2\76\1\0\1\76\2\0\13\76"+ + "\3\0\30\76\16\0\1\156\1\0\1\157\61\0\1\106"+ + "\3\0\2\106\1\0\1\106\2\0\13\106\3\0\30\106"+ + "\11\0\1\110\3\0\2\110\1\0\1\110\2\0\13\110"+ + "\3\0\30\110\17\0\1\160\132\0\1\161\70\0\1\162"+ + "\73\0\1\163\64\0\1\164\74\0\1\165\72\0\1\166"+ + "\54\0\1\167\70\0\1\170\103\0\1\171\46\0\1\172"+ + "\106\0\1\173\66\0\1\174\76\0\1\175\65\0\1\176"+ + "\1\177\70\0\1\200\67\0\1\201\25\0\1\202\55\0"+ + "\2\141\2\0\64\141\47\0\1\203\74\0\1\204\72\0"+ + "\1\205\71\0\1\206\66\0\1\207\74\0\1\210\65\0"+ + "\1\211\66\0\1\212\74\0\1\213\25\0\1\214\71\0"+ + "\1\215\54\0\2\160\2\0\64\160\52\0\1\216\61\0"+ + "\1\217\27\0\3\163\61\0\1\220\64\0\1\221\51\0"+ + "\1\222\64\0\1\223\105\0\1\224\70\0\1\225\61\0"+ + "\1\226\75\0\1\227\73\0\1\230\35\0\1\231\1\0"+ + "\1\232\123\0\1\233\56\0\1\234\74\0\1\235\100\0"+ + "\1\236\67\0\1\237\11\0\2\202\2\0\64\202\56\0"+ + "\1\240\74\0\1\241\60\0\1\242\77\0\1\243\70\0"+ + "\1\244\71\0\1\245\51\0\1\246\105\0\1\247\11\0"+ + "\2\214\2\0\64\214\1\0\2\250\2\0\10\250\1\251"+ + "\53\250\47\0\1\252\15\0\1\253\57\0\1\254\15\0"+ + "\67\255\1\0\1\255\55\0\1\256\64\0\1\257\62\0"+ + "\1\260\75\0\1\261\66\0\1\262\70\0\1\263\101\0"+ + "\1\264\52\0\1\265\100\0\1\266\57\0\1\267\72\0"+ + "\1\270\105\0\1\271\12\0\3\236\61\0\1\272\51\0"+ + "\1\273\70\0\1\274\77\0\1\275\55\0\1\276\74\0"+ + "\1\277\41\0\1\300\1\0\1\57\2\0\1\301\121\0"+ + "\1\302\30\0\1\303\121\0\1\304\33\0\2\305\1\0"+ + "\1\306\2\0\13\305\4\0\27\305\4\0\2\250\2\0"+ + "\5\250\2\307\1\250\1\251\2\250\13\307\4\250\27\307"+ + "\3\250\41\0\1\310\105\0\1\311\54\0\1\312\27\0"+ + "\67\255\1\313\1\255\51\0\1\314\102\0\1\315\6\0"+ + "\3\316\25\0\1\317\33\0\1\320\56\0\1\321\74\0"+ + "\1\322\57\0\1\323\64\0\1\324\107\0\1\325\51\0"+ + "\1\326\106\0\1\327\10\0\2\271\2\0\61\271\1\330"+ + "\2\271\1\0\67\331\1\0\1\331\54\0\1\332\65\0"+ + "\1\333\34\0\1\334\125\0\1\335\70\0\1\333\72\0"+ + "\1\336\75\0\1\337\24\0\1\340\127\0\1\341\25\0"+ + "\2\305\1\0\1\305\2\0\13\305\4\0\27\305\4\0"+ + "\2\342\2\0\5\342\2\305\1\342\1\306\2\342\13\305"+ + "\4\342\27\305\3\342\37\0\1\343\103\0\1\344\61\0"+ + "\1\345\74\0\1\346\23\0\3\315\61\0\1\347\4\0"+ + "\3\316\61\0\1\320\51\0\1\350\101\0\1\351\56\0"+ + "\1\352\103\0\1\353\11\0\3\354\14\0\1\355\44\0"+ + "\1\356\47\0\1\357\43\0\1\360\5\0\1\361\62\0"+ + "\1\360\51\0\2\362\2\363\63\362\1\271\1\363\67\331"+ + "\1\364\1\331\53\0\1\365\57\0\1\366\70\0\1\367"+ + "\100\0\1\370\71\0\1\371\70\0\1\372\75\0\1\373"+ + "\71\0\1\374\62\0\1\375\64\0\1\376\21\0\67\377"+ + "\1\0\1\377\55\0\1\u0100\14\0\3\351\61\0\1\u0101"+ + "\26\0\1\u0102\121\0\1\u0103\15\0\3\354\61\0\1\356"+ + "\57\0\1\u0104\14\0\67\u0105\1\0\1\u0105\46\0\1\u0106"+ + "\76\0\1\u0107\56\0\1\u0108\26\0\2\362\2\363\63\362"+ + "\1\u0109\70\363\1\u010a\1\363\17\0\1\u010b\2\0\1\u010c"+ + "\121\0\1\u010d\72\0\1\u010e\73\0\1\u010f\25\0\1\u0110"+ + "\121\0\1\u0111\66\0\1\u0112\64\0\1\u0113\31\0\3\376"+ + "\61\0\1\u0114\3\0\67\377\1\u0115\1\377\1\0\3\u0100"+ + "\61\0\1\u0116\3\0\67\u0117\1\0\1\u0117\51\0\1\u0118"+ + "\75\0\1\u0119\70\0\1\u011a\12\0\67\u0105\1\u011b\1\u0105"+ + "\53\0\1\u011c\67\0\1\u011d\76\0\1\u011e\61\0\1\u011f"+ + "\72\0\1\u0120\75\0\1\u0121\56\0\1\u0122\70\0\1\u0123"+ + "\76\0\1\u0124\62\0\1\u0125\70\0\1\u0126\22\0\67\u0127"+ + "\1\0\1\u0127\67\u0128\1\0\1\u0128\67\u0117\1\u0129\1\u0117"+ + "\61\0\1\u012a\55\0\1\u012b\51\0\1\u012c\71\0\1\u012d"+ + "\115\0\1\u012e\72\0\1\u012f\47\0\1\u0130\103\0\1\u0131"+ + "\55\0\1\u0132\103\0\1\u0133\71\0\1\u0133\71\0\1\u0134"+ + "\70\0\1\u0135\57\0\1\u0136\26\0\67\u0127\1\u0137\1\u0127"+ + "\67\u0128\1\u0138\1\u0128\44\0\1\u0139\66\0\1\u013a\74\0"+ + "\1\u013b\64\0\1\u013c\64\0\1\u013d\111\0\1\u013e\75\0"+ + "\1\203\64\0\1\u013f\52\0\1\u0140\27\0\3\u0134\61\0"+ + "\1\u0141\20\0\1\u0142\132\0\1\u0143\57\0\1\u0144\101\0"+ + "\1\u0145\37\0\1\u0146\120\0\1\u0147\72\0\1\u0148\67\0"+ + "\1\u0149\57\0\1\u014a\22\0\67\u014b\1\0\1\u014b\53\0"+ + "\1\351\16\0\3\u0145\61\0\1\u014c\45\0\1\u014d\74\0"+ + "\1\u014e\70\0\1\u014f\77\0\1\u0150\67\0\1\u0151\14\0"+ + "\67\u014b\1\u0152\1\u014b\67\u0153\1\0\1\u0153\57\0\1\u0154"+ + "\54\0\1\u0155\64\0\1\u0156\67\0\1\u0157\105\0\1\203"+ + "\15\0\67\u0153\1\u0158\1\u0153\60\0\1\u0159\56\0\1\u015a"+ + "\70\0\1\u015b\102\0\1\u015c\12\0\1\u015d\63\0\1\u015d"+ + "\61\0\1\354\53\0\1\u015e\77\0\1\u015f\64\0\1\203"+ + "\112\0\1\u0158\57\0\1\351\60\0\1\u0160\102\0\1\u0161"+ + "\74\0\1\u0142\4\0"; private static int [] zzUnpacktrans() { - int [] result = new int[15680]; + int [] result = new int[16815]; int offset = 0; offset = zzUnpacktrans(ZZ_TRANS_PACKED_0, offset, result); return result; @@ -383,19 +390,19 @@ private static int zzUnpacktrans(String packed, int offset, int [] result) { private static final String ZZ_ATTRIBUTE_PACKED_0 = "\15\0\1\11\1\1\1\11\1\1\1\11\14\1\3\11"+ - "\1\1\4\11\2\1\1\11\1\1\1\11\5\0\2\11"+ + "\1\1\4\11\2\1\1\11\1\1\1\11\6\0\2\11"+ "\6\1\3\11\2\1\2\11\1\1\4\11\1\1\1\11"+ - "\1\1\3\11\1\0\1\11\22\0\1\11\1\1\6\0"+ - "\1\11\6\0\1\1\21\0\1\1\1\11\7\0\2\1"+ - "\5\0\1\1\1\0\1\11\22\0\1\1\4\0\1\11"+ - "\22\0\1\11\1\0\3\1\3\0\1\11\4\0\1\11"+ - "\13\0\1\11\1\0\1\11\23\0\2\11\1\1\20\0"+ - "\1\1\1\11\3\0\1\11\4\0\1\11\5\0\1\11"+ - "\13\0\1\11\5\0\1\11\6\0\2\11\10\0\2\11"+ + "\1\1\3\11\1\0\1\11\22\0\1\11\1\1\7\0"+ + "\1\11\6\0\1\1\21\0\1\1\1\11\10\0\2\1"+ + "\5\0\1\1\1\0\1\11\23\0\1\1\4\0\1\11"+ + "\24\0\1\11\1\0\3\1\3\0\1\11\4\0\1\11"+ + "\13\0\1\11\3\0\1\11\23\0\2\11\1\1\22\0"+ + "\1\1\1\11\5\0\1\11\4\0\1\11\5\0\1\11"+ + "\15\0\1\11\5\0\1\11\7\0\2\11\11\0\2\11"+ "\16\0\1\11\5\0\1\1\11\0"; private static int [] zzUnpackAttribute() { - int [] result = new int[337]; + int [] result = new int[353]; int offset = 0; offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result); return result; diff --git a/src/main/java/org/jboss/tools/intellij/componentanalysis/gradle/build/buildGradle.bnf b/src/main/java/org/jboss/tools/intellij/componentanalysis/gradle/build/buildGradle.bnf index 312a7f73..b419f0b1 100644 --- a/src/main/java/org/jboss/tools/intellij/componentanalysis/gradle/build/buildGradle.bnf +++ b/src/main/java/org/jboss/tools/intellij/componentanalysis/gradle/build/buildGradle.bnf @@ -39,7 +39,7 @@ LPARENTHESIS = "(" RPARENTHESIS = ")" COMMENT="regexp:.*//.*" LINE_COMMENT="regexp:\s*//.*" -CONFIG_NAME="regexp:implementation|api|compile|compileClasspath|compileOnly|runtime|runtimeClasspath|runtimeOnly" +CONFIG_NAME="regexp:implementation|api|compile|compileClasspath|compileOnly|runtime|runtimeClasspath|runtimeOnly|testImplementation|testCompileOnly|testRuntimeOnly|testCompileClasspath|testRuntimeClasspath" //ENCLOSING_SIGNS= "regexp:[\"']*" GROUP_ID="regexp:[a-z0-9.'-]+" ARTIFACT_ID="regexp:[-a-zA-Z0-9_.]+" diff --git a/src/main/java/org/jboss/tools/intellij/componentanalysis/gradle/build/buildGradle.flex b/src/main/java/org/jboss/tools/intellij/componentanalysis/gradle/build/buildGradle.flex index f759a314..8adb79a5 100644 --- a/src/main/java/org/jboss/tools/intellij/componentanalysis/gradle/build/buildGradle.flex +++ b/src/main/java/org/jboss/tools/intellij/componentanalysis/gradle/build/buildGradle.flex @@ -85,7 +85,7 @@ GROUP_KEY=group: NAME_KEY=name: VERSION_KEY=version: -CONFIG_NAME=implementation|api|compile|compileClasspath|compileOnly|runtime|runtimeClasspath|runtimeOnly +CONFIG_NAME=implementation|api|compile|compileClasspath|compileOnly|runtime|runtimeClasspath|runtimeOnly|testImplementation|testCompileOnly|testRuntimeOnly|testCompileClasspath|testRuntimeClasspath GROUP_ID=[a-zA-Z0-9._-]+ ARTIFACT_ID=[a-zA-Z0-9_.-]+ From 8100a775da097c35b8cc3f5aea700b5fe1e27056 Mon Sep 17 00:00:00 2001 From: Chao Wang Date: Wed, 27 Aug 2025 19:28:57 +0800 Subject: [PATCH 2/2] chore: upgrade exhort-api-spec to 1.0.18 Signed-off-by: Chao Wang --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 182b6558..72c5694b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ caffeine = "3.1.8" commons-compress = "1.21" commons-io = "2.16.1" -exhort-api-spec = "1.0.6" +exhort-api-spec = "1.0.18" exhort-java-api = "0.0.8" github-api = "1.314" junit = "4.13.2"