From 5e50fb8333f90a226b27b89324df6814e19a1c2f Mon Sep 17 00:00:00 2001 From: Michael Osipov <1983-01-06@gmx.net> Date: Fri, 14 Oct 2022 20:49:52 +0200 Subject: [PATCH] Add test output for MCOMPILER-509 --- .../plexus-compiler-javac/pom.xml | 4 +- .../javac/ErrorMessageParserTest.java | 99 +- .../src/test/resources/MCOMPILER-509.txt | 3831 +++++++++++++++++ 3 files changed, 3892 insertions(+), 42 deletions(-) create mode 100644 plexus-compilers/plexus-compiler-javac/src/test/resources/MCOMPILER-509.txt diff --git a/plexus-compilers/plexus-compiler-javac/pom.xml b/plexus-compilers/plexus-compiler-javac/pom.xml index c44bacc3..212fc87f 100644 --- a/plexus-compilers/plexus-compiler-javac/pom.xml +++ b/plexus-compilers/plexus-compiler-javac/pom.xml @@ -7,7 +7,7 @@ plexus-compilers 2.12.2-SNAPSHOT - + plexus-compiler-javac Plexus Javac Component @@ -33,5 +33,5 @@ test - + diff --git a/plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/ErrorMessageParserTest.java b/plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/ErrorMessageParserTest.java index b54b4128..b21c402f 100644 --- a/plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/ErrorMessageParserTest.java +++ b/plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/ErrorMessageParserTest.java @@ -26,7 +26,9 @@ import java.io.BufferedReader; import java.io.IOException; +import java.io.InputStreamReader; import java.io.StringReader; +import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; @@ -679,16 +681,16 @@ public void testCRLF_windows() @Test public void testJava6Error() throws Exception { - String out = "Error.java:3: cannot find symbol" + EOL + - "symbol : class Properties" + EOL + - "location: class Error" + EOL + - " Properties p = new Properties();" + EOL + - " ^" + EOL + - "Error.java:3: cannot find symbol" + EOL + - "symbol : class Properties" + EOL + - "location: class Error" + EOL + - " Properties p = new Properties();" + EOL + - " ^" + EOL + + String out = "Error.java:3: cannot find symbol" + EOL + + "symbol : class Properties" + EOL + + "location: class Error" + EOL + + " Properties p = new Properties();" + EOL + + " ^" + EOL + + "Error.java:3: cannot find symbol" + EOL + + "symbol : class Properties" + EOL + + "location: class Error" + EOL + + " Properties p = new Properties();" + EOL + + " ^" + EOL + "2 errors"; List compilerErrors = JavacCompiler.parseModernStream( 1, new BufferedReader( new StringReader( out ) )); @@ -710,7 +712,7 @@ public void testJava6Error() throws Exception assertThat( message1.getStartLine(), is(3) ); assertThat( message1.getEndLine(), is(3) ); - + CompilerMessage message2 = compilerErrors.get( 1 ); assertThat( message2.isError(), is(true) ); @@ -731,52 +733,52 @@ public void testJava6Error() throws Exception @Test public void testJava7Error() throws Exception { - String out = "Error.java:3: error: cannot find symbol" + EOL + - " Properties p = new Properties();" + EOL + - " ^" + EOL + - " symbol: class Properties" + EOL + - " location: class Error" + EOL + - "Error.java:3: error: cannot find symbol" + EOL + - " Properties p = new Properties();" + EOL + - " ^" + EOL + - " symbol: class Properties" + EOL + - " location: class Error" + EOL + + String out = "Error.java:3: error: cannot find symbol" + EOL + + " Properties p = new Properties();" + EOL + + " ^" + EOL + + " symbol: class Properties" + EOL + + " location: class Error" + EOL + + "Error.java:3: error: cannot find symbol" + EOL + + " Properties p = new Properties();" + EOL + + " ^" + EOL + + " symbol: class Properties" + EOL + + " location: class Error" + EOL + "2 errors"; - + List compilerErrors = JavacCompiler.parseModernStream( 1, new BufferedReader( new StringReader( out ) )); - + assertThat( compilerErrors, notNullValue() ); - + CompilerMessage message1 = compilerErrors.get( 0 ); assertThat( message1.isError(), is(true) ); - + assertThat( message1.getMessage(), is("error: cannot find symbol" + EOL + " symbol: class Properties" + EOL + " location: class Error") ); - + assertThat( message1.getStartColumn(), is(16) ); - + assertThat( message1.getEndColumn(), is(26) ); - + assertThat( message1.getStartLine(), is(3) ); - + assertThat( message1.getEndLine(), is(3) ); - + CompilerMessage message2 = compilerErrors.get( 1 ); - + assertThat( message2.isError(), is(true) ); - + assertThat( message2.getMessage(), is("error: cannot find symbol" + EOL + " symbol: class Properties" + EOL + " location: class Error") ); - + assertThat( message2.getStartColumn(), is(35) ); - + assertThat( message2.getEndColumn(), is(48) ); - + assertThat( message2.getStartLine(), is(3) ); - + assertThat( message2.getEndLine(), is(3) ); } @@ -785,13 +787,13 @@ public void testBugParade() throws Exception { String out = "An exception has occurred in the compiler (1.7.0_80). " + "Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. " - + "Include your program and the following diagnostic in your report. Thank you." + EOL + + + "Include your program and the following diagnostic in your report. Thank you." + EOL + "com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.util.Optional not found"; - + List compilerErrors = JavacCompiler.parseModernStream( 4, new BufferedReader( new StringReader( out ) )); assertThat( compilerErrors, notNullValue() ); - + assertThat( compilerErrors.size(), is(1) ); } @@ -919,7 +921,7 @@ public void testIssue37() throws IOException { public void testJvmError() throws Exception { String out = "Error occurred during initialization of boot layer" + EOL + - "java.lang.module.FindException: Module java.xml.bind not found"; + "java.lang.module.FindException: Module java.xml.bind not found"; List compilerErrors = JavacCompiler.parseModernStream( 1, new BufferedReader( new StringReader( out ) )); @@ -980,6 +982,23 @@ public void testWarningFollowedByBadSourceFileError() throws Exception validateBadSourceFile(secondMessage); } + @Test + public void testMCOMPILER509() throws Exception + { + List compilerMessages = JavacCompiler.parseModernStream( 0, + new BufferedReader( new InputStreamReader( + getClass().getResourceAsStream( "/MCOMPILER-509.txt" ), StandardCharsets.UTF_8 ) ) ); + + int i = 1; + for ( CompilerMessage message : compilerMessages ) + { + System.out.println( i + ":========================================:" + i ); + System.out.println( message ); + System.out.println( i + ":========================================:" + i ); + i++; + } + } + private void validateBadSourceFile(CompilerMessage message) { assertThat( "Is an Error", message.getKind(), is(CompilerMessage.Kind.ERROR) ); diff --git a/plexus-compilers/plexus-compiler-javac/src/test/resources/MCOMPILER-509.txt b/plexus-compilers/plexus-compiler-javac/src/test/resources/MCOMPILER-509.txt new file mode 100644 index 00000000..fb1732ce --- /dev/null +++ b/plexus-compilers/plexus-compiler-javac/src/test/resources/MCOMPILER-509.txt @@ -0,0 +1,3831 @@ +WARNING: An illegal reflective access operation has occurred +WARNING: Illegal reflective access by org.checkerframework.javacutil.Resolver (file:/C:/Users/osipovmi/.m2/repository/org/checkerframework/checker/3.25.0/checker-3.25.0.jar) to method com.sun.tools.javac.comp.Resolve.findMethod(com.sun.tools.javac.comp.Env,com.sun.tools.javac.code.Type,com.sun.tools.javac.util.Name,com.sun.tools.javac.util.List,com.sun.tools.javac.util.List,boolean,boolean) +WARNING: Please consider reporting this to the maintainers of org.checkerframework.javacutil.Resolver +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\BlockParentHandler.java:208: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (nonList != nonListStartAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\BlockParentHandler.java:208: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (nonList != nonListStartAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\AbstractExpressionHandler.java:60: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: indent + protected AbstractExpressionHandler(IndentationCheck indentCheck, String typeName, + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\AbstractExpressionHandler.java:441: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (curNode != ast && toVisit == null) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\AbstractExpressionHandler.java:441: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (curNode != ast && toVisit == null) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\IndentationCheck.java:317: warning: [assignment] incompatible types in assignment. + + private final LineWrappingHandler lineWrappingHandler = new LineWrappingHandler(this); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler.class) @NonNull LineWrappingHandler + + required: @Initialized @NonNull LineWrappingHandler +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\IndentationCheck.java:317: warning: [argument] incompatible argument for parameter instance of LineWrappingHandler. + + private final LineWrappingHandler lineWrappingHandler = new LineWrappingHandler(this); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.api.AbstractCheck.class) @NonNull IndentationCheck + + required: @Initialized @NonNull IndentationCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\IndentationCheck.java:323: warning: [initialization.field.uninitialized] the default constructor does not initialize field incorrectIndentationLines + private Set incorrectIndentationLines; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\IndentationCheck.java:533: warning: [argument] incompatible argument for parameter parent of getHandler. + + handlers.peek()); + ^ + found : @Initialized @Nullable AbstractExpressionHandler + + required: @Initialized @NonNull AbstractExpressionHandler +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractCheck.java:49: warning: [type.argument] incompatible type argument for type parameter T of ThreadLocal. + + private final ThreadLocal context = ThreadLocal.withInitial(FileContext::new); + ^ + found : @Initialized @NonNull FileContext + + required: [extends @Initialized @Nullable Object super null (NullType)] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractCheck.java:239: warning: [argument] incompatible argument for parameter customMessage of Violation. + + getCustomMessages().get(key))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractCheck.java:257: warning: [argument] incompatible argument for parameter customMessage of Violation. + + getCustomMessages().get(key))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractCheck.java:289: warning: [argument] incompatible argument for parameter customMessage of Violation. + + getCustomMessages().get(key))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractCheck.java:339: warning: [initialization.field.uninitialized] the default constructor does not initialize field fileContents + private FileContents fileContents; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractViolationReporter.java:41: warning: [initialization.field.uninitialized] the default constructor does not initialize field id + private String id; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AutomaticBean.java:80: warning: [initialization.field.uninitialized] the default constructor does not initialize field configuration + private Configuration configuration; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AutomaticBean.java:348: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable URI + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AutomaticBean.java:372: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + return result.toArray(CommonUtil.EMPTY_STRING_ARRAY); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AutomaticBean.java:401: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + return result.toArray(EMPTY_MODIFIER_ARRAY); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\LineWrappingHandler.java:257: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (curNode != lastNode) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\LineWrappingHandler.java:257: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (curNode != lastNode) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:53: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.CASE_GROUP, CaseHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:54: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_SWITCH, SwitchHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:55: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.SLIST, SlistHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:56: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.PACKAGE_DEF, PackageDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:57: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_ELSE, ElseHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:58: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_IF, IfHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:59: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_TRY, TryHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:60: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_CATCH, CatchHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:61: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_FINALLY, FinallyHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:62: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_DO, DoWhileHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:63: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_WHILE, WhileHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:64: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_FOR, ForHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:65: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.METHOD_DEF, MethodDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:66: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.CTOR_DEF, MethodDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:67: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.CLASS_DEF, ClassDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:68: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.ENUM_DEF, ClassDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:69: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.OBJBLOCK, ObjectBlockHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:70: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.INTERFACE_DEF, ClassDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:71: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.IMPORT, ImportHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:72: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.ARRAY_INIT, ArrayInitHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:73: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.ANNOTATION_ARRAY_INIT, AnnotationArrayInitHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:74: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.METHOD_CALL, MethodCallHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:75: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.CTOR_CALL, MethodCallHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:76: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.SUPER_CTOR_CALL, MethodCallHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:77: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LABELED_STAT, LabelHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:78: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.STATIC_INIT, StaticInitHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:79: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.INSTANCE_INIT, SlistHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:80: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.VARIABLE_DEF, MemberDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:81: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_NEW, NewHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:82: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.INDEX_OP, IndexHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:83: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_SYNCHRONIZED, SynchronizedHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:84: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LAMBDA, LambdaHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:85: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.ANNOTATION_DEF, ClassDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:86: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.ANNOTATION_FIELD_DEF, MethodDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:87: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.SWITCH_RULE, SwitchRuleHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:88: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.LITERAL_YIELD, YieldHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:89: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.RECORD_DEF, ClassDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:90: warning: [method.invocation] call to register(int,java.lang.Class) not allowed on the given receiver. + + register(TokenTypes.COMPACT_CTOR_DEF, MethodDefHandler.class); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory.class) @NonNull HandlerFactory + + required: @Initialized @NonNull HandlerFactory +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:163: warning: [type.argument] incompatible type argument for type parameter T extends Object of invokeConstructor. + + resultHandler = (AbstractExpressionHandler) CommonUtil.invokeConstructor( + ^ + found : capture#125[ extends @UnknownKeyFor Object super @KeyForBottom Void] + + required: [extends @UnknownKeyFor Object super @UnknownKeyFor NullType] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:164: warning: [argument] incompatible argument for parameter constructor of invokeConstructor. + + handlerCtor, indentCheck, ast, parent); + ^ + found : @Initialized @Nullable Constructor + + required: @Initialized @NonNull Constructor +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\HandlerFactory.java:166: warning: [return] incompatible types in return. + + return resultHandler; + ^ + type of expression: @Initialized @Nullable AbstractExpressionHandler + + method return type: @Initialized @NonNull AbstractExpressionHandler +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\Violation.java:124: warning: [assignment] incompatible types in assignment. + + this.args = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Object @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\Violation.java:368: warning: [override.param] Incompatible parameter type for object. + + public boolean equals(Object object) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull Violation + + @Initialized @NonNull boolean equals(@Initialized @NonNull Violation this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileContents.java:224: warning: [return] incompatible types in return. + + return javadocComments.get(lineNo); + ^ + type of expression: @Initialized @Nullable TextBlock + + method return type: @Initialized @NonNull TextBlock +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileText.java:109: warning: [assignment] incompatible types in assignment. + + lineBreaks = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull int @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileText.java:127: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: lineBreaks + public FileText(File file, List lines) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileText.java:134: warning: [assignment] incompatible types in assignment. + + charset = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Charset +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileText.java:136: warning: [assignment] incompatible types in assignment. + + this.lines = lines.toArray(CommonUtil.EMPTY_STRING_ARRAY); + ^ + found : @Initialized @Nullable String @Initialized @NonNull [] + + required: @Initialized @NonNull String @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileText.java:136: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + this.lines = lines.toArray(CommonUtil.EMPTY_STRING_ARRAY); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileText.java:152: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: lineBreaks + public FileText(File file, String charsetName) throws IOException { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileText.java:183: warning: [assignment] incompatible types in assignment. + + lines = textLines.toArray(CommonUtil.EMPTY_STRING_ARRAY); + ^ + found : @Initialized @Nullable String @Initialized @NonNull [] + + required: @Initialized @NonNull String @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FileText.java:183: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + lines = textLines.toArray(CommonUtil.EMPTY_STRING_ARRAY); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\LineColumn.java:78: warning: [override.param] Incompatible parameter type for other. + + public boolean equals(Object other) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull LineColumn + + @Initialized @NonNull boolean equals(@Initialized @NonNull LineColumn this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\DetailAstSet.java:86: warning: [return] incompatible types in return. + + return startColumn; + ^ + type of expression: @Initialized @Nullable Integer + + method return type: @Initialized @NonNull Integer +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\DetailAstSet.java:114: warning: [return] incompatible types in return. + + return astLines.get(lineNum); + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\AbstractJavadocCheck.java:78: warning: [type.argument] incompatible type argument for type parameter T of ThreadLocal. + + private static final ThreadLocal> TREE_CACHE = + ^ + found : @Initialized @NonNull Map<@Initialized @NonNull LineColumn, @Initialized @NonNull ParseStatus> + + required: [extends @Initialized @Nullable Object super null (NullType)] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\AbstractJavadocCheck.java:88: warning: [type.argument] incompatible type argument for type parameter T of ThreadLocal. + + private final ThreadLocal context = ThreadLocal.withInitial(FileContext::new); + ^ + found : @Initialized @NonNull FileContext + + required: [extends @Initialized @Nullable Object super null (NullType)] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\AbstractJavadocCheck.java:419: warning: [initialization.field.uninitialized] the default constructor does not initialize field blockCommentAst + private DetailAST blockCommentAst; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocDetailNodeParser.java:288: warning: [argument] incompatible argument for parameter parent of createJavadocNode. + + final JavadocNodeImpl rootJavadocNode = createJavadocNode(parseTreeNode, null, -1); + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocDetailNodeParser.java:403: warning: [return] incompatible types in return. + + return nextSibling; + ^ + type of expression: @Initialized @Nullable ParseTree + + method return type: @Initialized @NonNull ParseTree +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocDetailNodeParser.java:496: warning: [dereference.of.nullable] dereference of possibly-null reference stack.peek() + if (stack.peek().getText().equals(token.getText())) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocDetailNodeParser.java:535: warning: [return] incompatible types in return. + + return offendingToken; + ^ + type of expression: @Initialized @Nullable CommonToken + + method return type: @Initialized @NonNull Token +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocDetailNodeParser.java:573: warning: [initialization.field.uninitialized] the default constructor does not initialize field errorMessage + private ParseErrorMessage errorMessage; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocDetailNodeParser.java:641: warning: [initialization.field.uninitialized] the default constructor does not initialize field tree + private DetailNode tree; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocDetailNodeParser.java:646: warning: [initialization.field.uninitialized] the default constructor does not initialize field parseErrorMessage + private ParseErrorMessage parseErrorMessage; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocDetailNodeParser.java:655: warning: [initialization.field.uninitialized] the default constructor does not initialize field firstNonTightHtmlTag + private Token firstNonTightHtmlTag; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocNodeImpl.java:53: warning: [initialization.field.uninitialized] the default constructor does not initialize field text + private String text; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocNodeImpl.java:68: warning: [initialization.field.uninitialized] the default constructor does not initialize field children + private DetailNode[] children; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocNodeImpl.java:73: warning: [initialization.field.uninitialized] the default constructor does not initialize field parent + private DetailNode parent; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\header\AbstractHeaderCheck.java:59: warning: [initialization.field.uninitialized] the default constructor does not initialize field headerFile + private URI headerFile; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractFileSetCheck.java:48: warning: [type.argument] incompatible type argument for type parameter T of ThreadLocal. + + private final ThreadLocal context = ThreadLocal.withInitial(FileContext::new); + ^ + found : @Initialized @NonNull FileContext + + required: [extends @Initialized @Nullable Object super null (NullType)] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractFileSetCheck.java:51: warning: [initialization.field.uninitialized] the default constructor does not initialize field messageDispatcher + private MessageDispatcher messageDispatcher; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractFileSetCheck.java:57: warning: [initialization.field.uninitialized] the default constructor does not initialize field fileExtensions + private String[] fileExtensions; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractFileSetCheck.java:223: warning: [argument] incompatible argument for parameter customMessage of Violation. + + getCustomMessages().get(key))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractFileSetCheck.java:241: warning: [argument] incompatible argument for parameter customMessage of Violation. + + getCustomMessages().get(key))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AbstractFileSetCheck.java:267: warning: [initialization.field.uninitialized] the default constructor does not initialize field fileContents + private FileContents fileContents; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AuditEvent.java:56: warning: [argument] incompatible argument for parameter fileName of AuditEvent. + + this(source, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AuditEvent.java:66: warning: [argument] incompatible argument for parameter violation of AuditEvent. + + this(src, fileName, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull Violation +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\ChainedPropertyUtil.java:72: warning: [argument] incompatible argument for parameter input of matcher. + + final Matcher matcher = PROPERTY_VARIABLE_PATTERN.matcher(propertyValue); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull CharSequence +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:311: warning: [initialization.field.uninitialized] the default constructor does not initialize field frames + private Map frames; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:410: warning: [argument] incompatible argument for parameter arg0 of push. + + current.push(frames.get(ast)); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:414: warning: [argument] incompatible argument for parameter arg0 of push. + + current.push(frames.get(ast)); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:437: warning: [dereference.of.nullable] dereference of possibly-null reference current.peek() + if (current.peek().getType() == FrameType.TRY_WITH_RESOURCES_FRAME) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:526: warning: [return] incompatible types in return. + + return frame; + ^ + type of expression: @Initialized @Nullable AbstractFrame + + method return type: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:559: warning: [argument] incompatible argument for parameter frame of collectVariableDeclarations. + + collectVariableDeclarations(ast, frame); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:563: warning: [dereference.of.nullable] dereference of possibly-null reference ((ClassFrame)frame) + ((ClassFrame) frame).addInstanceMember(componentIdent); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:569: warning: [dereference.of.nullable] dereference of possibly-null reference frame + frame.addIdent(parameterIdent); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:575: warning: [dereference.of.nullable] dereference of possibly-null reference frame + frame.addIdent(resourceIdent); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:584: warning: [argument] incompatible argument for parameter parent of ClassFrame. + + frameStack.addFirst(new ClassFrame(frame, classFrameNameIdent)); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:587: warning: [argument] incompatible argument for parameter parent of BlockFrame. + + frameStack.addFirst(new BlockFrame(frame, ast)); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:590: warning: [argument] incompatible argument for parameter frame of collectMethodDeclarations. + + collectMethodDeclarations(frameStack, ast, frame); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:595: warning: [argument] incompatible argument for parameter parent of ConstructorFrame. + + frameStack.addFirst(new ConstructorFrame(frame, ctorFrameNameIdent)); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:599: warning: [dereference.of.nullable] dereference of possibly-null reference ((ClassFrame)frame) + ((ClassFrame) frame).addStaticMember(ident); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:602: warning: [argument] incompatible argument for parameter parent of CatchFrame. + + final AbstractFrame catchFrame = new CatchFrame(frame, ast); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:606: warning: [argument] incompatible argument for parameter parent of ForFrame. + + final AbstractFrame forFrame = new ForFrame(frame, ast); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:611: warning: [argument] incompatible argument for parameter parent of AnonymousClassFrame. + + frameStack.addFirst(new AnonymousClassFrame(frame, + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:617: warning: [argument] incompatible argument for parameter parent of TryWithResourcesFrame. + + frameStack.addFirst(new TryWithResourcesFrame(frame, ast)); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:688: warning: [argument] incompatible argument for parameter arg1 of put. + + frames.put(ast, frameStack.poll()); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:692: warning: [argument] incompatible argument for parameter arg1 of put. + + frames.put(ast, frameStack.poll()); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:697: warning: [argument] incompatible argument for parameter arg1 of put. + + frames.put(ast, frameStack.poll()); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:768: warning: [return] incompatible types in return. + + return frameWhereViolationIsFound; + ^ + type of expression: @Initialized @Nullable AbstractFrame + + method return type: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:837: warning: [return] incompatible types in return. + + return blockEndToken; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:1117: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable AbstractFrame + + method return type: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:1131: warning: [argument] incompatible argument for parameter frame of findFrame. + + frame = findFrame(frame, name, lookForMethod); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:1151: warning: [argument] incompatible argument for parameter frame of findFrame. + + return findFrame(current.peek(), name, lookForMethod); + ^ + found : @Initialized @Nullable AbstractFrame + + required: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:1204: warning: [dereference.of.nullable] dereference of possibly-null reference frame + while (frame.getType() != FrameType.CLASS_FRAME) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:1598: warning: [return] incompatible types in return. + + return frame; + ^ + type of expression: @Initialized @Nullable AbstractFrame + + method return type: @Initialized @NonNull AbstractFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\RequireThisCheck.java:1669: warning: [argument] incompatible argument for parameter ident of ClassFrame. + + super(parent, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\CsvFilterElement.java:56: warning: [method.invocation] call to addFilter(com.puppycrawl.tools.checkstyle.filters.IntFilterElement) not allowed on the given receiver. + + addFilter(new IntMatchFilterElement(matchValue)); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.filters.CsvFilterElement.class) @NonNull CsvFilterElement + + required: @Initialized @NonNull CsvFilterElement +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\CsvFilterElement.java:63: warning: [method.invocation] call to addFilter(com.puppycrawl.tools.checkstyle.filters.IntFilterElement) not allowed on the given receiver. + + addFilter(new IntRangeFilterElement(lowerBound, upperBound)); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.filters.CsvFilterElement.class) @NonNull CsvFilterElement + + required: @Initialized @NonNull CsvFilterElement +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\CsvFilterElement.java:105: warning: [override.param] Incompatible parameter type for object. + + public boolean equals(Object object) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull CsvFilterElement + + @Initialized @NonNull boolean equals(@Initialized @NonNull CsvFilterElement this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:417: warning: [initialization.field.uninitialized] the default constructor does not initialize field xpathFilter + private XpathFilterElement xpathFilter; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:421: warning: [initialization.field.uninitialized] the default constructor does not initialize field files + private Pattern files; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:426: warning: [initialization.field.uninitialized] the default constructor does not initialize field checks + private Pattern checks; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:431: warning: [initialization.field.uninitialized] the default constructor does not initialize field message + private Pattern message; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:435: warning: [initialization.field.uninitialized] the default constructor does not initialize field id + private String id; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:439: warning: [initialization.field.uninitialized] the default constructor does not initialize field query + private String query; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:449: warning: [assignment] incompatible types in assignment. + + this.files = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:464: warning: [assignment] incompatible types in assignment. + + this.checks = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathSingleFilter.java:479: warning: [assignment] incompatible types in assignment. + + this.message = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:89: warning: [argument] incompatible argument for parameter files of XpathFilterElement. + + this(Optional.ofNullable(files).map(Pattern::compile).orElse(null), + ^ + found : @Initialized @Nullable Pattern + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:90: warning: [argument] incompatible argument for parameter checks of XpathFilterElement. + + Optional.ofNullable(checks).map(CommonUtil::createPattern).orElse(null), + ^ + found : @Initialized @Nullable Pattern + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:91: warning: [argument] incompatible argument for parameter message of XpathFilterElement. + + Optional.ofNullable(message).map(Pattern::compile).orElse(null), + ^ + found : @Initialized @Nullable Pattern + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:109: warning: [assignment] incompatible types in assignment. + + filePattern = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:110: warning: [assignment] incompatible types in assignment. + + fileRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:117: warning: [assignment] incompatible types in assignment. + + checkPattern = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:118: warning: [assignment] incompatible types in assignment. + + checkRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:125: warning: [assignment] incompatible types in assignment. + + messagePattern = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:126: warning: [assignment] incompatible types in assignment. + + messageRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:135: warning: [assignment] incompatible types in assignment. + + xpathExpression = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull XPathExpression +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:231: warning: [argument] incompatible argument for parameter contextItem of createDynamicContext. + + xpathExpression.createDynamicContext(rootNode); + ^ + found : @Initialized @Nullable RootNode + + required: @Initialized @NonNull Item +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\XpathFilterElement.java:248: warning: [override.param] Incompatible parameter type for other. + + public boolean equals(Object other) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull XpathFilterElement + + @Initialized @NonNull boolean equals(@Initialized @NonNull XpathFilterElement this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:296: warning: [initialization.field.uninitialized] the default constructor does not initialize field messageFormat + private String messageFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:300: warning: [initialization.field.uninitialized] the default constructor does not initialize field idFormat + private String idFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:332: warning: [return] incompatible types in return. + + return fileContentsReference.get(); + ^ + type of expression: @Initialized @Nullable FileContents + + method return type: @Initialized @NonNull FileContents +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:489: warning: [argument] incompatible argument for parameter text of addTag. + + addTag(matcher.group(0), line); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:546: warning: [assignment] incompatible types in assignment. + + tagMessageRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:554: warning: [assignment] incompatible types in assignment. + + tagIdRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:601: warning: [override.param] Incompatible parameter type for other. + + public boolean equals(Object other) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull Tag + + @Initialized @NonNull boolean equals(@Initialized @NonNull Tag this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:417: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (getFileContents() != currentContents) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilter.java:417: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (getFileContents() != currentContents) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\VisibilityModifierCheck.java:1072: warning: [return] incompatible types in return. + + return matchingAnnotation; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:247: warning: [assignment] incompatible types in assignment. + + packageName = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:294: warning: [assignment] incompatible types in assignment. + + packageName = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:403: warning: [argument] incompatible argument for parameter arg1 of put. + + anonInnerAstToTypeDeclDesc.put(literalNewAst, typeDeclarations.peek()); + ^ + found : @Initialized @Nullable TypeDeclDesc + + required: @Initialized @NonNull TypeDeclDesc +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:437: warning: [dereference.of.nullable] dereference of possibly-null reference variablesStack.peek() + while (!variablesStack.isEmpty() && variablesStack.peek().getScope() == scopeAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:489: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:529: warning: [dereference.of.nullable] dereference of possibly-null reference typeDeclAstToTypeDeclDesc.get(parentAst.getParent()) + typeDeclAstToTypeDeclDesc.get(parentAst.getParent()).addInstOrClassVar(desc); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:570: warning: [dereference.of.nullable] dereference of possibly-null reference anonInnerAstToTypeDeclDesc.get(literalNewAst) + anonInnerAstToTypeDeclDesc.get(literalNewAst).getQualifiedName(), + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:574: warning: [return] incompatible types in return. + + return obtainedClass; + ^ + type of expression: @Initialized @Nullable TypeDeclDesc + + method return type: @Initialized @NonNull TypeDeclDesc +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:590: warning: [dereference.of.nullable] dereference of possibly-null reference typeDeclAstToTypeDeclDesc.get(obtainedClass.getTypeDeclAst()) + .get(obtainedClass.getTypeDeclAst()) + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:678: warning: [dereference.of.nullable] dereference of possibly-null reference typeDeclarations.peek() + outerClassQualifiedName = typeDeclarations.peek().getQualifiedName(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:681: warning: [argument] incompatible argument for parameter outerClassQualifiedName of getQualifiedTypeDeclarationName. + + .getQualifiedTypeDeclarationName(packageName, outerClassQualifiedName, className); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:368: warning: [not.interned] attempting to use a non-@Interned comparison operand + && parent.getFirstChild() != identAst; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:368: warning: [not.interned] attempting to use a non-@Interned comparison operand + && parent.getFirstChild() != identAst; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:437: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (!variablesStack.isEmpty() && variablesStack.peek().getScope() == scopeAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:437: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (!variablesStack.isEmpty() && variablesStack.peek().getScope() == scopeAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:696: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (currNode != ast && toVisit == null) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:696: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (currNode != ast && toVisit == null) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:803: warning: [not.interned] attempting to use a non-@Interned comparison operand + && identAst != parent.getLastChild(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnusedLocalVariableCheck.java:803: warning: [not.interned] attempting to use a non-@Interned comparison operand + && identAst != parent.getLastChild(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\DeclarationOrderCheck.java:243: warning: [initialization.field.uninitialized] the default constructor does not initialize field scopeStates + private Deque scopeStates; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\DeclarationOrderCheck.java:246: warning: [initialization.field.uninitialized] the default constructor does not initialize field classFieldNames + private Set classFieldNames; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\DeclarationOrderCheck.java:305: warning: [dereference.of.nullable] dereference of possibly-null reference state + state.currentScopeState = STATE_METHOD_DEF; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\DeclarationOrderCheck.java:326: warning: [dereference.of.nullable] dereference of possibly-null reference state + if (state.currentScopeState > STATE_CTOR_DEF) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\DeclarationOrderCheck.java:343: warning: [argument] incompatible argument for parameter state of processModifiersState. + + final boolean isStateValid = processModifiersState(ast, state); + ^ + found : @Initialized @Nullable ScopeState + + required: @Initialized @NonNull ScopeState +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\IntRangeFilterElement.java:59: warning: [override.param] Incompatible parameter type for other. + + public boolean equals(Object other) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull IntRangeFilterElement + + @Initialized @NonNull boolean equals(@Initialized @NonNull IntRangeFilterElement this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\CommentsIndentationCheck.java:784: warning: [return] incompatible types in return. + + return previousStatement; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\CommentsIndentationCheck.java:850: warning: [return] incompatible types in return. + + return previousStatement; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\CommentsIndentationCheck.java:1053: warning: [return] incompatible types in return. + + return prevStmt; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\CommentsIndentationCheck.java:1073: warning: [return] incompatible types in return. + + return prevCaseToken; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\CommentsIndentationCheck.java:916: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (nextToken != null && nextToken != currentStatement && isComment(nextToken)) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\CommentsIndentationCheck.java:916: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (nextToken != null && nextToken != currentStatement && isComment(nextToken)) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocPackageCheck.java:112: warning: [method.invocation] call to setFileExtensions(java.lang.String...) not allowed on the given receiver. + + setFileExtensions("java"); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck.class) @NonNull AbstractFileSetCheck + + required: @Initialized @NonNull AbstractFileSetCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocPackageCheck.java:126: warning: [argument] incompatible argument for parameter arg0 of add. + + final boolean isDirChecked = !directoriesChecked.add(dir); + ^ + found : @Initialized @Nullable File + + required: @Initialized @NonNull File +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\RootNode.java:136: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull NodeInfo +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\RootNode.java:176: warning: [argument] incompatible argument for parameter nodes of OfNodes. + + getChildren().toArray(EMPTY_ABSTRACT_NODE_ARRAY)); + ^ + found : @Initialized @Nullable AbstractNode @Initialized @NonNull [] + + required: @Initialized @NonNull AbstractNode @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\RootNode.java:176: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + getChildren().toArray(EMPTY_ABSTRACT_NODE_ARRAY)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\AbstractNode.java:56: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: children + protected AbstractNode(TreeInfo treeInfo) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\AbstractNode.java:108: warning: [not.interned] attempting to use a non-@Interned comparison operand + return this == nodeInfo; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\AbstractNode.java:108: warning: [not.interned] attempting to use a non-@Interned comparison operand + return this == nodeInfo; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\AvoidEscapedUnicodeCharactersCheck.java:294: warning: [initialization.field.uninitialized] the default constructor does not initialize field singlelineComments + private Map singlelineComments; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\AvoidEscapedUnicodeCharactersCheck.java:296: warning: [initialization.field.uninitialized] the default constructor does not initialize field blockComments + private Map> blockComments; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\VariableDeclarationUsageDistanceCheck.java:549: warning: [argument] incompatible argument for parameter key of SimpleEntry. + + return new SimpleEntry<>(variableUsageAst, dist); + ^ + found : @Initialized @Nullable DetailAST + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\VariableDeclarationUsageDistanceCheck.java:674: warning: [argument] incompatible argument for parameter key of SimpleEntry. + + return new SimpleEntry<>(variableUsageAst, dist); + ^ + found : @Initialized @Nullable DetailAST + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\VariableDeclarationUsageDistanceCheck.java:744: warning: [return] incompatible types in return. + + return firstNodeInsideBlock; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\VariableDeclarationUsageDistanceCheck.java:795: warning: [return] incompatible types in return. + + return firstNodeInsideBlock; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\VariableDeclarationUsageDistanceCheck.java:824: warning: [return] incompatible types in return. + + return firstNodeInsideBlock; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\VariableDeclarationUsageDistanceCheck.java:912: warning: [return] incompatible types in return. + + return variableUsageNode; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\VariableDeclarationUsageDistanceCheck.java:991: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (curNode == parent) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\VariableDeclarationUsageDistanceCheck.java:991: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (curNode == parent) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\FollowingIterator.java:51: warning: [assignment] incompatible types in assignment. + + descendantEnum = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull AxisIterator +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\FollowingIterator.java:71: warning: [assignment] incompatible types in assignment. + + siblingEnum = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull AxisIterator +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\FollowingIterator.java:86: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable NodeInfo + + method return type: @Initialized @NonNull NodeInfo +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PropertiesExpander.java:51: warning: [methodref.return] Incompatible return type + + .collect(Collectors.toMap(Function.identity(), properties::getProperty)); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String + + Consequence: method in @Initialized @NonNull Properties + + @Initialized @Nullable String getProperty(@Initialized @NonNull Properties this, @Initialized @NonNull String p0) + + is not a valid method reference for method in @Initialized @NonNull Function + + @Initialized @NonNull String apply(@Initialized @NonNull Function this, /*INFERENCE FAILED for:*/ ? extends @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PropertiesExpander.java:56: warning: [return] incompatible types in return. + + return values.get(name); + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:85: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: editor, xpathEditor, linePositionList + public TreeTable(ParseTreeTableModel treeTableModel) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:87: warning: [assignment] incompatible types in assignment. + + tree = new TreeTableCellRenderer(this, treeTableModel); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.gui.TreeTableCellRenderer.class) @NonNull TreeTableCellRenderer + + required: @Initialized @NonNull TreeTableCellRenderer +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:87: warning: [argument] incompatible argument for parameter treeTable of TreeTableCellRenderer. + + tree = new TreeTableCellRenderer(this, treeTableModel); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull TreeTable + + required: @Initialized @NonNull TreeTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:90: warning: [method.invocation] call to setModel(javax.swing.table.TableModel) not allowed on the given receiver. + + setModel(new TreeTableModelAdapter(treeTableModel, tree)); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JTable + + required: @Initialized @NonNull JTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:94: warning: [argument] incompatible argument for parameter jTreeTable of ListToTreeSelectionModelWrapper. + + ListToTreeSelectionModelWrapper(this); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull TreeTable + + required: @Initialized @NonNull TreeTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:95: warning: [argument] incompatible argument for parameter selectionModel of setSelectionModel. + + tree.setSelectionModel(selectionWrapper); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.gui.ListToTreeSelectionModelWrapper.class) @NonNull ListToTreeSelectionModelWrapper + + required: @Initialized @NonNull TreeSelectionModel +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:96: warning: [method.invocation] call to setSelectionModel(javax.swing.ListSelectionModel) not allowed on the given receiver. + + setSelectionModel(selectionWrapper.getListSelectionModel()); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JTable + + required: @Initialized @NonNull JTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:96: warning: [method.invocation] call to getListSelectionModel() not allowed on the given receiver. + + setSelectionModel(selectionWrapper.getListSelectionModel()); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.gui.ListToTreeSelectionModelWrapper.class) @NonNull ListToTreeSelectionModelWrapper + + required: @Initialized @NonNull ListToTreeSelectionModelWrapper +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:99: warning: [method.invocation] call to setDefaultRenderer(java.lang.Class,javax.swing.table.TableCellRenderer) not allowed on the given receiver. + + setDefaultRenderer(ParseTreeTableModel.class, tree); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JTable + + required: @Initialized @NonNull JTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:100: warning: [method.invocation] call to setDefaultEditor(java.lang.Class,javax.swing.table.TableCellEditor) not allowed on the given receiver. + + setDefaultEditor(ParseTreeTableModel.class, new TreeTableCellEditor()); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JTable + + required: @Initialized @NonNull JTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:103: warning: [method.invocation] call to setShowGrid(boolean) not allowed on the given receiver. + + setShowGrid(false); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JTable + + required: @Initialized @NonNull JTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:106: warning: [method.invocation] call to setIntercellSpacing(java.awt.Dimension) not allowed on the given receiver. + + setIntercellSpacing(new Dimension(0, 0)); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JTable + + required: @Initialized @NonNull JTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:112: warning: [method.invocation] call to getRowHeight() not allowed on the given receiver. + + final int height = getRowHeight(); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JTable + + required: @Initialized @NonNull JTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:113: warning: [method.invocation] call to setRowHeight(int) not allowed on the given receiver. + + setRowHeight(height); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull TreeTable + + required: @Initialized @NonNull TreeTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:116: warning: [method.invocation] call to setColumnsInitialWidth() not allowed on the given receiver. + + setColumnsInitialWidth(); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull TreeTable + + required: @Initialized @NonNull TreeTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:123: warning: [method.invocation] call to expandSelectedNode() not allowed on the given receiver. + + expandSelectedNode(); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull TreeTable + + required: @Initialized @NonNull TreeTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:128: warning: [method.invocation] call to getInputMap() not allowed on the given receiver. + + getInputMap().put(stroke, command); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JComponent + + required: @Initialized @NonNull JComponent +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:129: warning: [method.invocation] call to getActionMap() not allowed on the given receiver. + + getActionMap().put(command, expand); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull JComponent + + required: @Initialized @NonNull JComponent +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:131: warning: [method.invocation] call to addMouseListener(java.awt.event.MouseListener) not allowed on the given receiver. + + addMouseListener(new MouseAdapter() { + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull Component + + required: @Initialized @NonNull Component +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:135: warning: [method.invocation] call to expandSelectedNode() not allowed on the given receiver. + + expandSelectedNode(); + ^ + found : @UnderInitialization(javax.swing.JTable.class) @NonNull TreeTable + + required: @Initialized @NonNull TreeTable +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\TreeTable.java:183: warning: [argument] incompatible argument for parameter font of getFontMetrics. + + final FontMetrics fontMetrics = getFontMetrics(getFont()); + ^ + found : @Initialized @Nullable Font + + required: @Initialized @NonNull Font +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\BaseCellEditor.java:47: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\MainFrameModel.java:99: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: currentFile, text + public MainFrameModel() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\MainFrameModel.java:100: warning: [argument] incompatible argument for parameter parseTree of ParseTreeTableModel. + + parseTreeTableModel = new ParseTreeTableModel(null); + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\MainFrameModel.java:168: warning: [return] incompatible types in return. + + return lastDirectory; + ^ + type of expression: @Initialized @Nullable File + + method return type: @Initialized @NonNull File +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\ParseTreeTableModel.java:52: warning: [method.invocation] call to setParseTree(com.puppycrawl.tools.checkstyle.api.DetailAST) not allowed on the given receiver. + + setParseTree(parseTree); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.gui.ParseTreeTableModel.class) @NonNull ParseTreeTableModel + + required: @Initialized @NonNull ParseTreeTableModel +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\ParseTreeTableModel.java:65: warning: [argument] incompatible argument for parameter childIndices of fireTreeStructureChanged. + + fireTreeStructureChanged(this, path, null, (Object[]) null); + ^ + found : null (NullType) + + required: @Initialized @NonNull int @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\ParseTreeTableModel.java:65: warning: [argument] incompatible argument for parameter children of fireTreeStructureChanged. + + fireTreeStructureChanged(this, path, null, (Object[]) null); + ^ + found : @Initialized @NonNull Object @FBCBottom @Nullable [] + + required: @Initialized @NonNull Object @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\ParseTreeTablePresentation.java:65: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: parseMode + public ParseTreeTablePresentation(DetailAST parseTree) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\ParseTreeTablePresentation.java:316: warning: [return] incompatible types in return. + + return value; + ^ + type of expression: @Initialized @Nullable Object + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\ParseTreeTablePresentation.java:350: warning: [return] incompatible types in return. + + return value; + ^ + type of expression: @Initialized @Nullable Object + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\TreeWalker.java:86: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: childContext, moduleFactory + public TreeWalker() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\TreeWalker.java:87: warning: [method.invocation] call to setFileExtensions(java.lang.String...) not allowed on the given receiver. + + setFileExtensions("java"); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.class) @NonNull AbstractFileSetCheck + + required: @Initialized @NonNull AbstractFileSetCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\TreeWalker.java:377: warning: [return] incompatible types in return. + + return visitors; + ^ + type of expression: @Initialized @Nullable Collection<@Initialized @NonNull AbstractCheck> + + method return type: @Initialized @NonNull Collection<@Initialized @NonNull AbstractCheck> +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocTypeCheck.java:257: warning: [initialization.field.uninitialized] the default constructor does not initialize field excludeScope + private Scope excludeScope; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocTypeCheck.java:259: warning: [initialization.field.uninitialized] the default constructor does not initialize field authorFormat + private Pattern authorFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocTypeCheck.java:261: warning: [initialization.field.uninitialized] the default constructor does not initialize field versionFormat + private Pattern versionFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocTypeCheck.java:554: warning: [dereference.of.nullable] dereference of possibly-null reference matchInAngleBrackets.group(1) + typeParamName = matchInAngleBrackets.group(1).trim(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocTag.java:59: warning: [argument] incompatible argument for parameter firstArg of JavadocTag. + + this(line, column, tag, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\SarifLogger.java:142: warning: [dereference.of.nullable] dereference of possibly-null reference SarifLogger.class.getPackage() + final String version = SarifLogger.class.getPackage().getImplementationVersion(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\TagParser.java:58: warning: [method.invocation] call to parseTags(java.lang.String[],int) not allowed on the given receiver. + + parseTags(text, lineNo); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.javadoc.TagParser.class) @NonNull TagParser + + required: @Initialized @NonNull TagParser +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpOnFilenameCheck.java:277: warning: [initialization.field.uninitialized] the default constructor does not initialize field folderPattern + private Pattern folderPattern; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpOnFilenameCheck.java:279: warning: [initialization.field.uninitialized] the default constructor does not initialize field fileNamePattern + private Pattern fileNamePattern; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpOnFilenameCheck.java:368: warning: [return] incompatible types in return. + + return file.getCanonicalFile().getParent(); + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\MultilineDetector.java:69: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: matcher, text + /* package */ MultilineDetector(DetectorOptions options) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\DetectorOptions.java:57: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: reporter, format, suppressor, pattern + private DetectorOptions() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\DetectorOptions.java:249: warning: [assignment] incompatible types in assignment. + + pattern = Optional.ofNullable(format).map(this::createPattern).orElse(null); + ^ + found : @Initialized @Nullable Pattern + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\DetectorOptions.java:247: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + message = Optional.ofNullable(message).orElse(""); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\DetectorOptions.java:248: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + suppressor = Optional.ofNullable(suppressor).orElse(NeverSuppress.INSTANCE); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\PrecedingIterator.java:51: warning: [assignment] incompatible types in assignment. + + descendantEnum = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull AxisIterator +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\PrecedingIterator.java:71: warning: [assignment] incompatible types in assignment. + + previousSiblingEnum = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull AxisIterator +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:135: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: thirdPartyNameToFullModuleNames + public PackageObjectFactory(Set packageNames, ClassLoader moduleClassLoader, + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:140: warning: [argument] incompatible argument for parameter arg0 of contains. + + if (packageNames.contains(null)) { + ^ + found : null (NullType) + + required: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:158: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: thirdPartyNameToFullModuleNames, moduleLoadOption + public PackageObjectFactory(String packageName, ClassLoader moduleClassLoader) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:213: warning: [argument] incompatible argument for parameter args of LocalizedMessage. + + UNABLE_TO_INSTANTIATE_EXCEPTION_MESSAGE, name, attemptedNames); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:239: warning: [return] incompatible types in return. + + return instance; + ^ + type of expression: @Initialized @Nullable Object + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:263: warning: [return] incompatible types in return. + + return instance; + ^ + type of expression: @Initialized @Nullable Object + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:308: warning: [methodref.return] Incompatible return type + + Collectors.mapping(Class::getCanonicalName, Collectors.toSet()))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String + + Consequence: method in @Initialized @NonNull Class + + @Initialized @Nullable String getCanonicalName(@Initialized @NonNull Class this) + + is not a valid method reference for method in @Initialized @NonNull Function + + @Initialized @NonNull String apply(@Initialized @NonNull Function this, /*INFERENCE FAILED for:*/ ? extends @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:373: warning: [return] incompatible types in return. + + return instance; + ^ + type of expression: @Initialized @Nullable Object + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PackageObjectFactory.java:396: warning: [return] incompatible types in return. + + return instance; + ^ + type of expression: @Initialized @Nullable Object + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\PrimordialHandler.java:34: warning: [argument] incompatible argument for parameter typeName of AbstractExpressionHandler. + + super(indentCheck, null, null, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\PrimordialHandler.java:34: warning: [argument] incompatible argument for parameter expr of AbstractExpressionHandler. + + super(indentCheck, null, null, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\PrimordialHandler.java:34: warning: [argument] incompatible argument for parameter parent of AbstractExpressionHandler. + + super(indentCheck, null, null, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull AbstractExpressionHandler +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlCheck.java:480: warning: [initialization.field.uninitialized] the default constructor does not initialize field file + private URI file; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlCheck.java:492: warning: [initialization.field.uninitialized] the default constructor does not initialize field root + private PkgImportControl root; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlCheck.java:494: warning: [initialization.field.uninitialized] the default constructor does not initialize field packageName + private String packageName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlCheck.java:496: warning: [initialization.field.uninitialized] the default constructor does not initialize field fileName + private String fileName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlCheck.java:502: warning: [initialization.field.uninitialized] the default constructor does not initialize field currentImportControl + private AbstractImportControl currentImportControl; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlCheck.java:523: warning: [assignment] incompatible types in assignment. + + currentImportControl = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull AbstractImportControl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\PkgImportControl.java:68: warning: [argument] incompatible argument for parameter parent of AbstractImportControl. + + super(null, strategyOnMismatch); + ^ + found : null (NullType) + + required: @Initialized @NonNull AbstractImportControl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\PkgImportControl.java:79: warning: [assignment] incompatible types in assignment. + + patternForPartialMatch = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\PkgImportControl.java:80: warning: [assignment] incompatible types in assignment. + + patternForExactMatch = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\PkgImportControl.java:108: warning: [assignment] incompatible types in assignment. + + patternForPartialMatch = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\PkgImportControl.java:109: warning: [assignment] incompatible types in assignment. + + patternForExactMatch = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\PkgImportControl.java:208: warning: [return] incompatible types in return. + + return finestMatch; + ^ + type of expression: @Initialized @Nullable AbstractImportControl + + method return type: @Initialized @NonNull AbstractImportControl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\XMLLogger.java:101: warning: [dereference.of.nullable] dereference of possibly-null reference XMLLogger.class.getPackage() + final String version = XMLLogger.class.getPackage().getImplementationVersion(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\XMLLogger.java:128: warning: [argument] incompatible argument for parameter messages of writeFileMessages. + + writeFileMessages(fileName, messages); + ^ + found : @Initialized @Nullable FileMessages + + required: @Initialized @NonNull FileMessages +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:100: warning: [argument] incompatible argument for parameter moduleMetadataStream of read. + + moduleDetails = read(XmlMetaReader.class.getResourceAsStream("/" + fileName), + ^ + found : @Initialized @Nullable InputStream + + required: @Initialized @NonNull InputStream +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:140: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable ModuleDetails + + method return type: @Initialized @NonNull ModuleDetails +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:154: warning: [dereference.of.nullable] dereference of possibly-null reference getDirectChildsByTag(mod, XML_TAG_DESCRIPTION).get(0).getFirstChild() + .getFirstChild().getNodeValue()); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:154: warning: [argument] incompatible argument for parameter description of setDescription. + + .getFirstChild().getNodeValue()); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:182: warning: [argument] incompatible argument for parameter element of getAttributeValue. + + propertyDetails.setName(getAttributeValue(prop, XML_TAG_NAME)); + ^ + found : @Initialized @Nullable Element + + required: @Initialized @NonNull Element +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:193: warning: [dereference.of.nullable] dereference of possibly-null reference getDirectChildsByTag(prop, XML_TAG_DESCRIPTION).get(0).getFirstChild() + .get(0).getFirstChild().getNodeValue()); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:193: warning: [argument] incompatible argument for parameter description of setDescription. + + .get(0).getFirstChild().getNodeValue()); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:217: warning: [argument] incompatible argument for parameter element of getAttributeValue. + + listContent.add(getAttributeValue((Element) nodeList.item(j), attribute)); + ^ + found : @Initialized @Nullable Element + + required: @Initialized @NonNull Element +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:221: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable List<@Initialized @NonNull String> + + method return type: @Initialized @NonNull List<@Initialized @NonNull String> +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:235: warning: [dereference.of.nullable] dereference of possibly-null reference children.item(i) + if (children.item(i).getParentNode().equals(element)) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:235: warning: [dereference.of.nullable] dereference of possibly-null reference children.item(i).getParentNode() + if (children.item(i).getParentNode().equals(element)) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:250: warning: [dereference.of.nullable] dereference of possibly-null reference element.getAttributes() + return element.getAttributes().getNamedItem(attribute).getNodeValue(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:250: warning: [dereference.of.nullable] dereference of possibly-null reference element.getAttributes().getNamedItem(attribute) + return element.getAttributes().getNamedItem(attribute).getNodeValue(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\XmlMetaReader.java:250: warning: [return] incompatible types in return. + + return element.getAttributes().getNamedItem(attribute).getNodeValue(); + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModuleDetails.java:36: warning: [initialization.field.uninitialized] the default constructor does not initialize field name + private String name; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModuleDetails.java:39: warning: [initialization.field.uninitialized] the default constructor does not initialize field fullQualifiedName + private String fullQualifiedName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModuleDetails.java:42: warning: [initialization.field.uninitialized] the default constructor does not initialize field parent + private String parent; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModuleDetails.java:45: warning: [initialization.field.uninitialized] the default constructor does not initialize field description + private String description; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModuleDetails.java:48: warning: [initialization.field.uninitialized] the default constructor does not initialize field moduleType + private ModuleType moduleType; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModulePropertyDetails.java:26: warning: [initialization.field.uninitialized] the default constructor does not initialize field name + private String name; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModulePropertyDetails.java:29: warning: [initialization.field.uninitialized] the default constructor does not initialize field type + private String type; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModulePropertyDetails.java:32: warning: [initialization.field.uninitialized] the default constructor does not initialize field defaultValue + private String defaultValue; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModulePropertyDetails.java:38: warning: [initialization.field.uninitialized] the default constructor does not initialize field validationType + private String validationType; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\ModulePropertyDetails.java:41: warning: [initialization.field.uninitialized] the default constructor does not initialize field description + private String description; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\ModifiedControlVariableCheck.java:319: warning: [return] incompatible types in return. + + return variableStack.peek(); + ^ + type of expression: @Initialized @Nullable Deque<@Initialized @NonNull String> + + method return type: @Initialized @NonNull Deque<@Initialized @NonNull String> +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\MainFrame.java:77: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: textArea, xpathTextArea, treeTable + public MainFrame() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\MainFrame.java:78: warning: [method.invocation] call to createContent() not allowed on the given receiver. + + createContent(); + ^ + found : @UnderInitialization(javax.swing.JFrame.class) @NonNull MainFrame + + required: @Initialized @NonNull MainFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\MainFrame.java:84: warning: [argument] incompatible argument for parameter arg0 of getImage. + + setIconImage(Toolkit.getDefaultToolkit().getImage(MainFrame.class.getResource(ICON))); + ^ + found : @Initialized @Nullable URL + + required: @Initialized @NonNull URL +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\MainFrame.java:142: warning: [argument] incompatible argument for parameter event of actionPerformed. + + reloadAction.actionPerformed(null); + ^ + found : null (NullType) + + required: @Initialized @NonNull ActionEvent +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\MainFrame.java:229: warning: [argument] incompatible argument for parameter sourceFile of openFile. + + openFile(file); + ^ + found : @Initialized @Nullable File + + required: @Initialized @NonNull File +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\OuterTypeFilenameCheck.java:102: warning: [initialization.field.uninitialized] the default constructor does not initialize field fileName + private String fileName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\OuterTypeFilenameCheck.java:108: warning: [initialization.field.uninitialized] the default constructor does not initialize field wrongType + private DetailAST wrongType; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\OuterTypeFilenameCheck.java:136: warning: [assignment] incompatible types in assignment. + + wrongType = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpSinglelineJavaCheck.java:221: warning: [initialization.field.uninitialized] the default constructor does not initialize field message + private String message; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpSinglelineJavaCheck.java:258: warning: [argument] incompatible argument for parameter val of suppressor. + + .suppressor(suppressor) + ^ + found : @Initialized @Nullable MatchSuppressor + + required: @Initialized @NonNull MatchSuppressor +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\MatchXpathCheck.java:229: warning: [initialization.field.uninitialized] the default constructor does not initialize field xpathExpression + private XPathExpression xpathExpression; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:131: warning: [return] incompatible types in return. + + return compilationUnit; + ^ + type of expression: @Initialized @Nullable DetailAstImpl + + method return type: @Initialized @NonNull DetailAstImpl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:736: warning: [return] incompatible types in return. + + return annotations; + ^ + type of expression: @Initialized @Nullable DetailAstImpl + + method return type: @Initialized @NonNull DetailAstImpl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1573: warning: [argument] incompatible argument for parameter child of addChild. + + bop.addChild(descendantList.poll()); + ^ + found : @Initialized @Nullable DetailAstImpl + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:2161: warning: [return] incompatible types in return. + + return ast; + ^ + type of expression: @Initialized @Nullable DetailAstImpl + + method return type: @Initialized @NonNull DetailAstImpl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:2170: warning: [initialization.field.uninitialized] the default constructor does not initialize field root + private DetailAstImpl root; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:2173: warning: [initialization.field.uninitialized] the default constructor does not initialize field child + private DetailAstImpl child; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1464: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + .orElseGet(() -> createImaginary(TokenTypes.ELIST)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1490: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + .orElseGet(() -> createImaginary(TokenTypes.ELIST)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1608: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + .orElseGet(() -> createImaginary(TokenTypes.ELIST)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1650: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + .orElseGet(() -> createImaginary(TokenTypes.PARAMETERS)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1929: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + .orElseGet(() -> createImaginary(TokenTypes.ELIST)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1944: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + .orElseGet(() -> createImaginary(TokenTypes.ELIST)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1775: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (ctx.children.get(i) == rbrack) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1775: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (ctx.children.get(i) == rbrack) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1778: warning: [not.interned] attempting to use a non-@Interned comparison operand + else if (ctx.children.get(i) == expression) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavaAstVisitor.java:1778: warning: [not.interned] attempting to use a non-@Interned comparison operand + else if (ctx.children.get(i) == expression) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:52: warning: [initialization.field.uninitialized] the default constructor does not initialize field parent + private DetailAstImpl parent; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:54: warning: [initialization.field.uninitialized] the default constructor does not initialize field previousSibling + private DetailAstImpl previousSibling; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:57: warning: [initialization.field.uninitialized] the default constructor does not initialize field firstChild + private DetailAstImpl firstChild; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:60: warning: [initialization.field.uninitialized] the default constructor does not initialize field nextSibling + private DetailAstImpl nextSibling; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:63: warning: [initialization.field.uninitialized] the default constructor does not initialize field text + private String text; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:72: warning: [initialization.field.uninitialized] the default constructor does not initialize field hiddenBefore + private List hiddenBefore; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:78: warning: [initialization.field.uninitialized] the default constructor does not initialize field hiddenAfter + private List hiddenAfter; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:85: warning: [initialization.field.uninitialized] the default constructor does not initialize field branchTokenTypes + private BitSet branchTokenTypes; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:412: warning: [return] incompatible types in return. + + return returnValue; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:458: warning: [assignment] incompatible types in assignment. + + prevParent.branchTokenTypes = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull BitSet +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:498: warning: [assignment] incompatible types in assignment. + + firstChild = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAstImpl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:512: warning: [return] incompatible types in return. + + return returnList; + ^ + type of expression: @Initialized @Nullable List<@Initialized @NonNull Token> + + method return type: @Initialized @NonNull List<@Initialized @NonNull Token> +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DetailAstImpl.java:526: warning: [return] incompatible types in return. + + return returnList; + ^ + type of expression: @Initialized @Nullable List<@Initialized @NonNull Token> + + method return type: @Initialized @NonNull List<@Initialized @NonNull Token> +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\UnusedImportsCheck.java:154: warning: [initialization.field.uninitialized] the default constructor does not initialize field currentFrame + private Frame currentFrame; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\UnusedImportsCheck.java:391: warning: [argument] incompatible argument for parameter type of topLevelType. + + references.add(topLevelType(matcher.group(1))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\UnusedImportsCheck.java:512: warning: [argument] incompatible argument for parameter parent of Frame. + + return new Frame(null); + ^ + found : null (NullType) + + required: @Initialized @NonNull Frame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\FullIdent.java:47: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: detailAst + private FullIdent() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\JavadocUtil.java:208: warning: [return] incompatible types in return. + + return returnValue; + ^ + type of expression: @Initialized @Nullable DetailNode + + method return type: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\JavadocUtil.java:223: warning: [return] incompatible types in return. + + return resultNode; + ^ + type of expression: @Initialized @Nullable DetailNode + + method return type: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\JavadocUtil.java:271: warning: [return] incompatible types in return. + + return nextSibling; + ^ + type of expression: @Initialized @Nullable DetailNode + + method return type: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\JavadocUtil.java:303: warning: [return] incompatible types in return. + + return previousSibling; + ^ + type of expression: @Initialized @Nullable DetailNode + + method return type: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\JavadocUtil.java:245: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (curNode == toVisit) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\JavadocUtil.java:245: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (curNode == toVisit) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\MethodDefHandler.java:47: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\UncommentedMainCheck.java:153: warning: [initialization.field.uninitialized] the default constructor does not initialize field currentClass + private String currentClass; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\UncommentedMainCheck.java:155: warning: [initialization.field.uninitialized] the default constructor does not initialize field packageName + private FullIdent packageName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\UncommentedMainCheck.java:191: warning: [argument] incompatible argument for parameter ast of createFullIdent. + + packageName = FullIdent.createFullIdent(null); + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\UncommentedMainCheck.java:192: warning: [assignment] incompatible types in assignment. + + currentClass = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:92: warning: [initialization.field.uninitialized] the default constructor does not initialize field classpath + private Path classpath; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:95: warning: [initialization.field.uninitialized] the default constructor does not initialize field fileName + private String fileName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:98: warning: [initialization.field.uninitialized] the default constructor does not initialize field config + private String config; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:104: warning: [initialization.field.uninitialized] the default constructor does not initialize field failureProperty + private String failureProperty; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:107: warning: [initialization.field.uninitialized] the default constructor does not initialize field properties + private File properties; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:290: warning: [dereference.of.nullable] dereference of possibly-null reference CheckstyleAntTask.class.getPackage() + final String version = CheckstyleAntTask.class.getPackage().getImplementationVersion(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:305: warning: [argument] incompatible argument for parameter checkstyleVersion of realExecute. + + realExecute(version); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:423: warning: [dereference.of.nullable] dereference of possibly-null reference Checker.class.getPackage() + Checker.class.getPackage().getName() + ".", moduleClassLoader); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:423: warning: [argument] incompatible argument for parameter moduleClassLoader of PackageObjectFactory. + + Checker.class.getPackage().getName() + ".", moduleClassLoader); + ^ + found : @Initialized @Nullable ClassLoader + + required: @Initialized @NonNull ClassLoader +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:426: warning: [argument] incompatible argument for parameter moduleClassLoader of setModuleClassLoader. + + rootModule.setModuleClassLoader(moduleClassLoader); + ^ + found : @Initialized @Nullable ClassLoader + + required: @Initialized @NonNull ClassLoader +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:639: warning: [initialization.field.uninitialized] the default constructor does not initialize field type + private FormatterType type; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:641: warning: [initialization.field.uninitialized] the default constructor does not initialize field toFile + private File toFile; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:770: warning: [initialization.field.uninitialized] the default constructor does not initialize field key + private String key; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ant\CheckstyleAntTask.java:772: warning: [initialization.field.uninitialized] the default constructor does not initialize field value + private String value; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportOrderCheck.java:631: warning: [initialization.field.uninitialized] the default constructor does not initialize field lastImport + private String lastImport; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpCheck.java:509: warning: [initialization.field.uninitialized] the default constructor does not initialize field message + private String message; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpCheck.java:541: warning: [initialization.field.uninitialized] the default constructor does not initialize field matcher + private Matcher matcher; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\modifier\ModifierOrderCheck.java:206: warning: [return] incompatible types in return. + + return offendingModifier; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpMultilineCheck.java:261: warning: [initialization.field.uninitialized] the default constructor does not initialize field message + private String message; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpMultilineCheck.java:272: warning: [initialization.field.uninitialized] the default constructor does not initialize field detector + private MultilineDetector detector; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:383: warning: [initialization.field.uninitialized] the default constructor does not initialize field messageFormat + private String messageFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:387: warning: [initialization.field.uninitialized] the default constructor does not initialize field idFormat + private String idFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:422: warning: [return] incompatible types in return. + + return fileContentsReference.get(); + ^ + type of expression: @Initialized @Nullable FileContents + + method return type: @Initialized @NonNull FileContents +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:527: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable Tag + + method return type: @Initialized @NonNull Tag +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:576: warning: [argument] incompatible argument for parameter text of addTag. + + addTag(offMatcher.group(0), line, column, TagType.OFF); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:581: warning: [argument] incompatible argument for parameter text of addTag. + + addTag(onMatcher.group(0), line, column, TagType.ON); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:661: warning: [assignment] incompatible types in assignment. + + tagMessageRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:670: warning: [assignment] incompatible types in assignment. + + tagIdRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:744: warning: [override.param] Incompatible parameter type for other. + + public boolean equals(Object other) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull Tag + + @Initialized @NonNull boolean equals(@Initialized @NonNull Tag this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:497: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (getFileContents() != currentContents) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionCommentFilter.java:497: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (getFileContents() != currentContents) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\ReturnCountCheck.java:314: warning: [initialization.field.uninitialized] the default constructor does not initialize field context + private Context context; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\ReturnCountCheck.java:475: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: maxAllowed + private Context(boolean checking) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\MissingJavadocMethodCheck.java:279: warning: [initialization.field.uninitialized] the default constructor does not initialize field excludeScope + private Scope excludeScope; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\MissingJavadocMethodCheck.java:291: warning: [initialization.field.uninitialized] the default constructor does not initialize field ignoreMethodNamesRegex + private Pattern ignoreMethodNamesRegex; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\MissingJavadocMethodCheck.java:397: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (lcurly.getFirstChild() == rcurly) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\MissingJavadocMethodCheck.java:397: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (lcurly.getFirstChild() == rcurly) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\LocalizedMessage.java:76: warning: [assignment] incompatible types in assignment. + + this.args = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Object @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\LocalizedMessage.java:132: warning: [argument] incompatible argument for parameter loader of getBundle. + + return ResourceBundle.getBundle(bundle, sLocale, sourceClass.getClassLoader(), + ^ + found : @Initialized @Nullable ClassLoader + + required: @Initialized @NonNull ClassLoader +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\LocalizedMessage.java:163: warning: [return] incompatible types in return. + + return resourceBundle; + ^ + type of expression: @Initialized @Nullable ResourceBundle + + method return type: @Initialized @NonNull ResourceBundle +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\DesignForExtensionCheck.java:406: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (curNode == token) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\DesignForExtensionCheck.java:406: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (curNode == token) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\DesignForExtensionCheck.java:459: warning: [not.interned] attempting to use a non-@Interned comparison operand + return currentNode != methodImplCloseBrace + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\DesignForExtensionCheck.java:459: warning: [not.interned] attempting to use a non-@Interned comparison operand + return currentNode != methodImplCloseBrace + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\SlistHandler.java:108: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\WriteTagCheck.java:208: warning: [initialization.field.uninitialized] the default constructor does not initialize field tagRegExp + private Pattern tagRegExp; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\WriteTagCheck.java:210: warning: [initialization.field.uninitialized] the default constructor does not initialize field tagFormat + private Pattern tagFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\WriteTagCheck.java:213: warning: [initialization.field.uninitialized] the default constructor does not initialize field tag + private String tag; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:165: warning: [dereference.of.nullable] dereference of possibly-null reference Main.class.getPackage() + return "Checkstyle version: " + Main.class.getPackage().getImplementationVersion(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:328: warning: [dereference.of.nullable] dereference of possibly-null reference parentLogger + parentLogger.addHandler(handler); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:334: warning: [dereference.of.nullable] dereference of possibly-null reference Main.class.getPackage() + + Main.class.getPackage().getImplementationVersion()); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:387: warning: [argument] incompatible argument for parameter moduleClassLoader of getRootModule. + + final RootModule rootModule = getRootModule(config.getName(), moduleClassLoader); + ^ + found : @Initialized @Nullable ClassLoader + + required: @Initialized @NonNull ClassLoader +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:463: warning: [dereference.of.nullable] dereference of possibly-null reference Checker.class.getPackage() + Checker.class.getPackage().getName(), moduleClassLoader); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:484: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable Configuration + + method return type: @Initialized @NonNull Configuration +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:596: warning: [dereference.of.nullable] dereference of possibly-null reference Main.class.getPackage() + private final String packageName = Main.class.getPackage().getName(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:606: warning: [dereference.of.nullable] dereference of possibly-null reference logRecord.getLoggerName() + return logRecord.getLoggerName().startsWith(packageName); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:661: warning: [initialization.field.uninitialized] the default constructor does not initialize field files + private List files; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:667: warning: [initialization.field.uninitialized] the default constructor does not initialize field configurationFile + private String configurationFile; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:671: warning: [initialization.field.uninitialized] the default constructor does not initialize field outputPath + private Path outputPath; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:675: warning: [initialization.field.uninitialized] the default constructor does not initialize field propertiesFile + private File propertiesFile; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:688: warning: [initialization.field.uninitialized] the default constructor does not initialize field suppressionLineColumnNumber + private String suppressionLineColumnNumber; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Main.java:795: warning: [initialization.field.uninitialized] the default constructor does not initialize field xpath + private String xpath; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\ObjectBlockHandler.java:46: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\metrics\AbstractClassCouplingCheck.java:120: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: packageName + protected AbstractClassCouplingCheck(int defaultMax) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\metrics\AbstractClassCouplingCheck.java:190: warning: [argument] incompatible argument for parameter ast of ClassContext. + + classesContexts.push(new ClassContext("", null)); + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\metrics\AbstractClassCouplingCheck.java:295: warning: [dereference.of.nullable] dereference of possibly-null reference classesContexts.peek() + classesContexts.peek().visitType(ast); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\metrics\AbstractClassCouplingCheck.java:304: warning: [dereference.of.nullable] dereference of possibly-null reference classesContexts.peek() + classesContexts.peek().visitLiteralNew(ast); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\metrics\AbstractClassCouplingCheck.java:313: warning: [dereference.of.nullable] dereference of possibly-null reference classesContexts.peek() + classesContexts.peek().visitLiteralThrows(ast); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\metrics\AbstractClassCouplingCheck.java:324: warning: [dereference.of.nullable] dereference of possibly-null reference classesContexts.peek() + classesContexts.peek().addReferencedClassName(type.getText()); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\UniquePropertiesCheck.java:130: warning: [method.invocation] call to setFileExtensions(java.lang.String...) not allowed on the given receiver. + + setFileExtensions("properties"); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.UniquePropertiesCheck.class) @NonNull AbstractFileSetCheck + + required: @Initialized @NonNull AbstractFileSetCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\UniquePropertiesCheck.java:141: warning: [argument] incompatible argument for parameter args of log. + + ex.getLocalizedMessage()); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlLoader.java:176: warning: [argument] incompatible argument for parameter parent of PkgImportControl. + + final AbstractImportControl importControl = new PkgImportControl(parentImportControl, + ^ + found : @Initialized @Nullable PkgImportControl + + required: @Initialized @NonNull PkgImportControl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlLoader.java:178: warning: [dereference.of.nullable] dereference of possibly-null reference parentImportControl + parentImportControl.addChild(importControl); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlLoader.java:185: warning: [argument] incompatible argument for parameter parent of FileImportControl. + + final AbstractImportControl importControl = new FileImportControl(parentImportControl, + ^ + found : @Initialized @Nullable PkgImportControl + + required: @Initialized @NonNull PkgImportControl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlLoader.java:187: warning: [dereference.of.nullable] dereference of possibly-null reference parentImportControl + parentImportControl.addChild(importControl); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlLoader.java:192: warning: [dereference.of.nullable] dereference of possibly-null reference stack.peek() + stack.peek().addImportRule(rule); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\ImportControlLoader.java:308: warning: [return] incompatible types in return. + + return (PkgImportControl) stack.peek(); + ^ + type of expression: @Initialized @Nullable PkgImportControl + + method return type: @Initialized @NonNull PkgImportControl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\XmlLoader.java:69: warning: [argument] incompatible argument for parameter handler of createXmlReader. + + parser = createXmlReader(this); + ^ + found : @UnderInitialization(org.xml.sax.helpers.DefaultHandler.class) @NonNull XmlLoader + + required: @Initialized @NonNull DefaultHandler +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\XmlLoader.java:85: warning: [override.param] Incompatible parameter type for publicId. + + public InputSource resolveEntity(String publicId, String systemId) + ^ + found : @Initialized @NonNull String + + required: @Initialized @Nullable String + + Consequence: method in @Initialized @NonNull XmlLoader + + @Initialized @NonNull InputSource resolveEntity(@Initialized @NonNull XmlLoader this, @Initialized @NonNull String p0, @Initialized @NonNull String p1) throws @Initialized @NonNull SAXException@Initialized @NonNull IOException + + cannot override method in @Initialized @NonNull EntityResolver + + @Initialized @Nullable InputSource resolveEntity(@Initialized @NonNull EntityResolver this, @Initialized @Nullable String p0, @Initialized @NonNull String p1) throws @Initialized @NonNull SAXException@Initialized @NonNull IOException +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\XmlLoader.java:102: warning: [dereference.of.nullable] dereference of possibly-null reference loader + loader.getResourceAsStream(dtdResourceName); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\XmlLoader.java:104: warning: [argument] incompatible argument for parameter byteStream of InputSource. + + inputSource = new InputSource(dtdIs); + ^ + found : @Initialized @Nullable InputStream + + required: @Initialized @NonNull InputStream +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\IntMatchFilterElement.java:55: warning: [override.param] Incompatible parameter type for object. + + public final boolean equals(Object object) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull IntMatchFilterElement + + @Initialized @NonNull boolean equals(@Initialized @NonNull IntMatchFilterElement this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:302: warning: [dereference.of.nullable] dereference of possibly-null reference currentScopeAssignedVariables.peek() + currentScopeAssignedVariables.peek().add(ast); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:308: warning: [dereference.of.nullable] dereference of possibly-null reference scopeStack.peek() + scopeStack.peek().containsBreak = true; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:338: warning: [argument] incompatible argument for parameter prevScopeUninitializedVariableData of updateAllUninitializedVariables. + + updateAllUninitializedVariables(prevScopeUninitializedVariableData); + ^ + found : @Initialized @Nullable Deque<@Initialized @NonNull DetailAST> + + required: @Initialized @NonNull Deque<@Initialized @NonNull DetailAST> +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:347: warning: [dereference.of.nullable] dereference of possibly-null reference scopeStack.peek() + containsBreak = scopeStack.peek().containsBreak; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:352: warning: [argument] incompatible argument for parameter prevScopeUninitializedVariableData of updateAllUninitializedVariables. + + updateAllUninitializedVariables(prevScopeUninitializedVariableData); + ^ + found : @Initialized @Nullable Deque<@Initialized @NonNull DetailAST> + + required: @Initialized @NonNull Deque<@Initialized @NonNull DetailAST> +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:448: warning: [dereference.of.nullable] dereference of possibly-null reference scopeData + scopeData.uninitializedVariables.forEach(prevScopeUninitializedVariableData::push); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:478: warning: [dereference.of.nullable] dereference of possibly-null reference currentScopeAssignedVariables.peek() + final Iterator iterator = currentScopeAssignedVariables.peek().iterator(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:550: warning: [return] incompatible types in return. + + return returnValue; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:570: warning: [dereference.of.nullable] dereference of possibly-null reference scopeStack.peek() + final Map scope = scopeStack.peek().scope; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:581: warning: [dereference.of.nullable] dereference of possibly-null reference scopeStack.peek() + final Map scope = scopeStack.peek().scope; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:588: warning: [dereference.of.nullable] dereference of possibly-null reference scopeStack.peek() + scopeStack.peek().uninitializedVariables.add(astNode); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:666: warning: [dereference.of.nullable] dereference of possibly-null reference candidate + shouldRemove = candidate.alreadyAssigned; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:270: warning: [not.interned] attempting to use a non-@Interned comparison operand + || ast.getParent().getParent().findFirstToken(TokenTypes.CASE_GROUP) + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:271: warning: [not.interned] attempting to use a non-@Interned comparison operand + == ast.getParent()) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:346: warning: [not.interned] attempting to use a non-@Interned comparison operand + || findLastCaseGroupWhichContainsSlist(parentAst.getParent()) == parentAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:346: warning: [not.interned] attempting to use a non-@Interned comparison operand + || findLastCaseGroupWhichContainsSlist(parentAst.getParent()) == parentAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:527: warning: [not.interned] attempting to use a non-@Interned comparison operand + result = findLastCaseGroupWhichContainsSlist(ast.getParent()) != ast; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:527: warning: [not.interned] attempting to use a non-@Interned comparison operand + result = findLastCaseGroupWhichContainsSlist(ast.getParent()) != ast; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:664: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (currAstLoopAstParent == currVarLoopAstParent) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:664: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (currAstLoopAstParent == currVarLoopAstParent) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:778: warning: [not.interned] attempting to use a non-@Interned comparison operand + return classOrMethodOfAst1 == classOrMethodOfAst2 && ast1.getText().equals(ast2.getText()); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\FinalLocalVariableCheck.java:778: warning: [not.interned] attempting to use a non-@Interned comparison operand + return classOrMethodOfAst1 == classOrMethodOfAst2 && ast1.getText().equals(ast2.getText()); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocStyleCheck.java:350: warning: [initialization.field.uninitialized] the default constructor does not initialize field excludeScope + private Scope excludeScope; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\DescendantIterator.java:68: warning: [assignment] incompatible types in assignment. + + descendantEnum = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull AxisIterator +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\DescendantIterator.java:85: warning: [dereference.of.nullable] dereference of possibly-null reference queue.poll() + descendantEnum = queue.poll().iterateAxis(AxisInfo.CHILD); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\DescendantIterator.java:90: warning: [assignment] incompatible types in assignment. + + descendantEnum = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull AxisIterator +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\DescendantIterator.java:98: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable NodeInfo + + method return type: @Initialized @NonNull NodeInfo +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filefilters\BeforeExecutionExclusionFileFilter.java:96: warning: [initialization.field.uninitialized] the default constructor does not initialize field fileNamePattern + private Pattern fileNamePattern; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\RedundantImportCheck.java:112: warning: [initialization.field.uninitialized] the default constructor does not initialize field pkgName + private String pkgName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\RedundantImportCheck.java:116: warning: [assignment] incompatible types in assignment. + + pkgName = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\CheckUtil.java:508: warning: [return] incompatible types in return. + + return returnValue; + ^ + type of expression: @Initialized @Nullable AccessModifierOption + + method return type: @Initialized @NonNull AccessModifierOption +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\OneTopLevelClassCheck.java:151: warning: [argument] incompatible argument for parameter typeDef of isPublic. + + if (publicTypeFound && !isPublic(firstType)) { + ^ + found : @Initialized @Nullable DetailAST + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\ScopeUtil.java:63: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable Scope + + method return type: @Initialized @NonNull Scope +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\ScopeUtil.java:151: warning: [return] incompatible types in return. + + return returnValue; + ^ + type of expression: @Initialized @Nullable Scope + + method return type: @Initialized @NonNull Scope +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\ScopeUtil.java:88: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + .orElseGet(() -> getDefaultScope(aMods.getParent())); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:91: warning: [assignment] incompatible types in assignment. + + fileRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:98: warning: [assignment] incompatible types in assignment. + + checkRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:105: warning: [assignment] incompatible types in assignment. + + messageRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:113: warning: [assignment] incompatible types in assignment. + + lineFilter = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull CsvFilterElement +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:120: warning: [assignment] incompatible types in assignment. + + columnFilter = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull CsvFilterElement +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:140: warning: [assignment] incompatible types in assignment. + + filePattern = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:141: warning: [assignment] incompatible types in assignment. + + fileRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:148: warning: [assignment] incompatible types in assignment. + + checkPattern = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:149: warning: [assignment] incompatible types in assignment. + + checkRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:156: warning: [assignment] incompatible types in assignment. + + messagePattern = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:157: warning: [assignment] incompatible types in assignment. + + messageRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:165: warning: [assignment] incompatible types in assignment. + + linesCsv = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:166: warning: [assignment] incompatible types in assignment. + + lineFilter = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull CsvFilterElement +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:173: warning: [assignment] incompatible types in assignment. + + columnsCsv = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:174: warning: [assignment] incompatible types in assignment. + + columnFilter = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull CsvFilterElement +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressFilterElement.java:232: warning: [override.param] Incompatible parameter type for other. + + public boolean equals(Object other) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull SuppressFilterElement + + @Initialized @NonNull boolean equals(@Initialized @NonNull SuppressFilterElement this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\MetadataGeneratorUtil.java:63: warning: [argument] incompatible argument for parameter moduleClassLoader of setModuleClassLoader. + + checker.setModuleClassLoader(Checker.class.getClassLoader()); + ^ + found : @Initialized @Nullable ClassLoader + + required: @Initialized @NonNull ClassLoader +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\MagicNumberCheck.java:443: warning: [return] incompatible types in return. + + return constantDef; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\MagicNumberCheck.java:401: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (astNode != constantDefAST) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\MagicNumberCheck.java:401: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (astNode != constantDefAST) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\ReverseDescendantIterator.java:51: warning: [method.invocation] call to pushToStack(net.sf.saxon.tree.iter.AxisIterator) not allowed on the given receiver. + + pushToStack(start.iterateAxis(AxisInfo.CHILD)); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.xpath.iterators.ReverseDescendantIterator.class) @NonNull ReverseDescendantIterator + + required: @Initialized @NonNull ReverseDescendantIterator +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\ReverseDescendantIterator.java:80: warning: [dereference.of.nullable] dereference of possibly-null reference queue.poll() + pushToStack(queue.poll().iterateAxis(AxisInfo.CHILD)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\ReverseDescendantIterator.java:90: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable NodeInfo + + method return type: @Initialized @NonNull NodeInfo +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PropertyCacheFile.java:102: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: configHash + public PropertyCacheFile(Configuration config, String fileName) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PropertyCacheFile.java:192: warning: [return] incompatible types in return. + + return details.getProperty(name); + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\PropertyCacheFile.java:347: warning: [dereference.of.nullable] dereference of possibly-null reference cachedHashSum + if (!cachedHashSum.equals(contentHashSum)) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\ListToTreeSelectionModelWrapper.java:49: warning: [method.invocation] call to getListSelectionModel() not allowed on the given receiver. + + getListSelectionModel().addListSelectionListener(event -> { + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.gui.ListToTreeSelectionModelWrapper.class) @NonNull ListToTreeSelectionModelWrapper + + required: @Initialized @NonNull ListToTreeSelectionModelWrapper +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\gui\ListToTreeSelectionModelWrapper.java:50: warning: [method.invocation] call to updateSelectedPathsFromSelectedRows() not allowed on the given receiver. + + updateSelectedPathsFromSelectedRows(); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.gui.ListToTreeSelectionModelWrapper.class) @NonNull ListToTreeSelectionModelWrapper + + required: @Initialized @NonNull ListToTreeSelectionModelWrapper +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\SuppressWarningsHolder.java:170: warning: [type.argument] incompatible type argument for type parameter T of ThreadLocal. + + private static final ThreadLocal> ENTRIES = + ^ + found : @Initialized @NonNull List<@Initialized @NonNull Entry> + + required: [extends @Initialized @Nullable Object super null (NullType)] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\IllegalImportCheck.java:319: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: illegalPkgs, illegalClasses + public IllegalImportCheck() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\IllegalImportCheck.java:320: warning: [method.invocation] call to setIllegalPkgs(java.lang.String...) not allowed on the given receiver. + + setIllegalPkgs("sun"); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.api.AbstractCheck.class) @NonNull IllegalImportCheck + + required: @Initialized @NonNull IllegalImportCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\ParameterAssignmentCheck.java:113: warning: [initialization.field.uninitialized] the default constructor does not initialize field parameterNames + private Set parameterNames; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\XpathFileGeneratorAstFilter.java:66: warning: [return] incompatible types in return. + + return MESSAGE_QUERY_MAP.get(event.getViolation()); + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:342: warning: [initialization.field.uninitialized] the default constructor does not initialize field messageFormat + private String messageFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:346: warning: [initialization.field.uninitialized] the default constructor does not initialize field idFormat + private String idFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:432: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable FileText + + method return type: @Initialized @NonNull FileText +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:464: warning: [argument] incompatible argument for parameter text of Suppression. + + suppression = new Suppression(onCommentMatcher.group(0), + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:468: warning: [argument] incompatible argument for parameter text of Suppression. + + suppression = new Suppression(offCommentMatcher.group(0), + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:491: warning: [return] incompatible types in return. + + .orElse(null); + ^ + type of expression: @Initialized @Nullable Suppression + + method return type: @Initialized @NonNull Suppression +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:561: warning: [assignment] incompatible types in assignment. + + eventMessageRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:569: warning: [assignment] incompatible types in assignment. + + eventIdRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithPlainTextCommentFilter.java:591: warning: [override.param] Incompatible parameter type for other. + + public boolean equals(Object other) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull Suppression + + @Initialized @NonNull boolean equals(@Initialized @NonNull Suppression this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\utils\BlockTagUtil.java:90: warning: [argument] incompatible argument for parameter name of TagInfo. + + tags.add(new TagInfo(tagName, tagValue, position)); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\DefaultComesLastCheck.java:225: warning: [return] incompatible types in return. + + return token; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\naming\AbbreviationAsWordInNameCheck.java:599: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\naming\AbbreviationAsWordInNameCheck.java:621: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\XpathQueryGenerator.java:157: warning: [return] incompatible types in return. + + XpathUtil::supportsTextAttribute).orElse(null); + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\XpathQueryGenerator.java:183: warning: [argument] incompatible argument for parameter root of getXpathQuery. + + final StringBuilder xpathQueryBuilder = new StringBuilder(getXpathQuery(null, ast)); + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\XpathQueryGenerator.java:261: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (cur != root) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\XpathQueryGenerator.java:261: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (cur != root) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\XpathQueryGenerator.java:272: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (child != null && child != ast) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\XpathQueryGenerator.java:272: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (child != null && child != ast) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\SwitchHandler.java:60: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\SwitchHandler.java:65: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DefaultConfiguration.java:92: warning: [return] incompatible types in return. + + return keySet.toArray(CommonUtil.EMPTY_STRING_ARRAY); + ^ + type of expression: @Initialized @Nullable String @Initialized @NonNull [] + + method return type: @Initialized @NonNull String @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DefaultConfiguration.java:92: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + return keySet.toArray(CommonUtil.EMPTY_STRING_ARRAY); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DefaultConfiguration.java:106: warning: [return] incompatible types in return. + + return children.toArray( + ^ + type of expression: @Initialized @Nullable Configuration @Initialized @NonNull [] + + method return type: @Initialized @NonNull Configuration @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DefaultConfiguration.java:106: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + return children.toArray( + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\AttributeNode.java:48: warning: [argument] incompatible argument for parameter treeInfo of AbstractNode. + + super(null); + ^ + found : null (NullType) + + required: @Initialized @NonNull TreeInfo +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\DescendantTokenCheck.java:352: warning: [initialization.field.uninitialized] the default constructor does not initialize field minimumMessage + private String minimumMessage; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\DescendantTokenCheck.java:354: warning: [initialization.field.uninitialized] the default constructor does not initialize field maximumMessage + private String maximumMessage; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\FinalClassCheck.java:115: warning: [initialization.field.uninitialized] the default constructor does not initialize field innerClasses + private Map innerClasses; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\FinalClassCheck.java:121: warning: [initialization.field.uninitialized] the default constructor does not initialize field anonInnerClassToOuterTypeDecl + private Map anonInnerClassToOuterTypeDecl; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\FinalClassCheck.java:124: warning: [initialization.field.uninitialized] the default constructor does not initialize field typeDeclarations + private Deque typeDeclarations; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\FinalClassCheck.java:127: warning: [initialization.field.uninitialized] the default constructor does not initialize field packageName + private String packageName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\FinalClassCheck.java:189: warning: [dereference.of.nullable] dereference of possibly-null reference typeDeclarations.peek() + .put(ast, typeDeclarations.peek().getQualifiedName()); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\FinalClassCheck.java:364: warning: [dereference.of.nullable] dereference of possibly-null reference typeDeclarations.peek() + outerTypeDeclarationQualifiedName = typeDeclarations.peek().getQualifiedName(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\FinalClassCheck.java:367: warning: [argument] incompatible argument for parameter outerClassQualifiedName of getQualifiedTypeDeclarationName. + + outerTypeDeclarationQualifiedName, + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\design\FinalClassCheck.java:383: warning: [return] incompatible types in return. + + return superClassName; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\blocks\RightCurlyCheck.java:635: warning: [argument] incompatible argument for parameter rcurly of Details. + + return new Details(lcurly, rcurly, nextToken, shouldCheckLastRcurly); + ^ + found : @Initialized @Nullable DetailAST + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\blocks\RightCurlyCheck.java:661: warning: [argument] incompatible argument for parameter rcurly of Details. + + return new Details(lcurly, rcurly, getNextToken(ast), true); + ^ + found : @Initialized @Nullable DetailAST + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\blocks\RightCurlyCheck.java:704: warning: [argument] incompatible argument for parameter rcurly of Details. + + return new Details(lcurly, rcurly, nextToken, shouldCheckLastRcurly); + ^ + found : @Initialized @Nullable DetailAST + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\blocks\RightCurlyCheck.java:720: warning: [return] incompatible types in return. + + return next; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\utils\InlineTagUtil.java:86: warning: [argument] incompatible argument for parameter source of removeLeadingJavaDoc. + + matchedTagValue = removeLeadingJavaDoc(matchedTagValue); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\utils\InlineTagUtil.java:96: warning: [argument] incompatible argument for parameter name of TagInfo. + + tags.add(new TagInfo(tagName, tagValue, position)); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnnecessaryParenthesesCheck.java:372: warning: [initialization.field.uninitialized] the default constructor does not initialize field parentToSkip + private DetailAST parentToSkip; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnnecessaryParenthesesCheck.java:595: warning: [assignment] incompatible types in assignment. + + parentToSkip = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnnecessaryParenthesesCheck.java:583: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (parentToSkip != ast && isExprSurrounded(ast)) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\UnnecessaryParenthesesCheck.java:583: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (parentToSkip != ast && isExprSurrounded(ast)) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\FileImportControl.java:54: warning: [assignment] incompatible types in assignment. + + patternForExactMatch = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\FileImportControl.java:86: warning: [return] incompatible types in return. + + return finestMatch; + ^ + type of expression: @Initialized @Nullable AbstractImportControl + + method return type: @Initialized @NonNull AbstractImportControl +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Checker.java:140: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: basedir, moduleFactory, moduleClassLoader, childContext, cacheFile + public Checker() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Checker.java:141: warning: [method.invocation] call to addListener(com.puppycrawl.tools.checkstyle.api.AuditListener) not allowed on the given receiver. + + addListener(counter); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.api.AutomaticBean.class) @NonNull Checker + + required: @Initialized @NonNull Checker +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Checker.java:342: warning: [argument] incompatible argument for parameter args of Violation. + + new String[] {ioe.getMessage()}, null, getClass(), null)); + ^ + found : @Initialized @Nullable String @Initialized @NonNull [] + + required: @Initialized @NonNull Object @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Checker.java:342: warning: [argument] incompatible argument for parameter moduleId of Violation. + + new String[] {ioe.getMessage()}, null, getClass(), null)); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Checker.java:342: warning: [argument] incompatible argument for parameter customMessage of Violation. + + new String[] {ioe.getMessage()}, null, getClass(), null)); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Checker.java:360: warning: [argument] incompatible argument for parameter moduleId of Violation. + + null, getClass(), null)); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Checker.java:360: warning: [argument] incompatible argument for parameter customMessage of Violation. + + null, getClass(), null)); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\Checker.java:549: warning: [assignment] incompatible types in assignment. + + fileExtensions = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\CommonUtil.java:412: warning: [return] incompatible types in return. + + return uri; + ^ + type of expression: @Initialized @Nullable URI + + method return type: @Initialized @NonNull URI +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\CommonUtil.java:485: warning: [return] incompatible types in return. + + return CommonUtil.class.getResource(name); + ^ + type of expression: @Initialized @Nullable URL + + method return type: @Initialized @NonNull URL +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\CommonUtil.java:504: warning: [argument] incompatible argument for parameter replacement of replaceAll. + + result = result.replaceAll("\\$" + i, matcher.group(i)); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocVariableCheck.java:190: warning: [initialization.field.uninitialized] the default constructor does not initialize field excludeScope + private Scope excludeScope; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocVariableCheck.java:193: warning: [initialization.field.uninitialized] the default constructor does not initialize field ignoreNamePattern + private Pattern ignoreNamePattern; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathFilter.java:514: warning: [initialization.field.uninitialized] the default constructor does not initialize field file + private String file; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionXpathFilter.java:545: warning: [override.param] Incompatible parameter type for obj. + + public boolean equals(Object obj) { + ^ + found : @Initialized @NonNull Object + + required: @Initialized @Nullable Object + + Consequence: method in @Initialized @NonNull SuppressionXpathFilter + + @Initialized @NonNull boolean equals(@Initialized @NonNull SuppressionXpathFilter this, @Initialized @NonNull Object p0) + + cannot override method in @Initialized @NonNull Object + + @Initialized @NonNull boolean equals(@Initialized @NonNull Object this, @Initialized @Nullable Object p0) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:362: warning: [initialization.field.uninitialized] the default constructor does not initialize field currentClassName + private String currentClassName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:629: warning: [argument] incompatible argument for parameter tag of JavadocTag. + + tags.add(new JavadocTag(currentLine, col, javadocArgMatcher.group(1), + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:630: warning: [argument] incompatible argument for parameter firstArg of JavadocTag. + + javadocArgMatcher.group(2))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:636: warning: [argument] incompatible argument for parameter tag of JavadocTag. + + javadocArgMissingDescriptionMatcher.group(1), + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:637: warning: [argument] incompatible argument for parameter firstArg of JavadocTag. + + javadocArgMissingDescriptionMatcher.group(2))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:641: warning: [argument] incompatible argument for parameter tag of JavadocTag. + + tags.add(new JavadocTag(currentLine, col, javadocNoargMatcher.group(1))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:645: warning: [argument] incompatible argument for parameter tag of JavadocTag. + + tags.add(new JavadocTag(currentLine, col, noargCurlyMatcher.group(1))); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:697: warning: [argument] incompatible argument for parameter tag of JavadocTag. + + tags.add(new JavadocTag(tagLine, col, param1)); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:812: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (ancestor != methodBodyAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:812: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (ancestor != methodBodyAst) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:829: warning: [not.interned] attempting to use a non-@Interned comparison operand + return ancestor != methodBodyAst; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:829: warning: [not.interned] attempting to use a non-@Interned comparison operand + return ancestor != methodBodyAst; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:873: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (curNode != root && curNode.getNextSibling() == null) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:873: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (curNode != root && curNode.getNextSibling() == null) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:877: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (curNode != root) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:877: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (curNode != root) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:880: warning: [not.interned] attempting to use a non-@Interned comparison operand + } while (curNode != root); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocMethodCheck.java:880: warning: [not.interned] attempting to use a non-@Interned comparison operand + } while (curNode != root); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\ReverseListIterator.java:49: warning: [assignment] incompatible types in assignment. + + this.items = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull List +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\iterators\ReverseListIterator.java:73: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable NodeInfo + + method return type: @Initialized @NonNull NodeInfo +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\OverloadMethodsDeclarationOrderCheck.java:141: warning: [unboxing.of.nullable] unboxing a possibly-null reference methodLineNumberMap.get(methodName) + methodLineNumberMap.get(methodName); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:54: warning: [argument] incompatible argument for parameter name of AttributeNode. + + private static final AttributeNode ATTRIBUTE_NODE_UNINITIALIZED = new AttributeNode(null, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:54: warning: [argument] incompatible argument for parameter value of AttributeNode. + + private static final AttributeNode ATTRIBUTE_NODE_UNINITIALIZED = new AttributeNode(null, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:183: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:254: warning: [argument] incompatible argument for parameter nodes of OfNodes. + + getChildren().toArray(EMPTY_ABSTRACT_NODE_ARRAY)); + ^ + found : @Initialized @Nullable AbstractNode @Initialized @NonNull [] + + required: @Initialized @NonNull AbstractNode @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:254: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + getChildren().toArray(EMPTY_ABSTRACT_NODE_ARRAY)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:374: warning: [argument] incompatible argument for parameter nodes of OfNodes. + + getFollowingSiblings().toArray(EMPTY_ABSTRACT_NODE_ARRAY)); + ^ + found : @Initialized @Nullable AbstractNode @Initialized @NonNull [] + + required: @Initialized @NonNull AbstractNode @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:374: warning: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor + getFollowingSiblings().toArray(EMPTY_ABSTRACT_NODE_ARRAY)); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:413: warning: [assignment] incompatible types in assignment. + + attributeNode = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull AttributeNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:407: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (attributeNode == ATTRIBUTE_NODE_UNINITIALIZED) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\xpath\ElementNode.java:407: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (attributeNode == ATTRIBUTE_NODE_UNINITIALIZED) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\annotation\MissingOverrideCheck.java:266: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + .orElse(modifiers); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\sizes\ExecutableStatementCountCheck.java:112: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: context + public ExecutableStatementCountCheck() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\sizes\ExecutableStatementCountCheck.java:158: warning: [argument] incompatible argument for parameter ast of Context. + + context = new Context(null); + ^ + found : null (NullType) + + required: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\sizes\ExecutableStatementCountCheck.java:219: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (parent == contextAST) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\sizes\ExecutableStatementCountCheck.java:219: warning: [not.interned] attempting to use a non-@Interned comparison operand + if (parent == contextAST) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\MultipleStringLiteralsCheck.java:222: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: ignoreStringsRegexp + public MultipleStringLiteralsCheck() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\MultipleStringLiteralsCheck.java:223: warning: [method.invocation] call to setIgnoreStringsRegexp(java.util.regex.Pattern) not allowed on the given receiver. + + setIgnoreStringsRegexp(Pattern.compile("^\"\"$")); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.api.AbstractCheck.class) @NonNull MultipleStringLiteralsCheck + + required: @Initialized @NonNull MultipleStringLiteralsCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\MultipleStringLiteralsCheck.java:246: warning: [assignment] incompatible types in assignment. + + this.ignoreStringsRegexp = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull Pattern +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\MissingJavadocTypeCheck.java:196: warning: [initialization.field.uninitialized] the default constructor does not initialize field excludeScope + private Scope excludeScope; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\whitespace\SingleSpaceSeparatorCheck.java:202: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (currentNode.getNextSibling() == null && currentNode.getParent() != parent) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\whitespace\SingleSpaceSeparatorCheck.java:202: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (currentNode.getNextSibling() == null && currentNode.getParent() != parent) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\OrderedPropertiesCheck.java:119: warning: [method.invocation] call to setFileExtensions(java.lang.String...) not allowed on the given receiver. + + setFileExtensions("properties"); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.OrderedPropertiesCheck.class) @NonNull AbstractFileSetCheck + + required: @Initialized @NonNull AbstractFileSetCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\OrderedPropertiesCheck.java:135: warning: [argument] incompatible argument for parameter args of log. + + log(1, MSG_IO_EXCEPTION_KEY, file.getPath(), ex.getLocalizedMessage()); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\OrderedPropertiesCheck.java:234: warning: [override.return] Incompatible return type. + + public Enumeration keys() { + ^ + found : Enumeration + + required: Enumeration<@KeyFor("this") Object> + + Consequence: method in SequencedProperties + + Enumeration keys(SequencedProperties this) + + cannot override method in Hashtable + + Enumeration<@KeyFor("this") Object> keys(Hashtable this) +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\IllegalInstantiationCheck.java:176: warning: [initialization.field.uninitialized] the default constructor does not initialize field pkgName + private String pkgName; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\IllegalInstantiationCheck.java:200: warning: [assignment] incompatible types in assignment. + + pkgName = null; + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\IllegalInstantiationCheck.java:336: warning: [return] incompatible types in return. + + return fullClassName; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\IllegalInstantiationCheck.java:360: warning: [return] incompatible types in return. + + return illegalType; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\DefaultContext.java:39: warning: [return] incompatible types in return. + + return entries.get(key); + ^ + type of expression: @Initialized @Nullable Object + + method return type: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\sizes\MethodCountCheck.java:277: warning: [dereference.of.nullable] dereference of possibly-null reference counters.peek() + final DetailAST latestDefinition = counters.peek().getScopeDefinition(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\sizes\MethodCountCheck.java:294: warning: [dereference.of.nullable] dereference of possibly-null reference actualCounter + actualCounter.increment(scope); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\sizes\MethodCountCheck.java:279: warning: [not.interned] attempting to use a non-@Interned comparison operand + result = latestDefinition == methodDef.getParent().getParent(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\sizes\MethodCountCheck.java:279: warning: [not.interned] attempting to use a non-@Interned comparison operand + result = latestDefinition == methodDef.getParent().getParent(); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\SummaryJavadocCheck.java:315: warning: [argument] incompatible argument for parameter javadocInlineTag of isSummaryTag. + + && isSummaryTag(inlineTagNode) + ^ + found : @Initialized @Nullable DetailNode + + required: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\SummaryJavadocCheck.java:319: warning: [argument] incompatible argument for parameter javadocInlineTag of isInlineReturnTag. + + else if (inlineTag.isPresent() && isInlineReturnTag(inlineTagNode)) { + ^ + found : @Initialized @Nullable DetailNode + + required: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\SummaryJavadocCheck.java:455: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable DetailNode + + method return type: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ConfigurationLoader.java:429: warning: [argument] incompatible argument for parameter arg0 of add. + + fragments.add(null); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ConfigurationLoader.java:493: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: configuration + private InternalLoader() + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ConfigurationLoader.java:519: warning: [dereference.of.nullable] dereference of possibly-null reference top + top.addChild(conf); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ConfigurationLoader.java:544: warning: [dereference.of.nullable] dereference of possibly-null reference top + top.addProperty(name, value); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ConfigurationLoader.java:553: warning: [dereference.of.nullable] dereference of possibly-null reference top + top.addMessage(key, value); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\ConfigurationLoader.java:594: warning: [dereference.of.nullable] dereference of possibly-null reference parentModule + parentModule.removeChild(recentModule); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\ClassDefHandler.java:59: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\metrics\JavaNCSSCheck.java:251: warning: [initialization.field.uninitialized] the default constructor does not initialize field counters + private Deque counters; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocPropertiesGenerator.java:157: warning: [return] incompatible types in return. + + return objBlock; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocPropertiesGenerator.java:220: warning: [return] incompatible types in return. + + return firstSentence; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocPropertiesGenerator.java:256: warning: [return] incompatible types in return. + + return firstSentence; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocPropertiesGenerator.java:330: warning: [initialization.field.uninitialized] the default constructor does not initialize field outputFile + private File outputFile; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\JavadocPropertiesGenerator.java:336: warning: [initialization.field.uninitialized] the default constructor does not initialize field inputFile + private File inputFile; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionSingleFilter.java:204: warning: [initialization.field.uninitialized] the default constructor does not initialize field filter + private SuppressFilterElement filter; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionSingleFilter.java:208: warning: [initialization.field.uninitialized] the default constructor does not initialize field files + private Pattern files; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionSingleFilter.java:212: warning: [initialization.field.uninitialized] the default constructor does not initialize field checks + private Pattern checks; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionSingleFilter.java:217: warning: [initialization.field.uninitialized] the default constructor does not initialize field message + private Pattern message; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionSingleFilter.java:221: warning: [initialization.field.uninitialized] the default constructor does not initialize field id + private String id; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionSingleFilter.java:226: warning: [initialization.field.uninitialized] the default constructor does not initialize field lines + private String lines; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionSingleFilter.java:231: warning: [initialization.field.uninitialized] the default constructor does not initialize field columns + private String columns; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\HiddenFieldCheck.java:342: warning: [initialization.field.uninitialized] the default constructor does not initialize field frame + private FieldFrame frame; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\HiddenFieldCheck.java:345: warning: [initialization.field.uninitialized] the default constructor does not initialize field ignoreFormat + private Pattern ignoreFormat; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\HiddenFieldCheck.java:396: warning: [argument] incompatible argument for parameter parent of FieldFrame. + + frame = new FieldFrame(null, true, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull FieldFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\HiddenFieldCheck.java:396: warning: [argument] incompatible argument for parameter frameName of FieldFrame. + + frame = new FieldFrame(null, true, null); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\HiddenFieldCheck.java:462: warning: [argument] incompatible argument for parameter frameName of FieldFrame. + + final FieldFrame newFrame = new FieldFrame(frame, isStaticInnerType, frameName); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\TranslationCheck.java:286: warning: [method.invocation] call to setFileExtensions(java.lang.String...) not allowed on the given receiver. + + setFileExtensions("properties"); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.class) @NonNull AbstractFileSetCheck + + required: @Initialized @NonNull AbstractFileSetCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\TranslationCheck.java:374: warning: [argument] incompatible argument for parameter languageCode of getMissingFileName. + + getMissingFileName(bundle, null) + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\TranslationCheck.java:624: warning: [assignment] incompatible types in assignment. + + args = new String[] {exception.getMessage()}; + ^ + found : @Initialized @Nullable String @Initialized @NonNull [] + + required: @Initialized @NonNull String @UnknownInitialization @Nullable [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\TranslationCheck.java:632: warning: [argument] incompatible argument for parameter args of Violation. + + args, + ^ + found : @Initialized @NonNull String @Initialized @Nullable [] + + required: @Initialized @NonNull Object @Initialized @NonNull [] +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\TranslationCheck.java:634: warning: [argument] incompatible argument for parameter customMessage of Violation. + + getClass(), null); + ^ + found : null (NullType) + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\whitespace\TypecastParenPadCheck.java:140: warning: [not.interned] attempting to use a non-@Interned comparison operand + && ast.getParent().findFirstToken(TokenTypes.RPAREN) == ast) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\whitespace\TypecastParenPadCheck.java:140: warning: [not.interned] attempting to use a non-@Interned comparison operand + && ast.getParent().findFirstToken(TokenTypes.RPAREN) == ast) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\filters\SuppressionFilter.java:225: warning: [initialization.field.uninitialized] the default constructor does not initialize field file + private String file; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\EqualsAvoidNullCheck.java:133: warning: [initialization.field.uninitialized] the default constructor does not initialize field currentFrame + private FieldFrame currentFrame; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\EqualsAvoidNullCheck.java:183: warning: [argument] incompatible argument for parameter parent of FieldFrame. + + currentFrame = new FieldFrame(null); + ^ + found : null (NullType) + + required: @Initialized @NonNull FieldFrame +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\EqualsAvoidNullCheck.java:536: warning: [return] incompatible types in return. + + return fieldType; + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\EqualsAvoidNullCheck.java:579: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: frameName + private FieldFrame(FieldFrame parent) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\coding\EqualsAvoidNullCheck.java:673: warning: [return] incompatible types in return. + + return fieldNameToAst.get(name); + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\whitespace\ParenPadCheck.java:357: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (currentNode.getNextSibling() == null && currentNode.getParent() != ast) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\whitespace\ParenPadCheck.java:357: warning: [not.interned] attempting to use a non-@Interned comparison operand + while (currentNode.getNextSibling() == null && currentNode.getParent() != ast) { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\TrailingCommentCheck.java:217: warning: [initialization.field.uninitialized] the default constructor does not initialize field legalComment + private Pattern legalComment; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\AnnotationArrayInitHandler.java:57: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\JavadocMetadataScraper.java:124: warning: [initialization.field.uninitialized] the default constructor does not initialize field moduleDetails + private ModuleDetails moduleDetails; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\JavadocMetadataScraper.java:140: warning: [initialization.field.uninitialized] the default constructor does not initialize field rootNode + private DetailNode rootNode; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\JavadocMetadataScraper.java:354: warning: [argument] incompatible argument for parameter nodeTag of getTextFromTag. + + return getTextFromTag(tagNode); + ^ + found : @Initialized @Nullable DetailNode + + required: @Initialized @NonNull DetailNode +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\JavadocMetadataScraper.java:367: warning: [argument] incompatible argument for parameter arg0 of add. + + tokens.add(matcher.group(0)); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\JavadocMetadataScraper.java:564: warning: [return] incompatible types in return. + + .orElse(null); + ^ + type of expression: @Initialized @Nullable String + + method return type: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\JavadocMetadataScraper.java:304: warning: [method.invocation] call to orElseThrow(java.util.function.Supplier) not allowed on the given receiver. + + .orElseThrow(() -> { + ^ + found : @MaybePresent Optional + + required: @Present Optional +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\meta\JavadocMetadataScraper.java:328: warning: [method.invocation] call to orElseThrow(java.util.function.Supplier) not allowed on the given receiver. + + .orElseThrow(() -> { + ^ + found : @MaybePresent Optional + + required: @Present Optional +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\SuppressionsStringPrinter.java:80: warning: [argument] incompatible argument for parameter s of parseInt. + + final int lineNumber = Integer.parseInt(matcher.group(1)); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\SuppressionsStringPrinter.java:81: warning: [argument] incompatible argument for parameter s of parseInt. + + final int columnNumber = Integer.parseInt(matcher.group(2)); + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\blocks\LeftCurlyCheck.java:419: warning: [return] incompatible types in return. + + return brace; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\utils\AnnotationUtil.java:267: warning: [return] incompatible types in return. + + return result; + ^ + type of expression: @Initialized @Nullable DetailAST + + method return type: @Initialized @NonNull DetailAST +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocBlockTagLocationCheck.java:190: warning: [initialization.fields.uninitialized] the constructor does not initialize fields: tags + public JavadocBlockTagLocationCheck() { + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocBlockTagLocationCheck.java:191: warning: [method.invocation] call to setTags(java.lang.String...) not allowed on the given receiver. + + setTags(DEFAULT_TAGS); + ^ + found : @UnderInitialization(com.puppycrawl.tools.checkstyle.checks.javadoc.AbstractJavadocCheck.class) @NonNull JavadocBlockTagLocationCheck + + required: @Initialized @NonNull JavadocBlockTagLocationCheck +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\javadoc\JavadocBlockTagLocationCheck.java:236: warning: [argument] incompatible argument for parameter arg0 of contains. + + if (tags.contains(tagName)) { + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull Object +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpSinglelineCheck.java:206: warning: [initialization.field.uninitialized] the default constructor does not initialize field message + private String message; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\regexp\RegexpSinglelineCheck.java:215: warning: [initialization.field.uninitialized] the default constructor does not initialize field detector + private SinglelineDetector detector; + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\CustomImportOrderCheck.java:876: warning: [argument] incompatible argument for parameter previousImport of validateExtraEmptyLine. + + validateExtraEmptyLine(previousImportObjectFromCurrentGroup, + ^ + found : @Initialized @Nullable ImportDetails + + required: @Initialized @NonNull ImportDetails +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\CustomImportOrderCheck.java:878: warning: [argument] incompatible argument for parameter previousImport of isAlphabeticalOrderBroken. + + if (isAlphabeticalOrderBroken(previousImportFromCurrentGroup, fullImportIdent)) { + ^ + found : @Initialized @Nullable String + + required: @Initialized @NonNull String +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\imports\CustomImportOrderCheck.java:892: warning: [argument] incompatible argument for parameter previousImport of validateMissedEmptyLine. + + validateMissedEmptyLine(previousImportObjectFromCurrentGroup, + ^ + found : @Initialized @Nullable ImportDetails + + required: @Initialized @NonNull ImportDetails +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\whitespace\NoWhitespaceAfterCheck.java:576: warning: [introduce.eliminate] It is bad style to create an Optional just to chain methods to get a value. + return Optional.ofNullable(referencedMemberDot).orElse(referencedClassDot); + ^ +C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\checks\indentation\ArrayInitHandler.java:67: warning: [return] incompatible types in return. + + return null; + ^ + type of expression: null (NullType) + + method return type: @Initialized @NonNull DetailAST +Note: Some input files use or override a deprecated API. +Note: Recompile with -Xlint:deprecation for details. +Note: C:\Entwicklung\Projekte\checkstyle\src\main\java\com\puppycrawl\tools\checkstyle\api\AutomaticBean.java uses unchecked or unsafe operations. +Note: Recompile with -Xlint:unchecked for details. +707 warnings