public class Descendants extends Object
| Modifier and Type | Field and Description |
|---|---|
static Function<io.sundr.model.TypeDef,Set<io.sundr.model.TypeDef>> |
BUILDABLE_DECENDANTS |
static Function<io.sundr.model.Property,Set<io.sundr.model.Property>> |
PROPERTY_BUILDABLE_DESCENDANTS
Find all buildable descendant equivalents of a property.
|
| Constructor and Description |
|---|
Descendants() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDescendant(io.sundr.model.TypeDef item,
io.sundr.model.TypeDef candidate)
Checks if a type is an descendant of an other type
|
static boolean |
isNestingFiltered(io.sundr.model.Property property,
io.sundr.model.ClassRef classRef) |
static boolean |
isNestingIgnored(io.sundr.model.Property property) |
public static final Function<io.sundr.model.TypeDef,Set<io.sundr.model.TypeDef>> BUILDABLE_DECENDANTS
public static boolean isDescendant(io.sundr.model.TypeDef item,
io.sundr.model.TypeDef candidate)
item - The base type.candidate - The candidate type.public static boolean isNestingIgnored(io.sundr.model.Property property)
public static boolean isNestingFiltered(io.sundr.model.Property property,
io.sundr.model.ClassRef classRef)
Copyright © 2023. All rights reserved.