code: public static ExecutableElement findSetterMethod(
        String propertyName, TypeMirror type, TypeElement declaringClass, boolean isStatic) {
      ExecutableElement setter = ElementUtil.findMethod(
          declaringClass,
          "set" + NameTable.capitalize(propertyName),
          TypeUtil.getQualifiedName(type));
      return setter != null && isStatic == isStatic(setter) ? setter : null;
    }
docs: Locate method which matches the Java/Objective C setter name pattern.