public static class SpecMethodModel.Builder<Phantom,A> extends Object
Modifier and Type | Method and Description |
---|---|
SpecMethodModel.Builder<Phantom,A> |
annotations(ImmutableList<Annotation> annotations) |
SpecMethodModel<Phantom,A> |
build() |
SpecMethodModel.Builder<Phantom,A> |
methodParams(ImmutableList<MethodParamModel> methodParams) |
SpecMethodModel.Builder<Phantom,A> |
modifiers(ImmutableList<javax.lang.model.element.Modifier> modifiers) |
SpecMethodModel.Builder<Phantom,A> |
name(CharSequence name) |
SpecMethodModel.Builder<Phantom,A> |
representedObject(Object representedObject) |
SpecMethodModel.Builder<Phantom,A> |
returnTypeSpec(TypeSpec returnTypeSpec) |
SpecMethodModel.Builder<Phantom,A> |
typeModel(A typeModel) |
SpecMethodModel.Builder<Phantom,A> |
typeVariables(ImmutableList<TypeVariableName> typeVariables) |
public SpecMethodModel.Builder<Phantom,A> annotations(ImmutableList<Annotation> annotations)
public SpecMethodModel.Builder<Phantom,A> modifiers(ImmutableList<javax.lang.model.element.Modifier> modifiers)
public SpecMethodModel.Builder<Phantom,A> name(CharSequence name)
public SpecMethodModel.Builder<Phantom,A> returnTypeSpec(TypeSpec returnTypeSpec)
public SpecMethodModel.Builder<Phantom,A> typeVariables(ImmutableList<TypeVariableName> typeVariables)
public SpecMethodModel.Builder<Phantom,A> methodParams(ImmutableList<MethodParamModel> methodParams)
public SpecMethodModel.Builder<Phantom,A> representedObject(Object representedObject)
public SpecMethodModel.Builder<Phantom,A> typeModel(A typeModel)
public SpecMethodModel<Phantom,A> build()