1 /* 2 UnusedLocalVariable 3 severity = warning 4 allowUnnamedVariables = false 5 6 */ 7 8 package com.puppycrawl.tools.checkstyle.checks.coding.unusedlocalvariable; 9 10 public class InputUnusedLocalVariableTestWarningSeverity { 11 12 void m() { 13 @Test.A Outer p1 = new @Test.A Outer(); 14 @Test.A Outer.@Test.B Inner p2 = p1.new @Test.B Inner(); 15 // ok above until https://github.com/checkstyle/checkstyle/issues/12980 16 } 17 18 }