Class UnreferencedShapes
java.lang.Object
software.amazon.smithy.model.neighbor.UnreferencedShapes
Finds shapes that are not connected to a service shape, are not trait
definitions, and are not referenced by trait definitions.
Prelude shapes are never considered unreferenced.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
UnreferencedShapes
public UnreferencedShapes() -
UnreferencedShapes
- Parameters:
keepFilter
- Predicate that if matched keeps a shape from being unreferenced.
-
-
Method Details
-
compute
Gets the set of shapes that are unreferenced.- Parameters:
model
- Model to compute from.- Returns:
- Returns the unreferenced shapes.
-