Class UnreferencedTraitDefinitions

java.lang.Object
software.amazon.smithy.model.neighbor.UnreferencedTraitDefinitions

public final class UnreferencedTraitDefinitions extends Object
Finds trait definitions that are not connected to a service shape.

Prelude traits are never considered unreferenced.

  • Constructor Details

    • UnreferencedTraitDefinitions

      public UnreferencedTraitDefinitions()
    • UnreferencedTraitDefinitions

      public UnreferencedTraitDefinitions(Predicate<Shape> keepFilter)
      Parameters:
      keepFilter - Predicate that if matched keeps a trait definition from being unreferenced.
  • Method Details