Class NoMissingTypes

java.lang.Object
org.openrewrite.TreeVisitor<J,P>
org.openrewrite.java.JavaVisitor<org.openrewrite.ExecutionContext>
org.openrewrite.java.NoMissingTypes

public class NoMissingTypes extends JavaVisitor<org.openrewrite.ExecutionContext>
Puts a search result marker on a JavaSourceFile if there is no missing type information according to FindMissingTypes. So when there _are_ missing types, no changes are made. The intended purpose is as a singleSourceApplicabilityTest() for recipes in danger of removing things they should not when type information is missing.
  • Constructor Details

    • NoMissingTypes

      public NoMissingTypes()
  • Method Details