static long |
SerialVersionUIDComputer.compute(JavaClassSource source) |
This is not the official algorithm as defined in the JLS spec, but it is close
|
static JavaClassSource |
DesignPatterns.createBuilder(JavaClassSource javaClass) |
Creates a class based on the Builder Design pattern.
|
static void |
Refactory.createEquals(JavaClassSource clazz,
FieldSource<?>... fields) |
Create an equals implementation for the given class and fields.
|
static void |
Refactory.createGetterAndSetter(JavaClassSource clazz,
FieldSource<JavaClassSource> field) |
Generates a getXXX and setXXX method for the supplied field
|
static void |
Refactory.createHashCode(JavaClassSource clazz,
FieldSource<?>... fields) |
Create a hashCode implementation for the given class and fields.
|
static void |
Refactory.createHashCodeAndEquals(JavaClassSource clazz) |
Deprecated.
|
static void |
Refactory.createHashCodeAndEquals(JavaClassSource clazz,
FieldSource<?>... fields) |
Create a hashCode and equals implementation for the given class and fields.
|
static void |
Refactory.createToStringFromFields(JavaClassSource clazz) |
Create a toString implementation using all the fields in this class
|
static void |
Refactory.createToStringFromFields(JavaClassSource clazz,
List<FieldSource<JavaClassSource>> fields) |
Create a toString implementation using the supplied fields
|
static void |
Refactory.createToStringFromFields(JavaClassSource clazz,
FieldSource<JavaClassSource>... fields) |
Create a toString implementation using the supplied fields
|