Modifier and Type |
Method and Description |
DelegateMethodDescription.Builder |
accessType(javax.lang.model.element.Modifier accessType) |
DelegateMethodDescription.Builder |
annotations(ImmutableList<AnnotationSpec> annotations) |
DelegateMethodDescription |
build() |
DelegateMethodDescription.Builder |
createsLegacyState(boolean createsLegacyState)
Whether this method creates state in a legacy manner, writing to a StateContainer on the
Section/Surface/etc, obtained via a call to getStateContainer.
|
DelegateMethodDescription.Builder |
definedParameterTypes(ImmutableList<TypeName> parameterTypes)
|
DelegateMethodDescription.Builder |
exceptions(ImmutableList<TypeName> exceptions) |
DelegateMethodDescription.Builder |
extraMethods(ImmutableList<MethodSpec> extraMethods)
A list of extra methods that should be generate when this method description is used.
|
DelegateMethodDescription.Builder |
interStageInputAnnotations(ImmutableList<java.lang.Class<? extends java.lang.annotation.Annotation>> interStageInputAnnotations) |
DelegateMethodDescription.Builder |
interStageInputTarget(DelegateMethodDescription.InterStagePropsTarget target) |
DelegateMethodDescription.Builder |
lifecycleMethodArguments(ImmutableList<LifecycleMethodArgumentType> args) |
DelegateMethodDescription.Builder |
name(java.lang.String name) |
DelegateMethodDescription.Builder |
optionalParameters(ImmutableList<MethodParamModel> optionalParameters)
Optional parameters are named parameters from the component impl that aren't props or state.
|
DelegateMethodDescription.Builder |
optionalParameterTypes(ImmutableList<DelegateMethodDescription.OptionalParameterType> optionalParameterTypes) |
DelegateMethodDescription.Builder |
returnType(TypeName returnType) |