View Javadoc
1   package org.checkstyle.suppressionxpathfilter.redundantmodifier;
2   
3   public class InputXpathRedundantModifierClass {
4       public class Example1 {
5   
6     void test() {
7       try (final var a = lock()) {  //warn
8   
9       } catch (Exception e) {
10  
11      }
12    }
13     AutoCloseable lock() {
14      return null;
15    }
16  }
17  }