Class MavenTraitMatcher<U extends org.openrewrite.trait.Trait<?>>

java.lang.Object
org.openrewrite.trait.SimpleTraitMatcher<U>
org.openrewrite.maven.trait.MavenTraitMatcher<U>
All Implemented Interfaces:
org.openrewrite.trait.TraitMatcher<U>
Direct Known Subclasses:
MavenDependency.Matcher, MavenPlugin.Matcher

public abstract class MavenTraitMatcher<U extends org.openrewrite.trait.Trait<?>> extends org.openrewrite.trait.SimpleTraitMatcher<U>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected @Nullable org.openrewrite.maven.tree.MavenResolutionResult
    getResolutionResult(org.openrewrite.Cursor cursor)
     

    Methods inherited from class org.openrewrite.trait.SimpleTraitMatcher

    asVisitor, get, higher, lower, test

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.openrewrite.trait.TraitMatcher

    asVisitor, get, lower, require, require
  • Constructor Details

    • MavenTraitMatcher

      public MavenTraitMatcher()
  • Method Details

    • getResolutionResult

      protected @Nullable org.openrewrite.maven.tree.MavenResolutionResult getResolutionResult(org.openrewrite.Cursor cursor)