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 -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisInstanceOfCs(@Nullable org.openrewrite.Tree tree) @Nullable org.openrewrite.TreeMethods 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
-
Constructor Details
-
CSharpFileChecker
public CSharpFileChecker()
-
-
Method Details
-
isInstanceOfCs
public static boolean isInstanceOfCs(@Nullable org.openrewrite.Tree tree) -
visit
- Overrides:
visitin classorg.openrewrite.TreeVisitor<org.openrewrite.Tree,P>
-