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

public class TestFirebase {
    public static void main(String[] args) throws Exception {
        PropertyDescriptor[] pds = Introspector.getBeanInfo(OperatingHoursDay.class).getPropertyDescriptors();
        for (PropertyDescriptor pd : pds) {
            System.out.println("Property: " + pd.getName() + ", readMethod: " + (pd.getReadMethod() != null ? pd.getReadMethod().getName() : "null"));
        }
    }
}

class OperatingHoursDay {
    private boolean isOpen;
    public boolean getIsOpen() { return isOpen; }
    public void setIsOpen(boolean isOpen) { this.isOpen = isOpen; }
}
