@@ -554,32 +554,33 @@ object ConeLombokAnnotations {
554554 val callSuper: CallSuperMode ?
555555 }
556556
557+ /* *
558+ * Drop `doNotUseGetters`, `exclude`, `of` arguments but report diagnostics on them.
559+ * * `doNotUseGetters` isn't relevant in Kotlin;
560+ * * `exclude`, `of` will soon be marked as deprecated in Lombok, so don't support them beforehand.
561+ */
557562 class ToString (
558563 val includeFieldNames : Boolean? ,
559564 override val callSuper : CallSuperMode ? ,
560- val doNotUseGetters : Boolean? ,
561565 val onlyExplicitlyIncluded : Boolean? ,
562- val excludeFields : Set <String >,
563566 annotation : FirAnnotation ,
564567 ) : ConeLombokAnnotation(annotation), CallSuper {
565568 companion object : ConeAnnotationCompanion <ToString >(LombokNames .TO_STRING_ID ) {
566569 override fun extract (annotation : FirAnnotation , session : FirSession ): ToString {
567570 return ToString (
568571 includeFieldNames = annotation.getBooleanArgument(INCLUDE_FIELD_NAMES ),
569572 callSuper = annotation.getBooleanArgument(CALL_SUPER )?.let { if (it) CallSuperMode .Call else CallSuperMode .Skip },
570- doNotUseGetters = annotation.getBooleanArgument(DO_NOT_USE_GETTERS ),
571573 onlyExplicitlyIncluded = annotation.getBooleanArgument(ONLY_EXPLICITLY_INCLUDED ),
572- excludeFields = annotation.getStringArrayArgument(EXCLUDE )?.toSet() ? : emptySet(),
573574 annotation = annotation,
574575 )
575576 }
576577 }
577578 }
578579
579580 /* *
580- * Drop `doNotUseGetters`, `excludeFields `, `ofFields ` arguments but report diagnostics on them.
581+ * Drop `doNotUseGetters`, `exclude `, `of ` arguments but report diagnostics on them.
581582 * * `doNotUseGetters` isn't relevant in Kotlin;
582- * * `excludeFields `, `ofFields ` will soon be marked as deprecated in Lombok, so don't support them beforehand.
583+ * * `exclude `, `of ` will soon be marked as deprecated in Lombok, so don't support them beforehand.
583584 */
584585 class EqualsAndHashCode (
585586 override val callSuper : CallSuperMode ? ,
0 commit comments