Class AttributeConstraintToBeanTypeConverter

    • Constructor Detail

      • AttributeConstraintToBeanTypeConverter

        public AttributeConstraintToBeanTypeConverter()
    • Method Detail

      • findField

        protected java.lang.reflect.Field findField​(java.lang.Class<?> clazz,
                                                    java.lang.String name,
                                                    java.lang.Class<?> type)
        Modified version of ReflectionUtils from spring. Searches for field only in given class, not in all superclasses. Attempt to find a field on the supplied Class with the supplied name and/or type. Searches given class only.
        Parameters:
        clazz - the class to introspect
        name - the name of the field (may be null if type is specified)
        type - the type of the field (may be null if name is specified)
        Returns:
        the corresponding Field object, or null if not found