RequiredParameterForAnnotationCheck extends AbstractCheck { @Override public int[] getRequiredTokens() { return new int[] { TokenTypes.ANNOTATION, }; }  void setAnnotationName(String annotationName); void setRequiredParameters(String... requiredPropertiesParameter); @Override int[] getDefaultTokens(); @Override int[] getRequiredTokens(); @Override int[] getAcceptableTokens(); @Override void visitToken(DetailAST annotationNode); static final String MSG_KEY; }
@Test public void temporaryTestForCallGetRequiredTokens() { final RequiredParameterForAnnotationCheck check = new RequiredParameterForAnnotationCheck(); final int[] tokens = check.getRequiredTokens(); Assert.assertNotNull(tokens); }