Class CSharpFileChecker<P>

java.lang.Object
org.openrewrite.TreeVisitor<org.openrewrite.Tree,P>
org.openrewrite.staticanalysis.csharp.CSharpFileChecker<P>

public class CSharpFileChecker<P> extends org.openrewrite.TreeVisitor<org.openrewrite.Tree,P>
Add a search marker if vising a CSharp file
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isInstanceOfCs(@Nullable org.openrewrite.Tree tree)
     
    @Nullable org.openrewrite.Tree
    visit(@Nullable org.openrewrite.Tree tree, P p)
     

    Methods inherited from class org.openrewrite.TreeVisitor

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

    Methods inherited from class java.lang.Object

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

    • CSharpFileChecker

      public CSharpFileChecker()
  • Method Details

    • isInstanceOfCs

      public static boolean isInstanceOfCs(@Nullable org.openrewrite.Tree tree)
    • visit

      public @Nullable org.openrewrite.Tree visit(@Nullable org.openrewrite.Tree tree, P p)
      Overrides:
      visit in class org.openrewrite.TreeVisitor<org.openrewrite.Tree,P>