public static class SpecMethodModel.Builder<Phantom,A>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
SpecMethodModel.Builder<Phantom,A> |
annotations(ImmutableList<java.lang.annotation.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(java.lang.CharSequence name) |
SpecMethodModel.Builder<Phantom,A> |
representedObject(java.lang.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<java.lang.annotation.Annotation> annotations)
public SpecMethodModel.Builder<Phantom,A> modifiers(ImmutableList<javax.lang.model.element.Modifier> modifiers)
public SpecMethodModel.Builder<Phantom,A> name(java.lang.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(java.lang.Object representedObject)
public SpecMethodModel.Builder<Phantom,A> typeModel(A typeModel)
public SpecMethodModel<Phantom,A> build()