Uploaded image for project: 'Solder'
  1. Solder
  2. SOLDER-298

MethodPropertyImpl does not work for primitive boolean

    Details

      Description

      method.getReturnType() != Boolean.class -> true
      method.getReturnType().isPrimitive() -> true

      method.getRetunType = Class("boolean")

      if (method.getReturnType() != Boolean.class || !method.getReturnType().isPrimitive())

      { throw new IllegalArgumentException("Invalid accessor method, must return boolean primitive if starts with 'is'. Method: " + method); }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lukaszk Lukasz Kaleta
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: