Package net.bytebuddy.build
Annotation Type ToStringPlugin.Enhance
-
@Documented @Target(TYPE) @Retention(RUNTIME) public static @interface ToStringPlugin.Enhance
Instructs theToStringPlugin
to generate aObject.toString()
method for the annotated class unless this method is already declared explicitly.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
includeSyntheticFields
Determines if synthetic fields should be included in the string representation.ToStringPlugin.Enhance.Prefix
prefix
Determines the prefix to be used for the string representation prior to adding field values.
-
-
-
Element Detail
-
prefix
ToStringPlugin.Enhance.Prefix prefix
Determines the prefix to be used for the string representation prior to adding field values.- Returns:
- The prefix to use.
- Default:
- net.bytebuddy.build.ToStringPlugin.Enhance.Prefix.SIMPLE
-
-