Class FindSecretsVisitor

java.lang.Object
org.openrewrite.TreeVisitor<org.openrewrite.Tree,org.openrewrite.ExecutionContext>
org.openrewrite.java.security.secrets.FindSecretsVisitor

public abstract class FindSecretsVisitor extends org.openrewrite.TreeVisitor<org.openrewrite.Tree,org.openrewrite.ExecutionContext>
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract boolean
    isSecret(@Nullable String key, @Nullable String value, org.openrewrite.ExecutionContext ctx)
     
    org.openrewrite.Tree
    visit(@Nullable org.openrewrite.Tree tree, org.openrewrite.ExecutionContext ctx)
     

    Methods inherited from class org.openrewrite.TreeVisitor

    adapt, collect, collect, defaultValue, describeLocation, doAfterVisit, doAfterVisit, getAfterVisit, getCursor, getLanguage, isAcceptable, isAdaptableTo, noop, postVisit, preVisit, reduce, reduce, reduce, setCursor, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitSourceFile

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FindSecretsVisitor

      protected FindSecretsVisitor(String name)
  • Method Details

    • visit

      public org.openrewrite.Tree visit(@Nullable @Nullable org.openrewrite.Tree tree, org.openrewrite.ExecutionContext ctx)
      Overrides:
      visit in class org.openrewrite.TreeVisitor<org.openrewrite.Tree,org.openrewrite.ExecutionContext>
    • isSecret

      protected abstract boolean isSecret(@Nullable @Nullable String key, @Nullable @Nullable String value, org.openrewrite.ExecutionContext ctx)