public class JavaMethodFluent<T extends JavaMethodFluent<T>> extends AttributeSupportFluent<T> implements Fluent<T>
| Modifier and Type | Class and Description |
|---|---|
class |
JavaMethodFluent.AnnotationsNested<N> |
class |
JavaMethodFluent.ArgumentsNested<N> |
class |
JavaMethodFluent.ExceptionsNested<N> |
class |
JavaMethodFluent.ReturnTypeNested<N> |
class |
JavaMethodFluent.TypeParametersNested<N> |
_visitables| Constructor and Description |
|---|
JavaMethodFluent() |
addToAttributes, getAttributes, withAttributespublic JavaMethodFluent.AnnotationsNested<T> addNewAnnotation()
public JavaMethodFluent.AnnotationsNested<T> addNewAnnotationLike(JavaType item)
public JavaMethodFluent.TypeParametersNested<T> addNewTypeParameter()
public JavaMethodFluent.TypeParametersNested<T> addNewTypeParameterLike(JavaType item)
public String getName()
public JavaType getReturnType()
public JavaMethodFluent.ReturnTypeNested<T> withNewReturnType()
public JavaMethodFluent.ReturnTypeNested<T> withNewReturnTypeLike(JavaType item)
public JavaMethodFluent.ReturnTypeNested<T> editReturnType()
public T withArguments(JavaProperty... arguments)
public JavaProperty[] getArguments()
public T addToArguments(JavaProperty... items)
public T removeFromArguments(JavaProperty... items)
public JavaMethodFluent.ArgumentsNested<T> addNewArgument()
public JavaMethodFluent.ArgumentsNested<T> addNewArgumentLike(JavaProperty item)
public JavaMethodFluent.ExceptionsNested<T> addNewException()
public JavaMethodFluent.ExceptionsNested<T> addNewExceptionLike(JavaType item)
Copyright © 2016. All Rights Reserved.