Example

public class TestClass {
public void isMethod () {
}
}


Solution
Rename the method if it does not return a boolean.


public class TestClass {
public void methodName () {
}
}