public interface MethodFluent<A extends MethodFluent<A>> extends ModifierSupportFluent<A>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MethodFluent.AnnotationsNested<N> |
static interface |
MethodFluent.ArgumentsNested<N> |
static interface |
MethodFluent.BlockNested<N> |
static interface |
MethodFluent.ClassRefReturnTypeNested<N> |
static interface |
MethodFluent.ExceptionsNested<N> |
static interface |
MethodFluent.ParametersNested<N> |
static interface |
MethodFluent.PrimitiveRefReturnTypeNested<N> |
static interface |
MethodFluent.TypeParamRefReturnTypeNested<N> |
static interface |
MethodFluent.VoidRefReturnTypeNested<N> |
static interface |
MethodFluent.WildcardRefReturnTypeNested<N> |
getModifiers, hasModifiers, withModifiersaddToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributesA addAllToComments(Collection<String> items)
A removeAllFromComments(Collection<String> items)
String getComment(int index)
String getFirstComment()
String getLastComment()
Boolean hasComments()
A addToAnnotations(int index, AnnotationRef item)
A setToAnnotations(int index, AnnotationRef item)
A addToAnnotations(AnnotationRef... items)
A addAllToAnnotations(Collection<AnnotationRef> items)
A removeFromAnnotations(AnnotationRef... items)
A removeAllFromAnnotations(Collection<AnnotationRef> items)
@Deprecated List<AnnotationRef> getAnnotations()
List<AnnotationRef> buildAnnotations()
AnnotationRef buildAnnotation(int index)
AnnotationRef buildFirstAnnotation()
AnnotationRef buildLastAnnotation()
AnnotationRef buildMatchingAnnotation(Predicate<Builder<? extends AnnotationRef>> predicate)
A withAnnotations(List<AnnotationRef> annotations)
A withAnnotations(AnnotationRef... annotations)
Boolean hasAnnotations()
MethodFluent.AnnotationsNested<A> addNewAnnotation()
MethodFluent.AnnotationsNested<A> addNewAnnotationLike(AnnotationRef item)
A addToParameters(int index, TypeParamDef item)
A setToParameters(int index, TypeParamDef item)
A addToParameters(TypeParamDef... items)
A addAllToParameters(Collection<TypeParamDef> items)
A removeFromParameters(TypeParamDef... items)
A removeAllFromParameters(Collection<TypeParamDef> items)
@Deprecated List<TypeParamDef> getParameters()
List<TypeParamDef> buildParameters()
TypeParamDef buildParameter(int index)
TypeParamDef buildFirstParameter()
TypeParamDef buildLastParameter()
TypeParamDef buildMatchingParameter(Predicate<Builder<? extends TypeParamDef>> predicate)
A withParameters(List<TypeParamDef> parameters)
A withParameters(TypeParamDef... parameters)
Boolean hasParameters()
MethodFluent.ParametersNested<A> addNewParameter()
MethodFluent.ParametersNested<A> addNewParameterLike(TypeParamDef item)
String getName()
Boolean hasName()
@Deprecated TypeRef getReturnType()
TypeRef buildReturnType()
Boolean hasReturnType()
MethodFluent.VoidRefReturnTypeNested<A> withNewVoidRefReturnType()
MethodFluent.VoidRefReturnTypeNested<A> withNewVoidRefReturnTypeLike(VoidRef item)
A withWildcardRefReturnType(WildcardRef wildcardRefReturnType)
MethodFluent.WildcardRefReturnTypeNested<A> withNewWildcardRefReturnType()
MethodFluent.WildcardRefReturnTypeNested<A> withNewWildcardRefReturnTypeLike(WildcardRef item)
A withPrimitiveRefReturnType(PrimitiveRef primitiveRefReturnType)
MethodFluent.PrimitiveRefReturnTypeNested<A> withNewPrimitiveRefReturnType()
MethodFluent.PrimitiveRefReturnTypeNested<A> withNewPrimitiveRefReturnTypeLike(PrimitiveRef item)
A withTypeParamRefReturnType(TypeParamRef typeParamRefReturnType)
MethodFluent.TypeParamRefReturnTypeNested<A> withNewTypeParamRefReturnType()
MethodFluent.TypeParamRefReturnTypeNested<A> withNewTypeParamRefReturnTypeLike(TypeParamRef item)
MethodFluent.ClassRefReturnTypeNested<A> withNewClassRefReturnType()
MethodFluent.ClassRefReturnTypeNested<A> withNewClassRefReturnTypeLike(ClassRef item)
A addAllToArguments(Collection<Property> items)
A removeAllFromArguments(Collection<Property> items)
@Deprecated List<Property> getArguments()
Property buildArgument(int index)
Property buildFirstArgument()
Property buildLastArgument()
Property buildMatchingArgument(Predicate<Builder<? extends Property>> predicate)
Boolean hasArguments()
MethodFluent.ArgumentsNested<A> addNewArgument()
MethodFluent.ArgumentsNested<A> addNewArgumentLike(Property item)
boolean isVarArgPreferred()
A withVarArgPreferred(boolean varArgPreferred)
Boolean hasVarArgPreferred()
A addAllToExceptions(Collection<ClassRef> items)
A removeAllFromExceptions(Collection<ClassRef> items)
@Deprecated List<ClassRef> getExceptions()
ClassRef buildException(int index)
ClassRef buildFirstException()
ClassRef buildLastException()
ClassRef buildMatchingException(Predicate<Builder<? extends ClassRef>> predicate)
Boolean hasExceptions()
MethodFluent.ExceptionsNested<A> addNewException()
MethodFluent.ExceptionsNested<A> addNewExceptionLike(ClassRef item)
@Deprecated Block getBlock()
Block buildBlock()
Boolean hasBlock()
MethodFluent.BlockNested<A> withNewBlock()
MethodFluent.BlockNested<A> withNewBlockLike(Block item)
MethodFluent.BlockNested<A> editBlock()
MethodFluent.BlockNested<A> editOrNewBlock()
MethodFluent.BlockNested<A> editOrNewBlockLike(Block item)
Copyright © 2016. All Rights Reserved.