All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.util.beans.DefaultBeanIntrospector Maven / Gradle / Ivy

There is a newer version: 3.6.2.5.inovus
Show newest version
package liquibase.util.beans;

import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;

public class DefaultBeanIntrospector implements BeanIntrospector {
    @Override
    public void introspect(IntrospectionContext context) throws IntrospectionException {
        PropertyDescriptor[] descriptors = Introspector.getBeanInfo(context.getTargetClass()).getPropertyDescriptors();
        if (descriptors != null) {
            context.addDescriptors(descriptors);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy