Class Descendants
java.lang.Object
io.sundr.builder.internal.functions.Descendants
-
Field Summary
FieldsModifier and TypeFieldDescriptionFind all buildable descendant equivalents of a property. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisDescendant(io.sundr.model.TypeDef item, io.sundr.model.TypeDef candidate) Checks if a type is an descendant of an other typestatic booleanisNestingFiltered(io.sundr.model.Property property, io.sundr.model.ClassRef classRef) static booleanisNestingIgnored(io.sundr.model.Property property)
-
Field Details
-
Constructor Details
-
Descendants
public Descendants()
-
-
Method Details
-
isDescendant
public static boolean isDescendant(io.sundr.model.TypeDef item, io.sundr.model.TypeDef candidate) Checks if a type is an descendant of an other type- Parameters:
item- The base type.candidate- The candidate type.- Returns:
- true if candidate is a descendant of base type.
-
isNestingIgnored
public static boolean isNestingIgnored(io.sundr.model.Property property) -
isNestingFiltered
public static boolean isNestingFiltered(io.sundr.model.Property property, io.sundr.model.ClassRef classRef)
-