void (String value) { System.out.println(Optional.ofNullable(value).<warning descr="'Optional.get()' without 'isPresent()' check">get</warning>()); System.out.println(Optional.ofNullable(value+"a").get()); System.out.println(Optional.ofNullable("xyz").get()); }