public class CachedValueGenerator extends Object
Modifier and Type | Method and Description |
---|---|
static MethodSpec |
createGetterMethod(SpecModel specModel,
SpecMethodModel<DelegateMethod,Void> onCalculateCachedValueMethod,
String cachedValueName) |
static TypeSpec |
createInputsClass(SpecMethodModel<DelegateMethod,Void> onCalculateCachedValueMethod,
String cachedValueName,
EnumSet<RunMode> runMode) |
static TypeSpecDataHolder |
generate(SpecModel specModel,
EnumSet<RunMode> runMode) |
public static TypeSpecDataHolder generate(SpecModel specModel, EnumSet<RunMode> runMode)
public static MethodSpec createGetterMethod(SpecModel specModel, SpecMethodModel<DelegateMethod,Void> onCalculateCachedValueMethod, String cachedValueName)
public static TypeSpec createInputsClass(SpecMethodModel<DelegateMethod,Void> onCalculateCachedValueMethod, String cachedValueName, EnumSet<RunMode> runMode)