net.karneim.pojobuilder.model.StaticFactoryMethodM Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pojobuilder Show documentation
Show all versions of pojobuilder Show documentation
The PojoBuilder Generator is a Java 6 compliant annotation processor that generates a fluent builder class for POJOs (Plain Old Java Object)
package net.karneim.pojobuilder.model;
import javax.lang.model.element.Modifier;
import java.util.EnumSet;
import java.util.Set;
import static javax.lang.model.element.Modifier.*;
/**
* Model for {@link net.karneim.pojobuilder.GeneratePojoBuilder#withFactoryMethod()}
*/
public class StaticFactoryMethodM extends MethodM {
public StaticFactoryMethodM(String name) {
super(name, EnumSet.of(PUBLIC, STATIC));
}
}