public static class DelegateMethodDescription.Builder
extends java.lang.Object
public DelegateMethodDescription.Builder annotations(ImmutableList<AnnotationSpec> annotations)
public DelegateMethodDescription.Builder accessType(javax.lang.model.element.Modifier accessType)
public DelegateMethodDescription.Builder returnType(TypeName returnType)
public DelegateMethodDescription.Builder name(java.lang.String name)
public DelegateMethodDescription.Builder lifecycleMethodArguments(ImmutableList<LifecycleMethodArgumentType> args)
@Deprecated public DelegateMethodDescription.Builder definedParameterTypes(ImmutableList<TypeName> parameterTypes)
lifecycleMethodArguments(ImmutableList)
parameterTypes
- list of argument types.DelegateMethodDescription.Builder
.public DelegateMethodDescription.Builder optionalParameters(ImmutableList<MethodParamModel> optionalParameters)
public DelegateMethodDescription.Builder optionalParameterTypes(ImmutableList<DelegateMethodDescription.OptionalParameterType> optionalParameterTypes)
public DelegateMethodDescription.Builder interStageInputAnnotations(ImmutableList<java.lang.Class<? extends java.lang.annotation.Annotation>> interStageInputAnnotations)
public DelegateMethodDescription.Builder interStageInputTarget(DelegateMethodDescription.InterStagePropsTarget target)
public DelegateMethodDescription.Builder extraMethods(ImmutableList<MethodSpec> extraMethods)
public DelegateMethodDescription.Builder exceptions(ImmutableList<TypeName> exceptions)
public DelegateMethodDescription.Builder createsLegacyState(boolean createsLegacyState)
public DelegateMethodDescription build()