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 addToComments(int index, java.lang.String item)
A setToComments(int index, java.lang.String item)
A addToComments(java.lang.String... items)
A addAllToComments(java.util.Collection<java.lang.String> items)
A removeFromComments(java.lang.String... items)
A removeAllFromComments(java.util.Collection<java.lang.String> items)
java.util.List<java.lang.String> getComments()
java.lang.String getComment(int index)
java.lang.String getFirstComment()
java.lang.String getLastComment()
java.lang.String getMatchingComment(Predicate<java.lang.String> predicate)
A withComments(java.util.List<java.lang.String> comments)
A withComments(java.lang.String... comments)
java.lang.Boolean hasComments()
A addToAnnotations(int index, AnnotationRef item)
A setToAnnotations(int index, AnnotationRef item)
A addToAnnotations(AnnotationRef... items)
A addAllToAnnotations(java.util.Collection<AnnotationRef> items)
A removeFromAnnotations(AnnotationRef... items)
A removeAllFromAnnotations(java.util.Collection<AnnotationRef> items)
@Deprecated java.util.List<AnnotationRef> getAnnotations()
java.util.List<AnnotationRef> buildAnnotations()
AnnotationRef buildAnnotation(int index)
AnnotationRef buildFirstAnnotation()
AnnotationRef buildLastAnnotation()
AnnotationRef buildMatchingAnnotation(Predicate<Builder<? extends AnnotationRef>> predicate)
A withAnnotations(java.util.List<AnnotationRef> annotations)
A withAnnotations(AnnotationRef... annotations)
java.lang.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(java.util.Collection<TypeParamDef> items)
A removeFromParameters(TypeParamDef... items)
A removeAllFromParameters(java.util.Collection<TypeParamDef> items)
@Deprecated java.util.List<TypeParamDef> getParameters()
java.util.List<TypeParamDef> buildParameters()
TypeParamDef buildParameter(int index)
TypeParamDef buildFirstParameter()
TypeParamDef buildLastParameter()
TypeParamDef buildMatchingParameter(Predicate<Builder<? extends TypeParamDef>> predicate)
A withParameters(java.util.List<TypeParamDef> parameters)
A withParameters(TypeParamDef... parameters)
java.lang.Boolean hasParameters()
MethodFluent.ParametersNested<A> addNewParameter()
MethodFluent.ParametersNested<A> addNewParameterLike(TypeParamDef item)
java.lang.String getName()
A withName(java.lang.String name)
java.lang.Boolean hasName()
@Deprecated TypeRef getReturnType()
TypeRef buildReturnType()
java.lang.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)
@Deprecated java.util.List<Property> getArguments()
java.util.List<Property> buildArguments()
Property buildArgument(int index)
Property buildFirstArgument()
Property buildLastArgument()
Property buildMatchingArgument(Predicate<Builder<? extends Property>> predicate)
java.lang.Boolean hasArguments()
MethodFluent.ArgumentsNested<A> addNewArgument()
MethodFluent.ArgumentsNested<A> addNewArgumentLike(Property item)
boolean isVarArgPreferred()
A withVarArgPreferred(boolean varArgPreferred)
java.lang.Boolean hasVarArgPreferred()
@Deprecated java.util.List<ClassRef> getExceptions()
java.util.List<ClassRef> buildExceptions()
ClassRef buildException(int index)
ClassRef buildFirstException()
ClassRef buildLastException()
ClassRef buildMatchingException(Predicate<Builder<? extends ClassRef>> predicate)
java.lang.Boolean hasExceptions()
MethodFluent.ExceptionsNested<A> addNewException()
MethodFluent.ExceptionsNested<A> addNewExceptionLike(ClassRef item)
@Deprecated Block getBlock()
Block buildBlock()
java.lang.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 © 2018. All Rights Reserved.