void () { try (InputStream <warning descr="Variable 'is' can have 'final' modifier">is</warning> = new FileInputStream(new File("b"))) { System.out.println(is); } catch (final IOException e) { throw new RuntimeException(e); } }