Class Setter


  • public class Setter
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Setter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.sundr.model.Method find​(RichTypeDef richType, io.sundr.model.Property property)
      Find the setter of the specified property in the rich type.
      static io.sundr.model.Method find​(io.sundr.model.TypeDef type, io.sundr.model.Property property)
      Find the setter of the specified property in the type.
      static boolean has​(io.sundr.model.TypeDef clazz, io.sundr.model.Property property)  
      static boolean hasOrInherits​(RichTypeDef clazz, io.sundr.model.Property property)  
      static boolean hasOrInherits​(io.sundr.model.TypeDef clazz, io.sundr.model.Property property)  
      static boolean isApplicable​(io.sundr.model.Method method, io.sundr.model.Property property)  
    • Constructor Detail

      • Setter

        public Setter()
    • Method Detail

      • find

        public static io.sundr.model.Method find​(io.sundr.model.TypeDef type,
                                                 io.sundr.model.Property property)
        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

        public static io.sundr.model.Method find​(RichTypeDef richType,
                                                 io.sundr.model.Property property)
        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

        public static boolean has​(io.sundr.model.TypeDef clazz,
                                  io.sundr.model.Property property)
      • isApplicable

        public static boolean isApplicable​(io.sundr.model.Method method,
                                           io.sundr.model.Property property)
      • hasOrInherits

        public static boolean hasOrInherits​(RichTypeDef clazz,
                                            io.sundr.model.Property property)
      • hasOrInherits

        public static boolean hasOrInherits​(io.sundr.model.TypeDef clazz,
                                            io.sundr.model.Property property)