code: public PropertyStyle getStyle() {
          if (isDerived()) {
              return PropertyStyle.DERIVED;
          }
          if (getBean().isImmutable()) {
              return PropertyStyle.IMMUTABLE;
          }
          if (getGetStyle().length() > 0 && getSetStyle().length() > 0 && (getSetterGen().isSetterGenerated(this) || getSetStyle().equals("manual"))) {
              return PropertyStyle.READ_WRITE;
          }
          if (getGetStyle().length() > 0) {
              if (bean.isBuilderScopeVisible()) {
                  return PropertyStyle.READ_ONLY_BUILDABLE;
              } else {
                  return PropertyStyle.READ_ONLY;
              }
          }
          if (getSetStyle().length() > 0) {
              return PropertyStyle.WRITE_ONLY;
          }
          throw new RuntimeException("Property must have a getter or setter: " +
                  getBean().getTypeRaw() + "." + getPropertyName());
      }
docs: Gets the read-write flag.
  
  @return the read write