New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct notification is incorrect for the situation when there is a nested class #59

Closed
denis-zhdanov opened this Issue Nov 18, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@denis-zhdanov
Owner

denis-zhdanov commented Nov 18, 2017

Consider a test source like below:

package tech.harmonysoft.oss.traute.test;

import org.jetbrains.annotations.NotNull;

public class Test {

  class Inner {
  }

  public void test(@NotNull Integer i) {
  }
}

When verbose logging is on, it's expected to get a log entry like below:

added a null-check for argument 'i' in the method mypackage.Test.test().

However, we get the following line instead:

added a null-check for argument 'i' in the method mypackage.Inner.test()

@denis-zhdanov

This comment has been minimized.

Owner

denis-zhdanov commented Nov 18, 2017

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment