Package io.sundr.model.utils
Class Setter
java.lang.Object
io.sundr.model.utils.Setter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Methodfind(RichTypeDef richType, Property property) Find the setter of the specified property in the rich type.static MethodFind the setter of the specified property in the type.static booleanstatic booleanhasOrInherits(RichTypeDef clazz, Property property) static booleanhasOrInherits(TypeDef clazz, Property property) static booleanisApplicable(Method method, Property property)
-
Constructor Details
-
Setter
public Setter()
-
-
Method Details
-
find
Find the setter of the specified property in the type.- Parameters:
type- The class.property- The property.- Returns:
- The setter method if found. Throws exception if no setter is matched.
-
find
Find the setter of the specified property in the rich type.- Parameters:
richType- The class.property- The property.- Returns:
- The setter method if found. Throws exception if no setter is matched.
-
has
-
isApplicable
-
hasOrInherits
-
hasOrInherits
-