Inline the only use of the hasParameterOnlyAttrs method.