se.bjurr.jmib.anotations.GenerateMethodInvocationBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-method-invocation-builder-annotations Show documentation
Show all versions of java-method-invocation-builder-annotations Show documentation
Generates builders for invoking methods on instantiated objects.
The newest version!
package se.bjurr.jmib.anotations;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.CLASS;
import static se.bjurr.jmib.anotations.BuilderStyle.SUPPLY_INSTANCE_AS_INVOKE_PARAMETER;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@Retention(CLASS)
@Target({TYPE})
public @interface GenerateMethodInvocationBuilder {
BuilderStyle style() default SUPPLY_INSTANCE_AS_INVOKE_PARAMETER;
}