@Test public void notSecret() { assertFalse(rule.isSecret("other")); }
boolean isSecret(String name) { return name.toLowerCase().contains("secret"); }
SecretNotAllowedRule extends BaseTreeVisitor implements JavaFileScanner { boolean isSecret(String name) { return name.toLowerCase().contains("secret"); } }
SecretNotAllowedRule extends BaseTreeVisitor implements JavaFileScanner { boolean isSecret(String name) { return name.toLowerCase().contains("secret"); }  }
SecretNotAllowedRule extends BaseTreeVisitor implements JavaFileScanner { boolean isSecret(String name) { return name.toLowerCase().contains("secret"); }  @Override void scanFile(JavaFileScannerContext context); @Override void visitMethod(MethodTree tree); @Override void visitVariable(VariableTree tree); }
SecretNotAllowedRule extends BaseTreeVisitor implements JavaFileScanner { boolean isSecret(String name) { return name.toLowerCase().contains("secret"); }  @Override void scanFile(JavaFileScannerContext context); @Override void visitMethod(MethodTree tree); @Override void visitVariable(VariableTree tree);  }