void (Project project) { Version version = getVersion(getInstance(project).getProjectSdk()); System.out.println(version.<warning descr="Method invocation 'hashCode' may produce 'NullPointerException'">hashCode</warning>()); }