We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeabd5a commit c8eeb78Copy full SHA for c8eeb78
runtime/syntax/java.yaml
@@ -4,7 +4,7 @@ detect:
4
filename: "\\.java$"
5
6
rules:
7
- - type: "\\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\\b"
+ - type: "\\b(boolean|byte|char|double|float|int|long|new|var|short|this|transient|void)\\b"
8
- statement: "\\b(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\\b"
9
- type: "\\b(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\\b"
10
- constant: "\\b(true|false|null)\\b"
0 commit comments