1 package org.checkstyle.suppressionxpathfilter.annotationonsameline; 2 3 public class InputXpathAnnotationOnSameLineMethod { 4 @Deprecated int x; 5 6 @Deprecated //warn 7 public int getX() { 8 return (int) x; 9 } 10 }