Class UnreferencedShapes
- java.lang.Object
 - 
- software.amazon.smithy.model.neighbor.UnreferencedShapes
 
 
- 
public final class UnreferencedShapes extends java.lang.ObjectFinds 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
Constructors Constructor Description UnreferencedShapes()UnreferencedShapes(java.util.function.Predicate<Shape> keepFilter) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Shape>compute(Model model)Gets the set of shapes that are unreferenced. 
 - 
 
- 
- 
Constructor Detail
- 
UnreferencedShapes
public UnreferencedShapes()
 
- 
UnreferencedShapes
public UnreferencedShapes(java.util.function.Predicate<Shape> keepFilter)
- Parameters:
 keepFilter- Predicate that if matched keeps a shape from being unreferenced.
 
 - 
 
 -