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, withModifiers
addToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributes
A addAllToComments(Collection<String> items)
A removeAllFromComments(Collection<String> items)
String getComment(int index)
String getFirstComment()
String getLastComment()
Boolean hasComments()
A addNewComment(StringBuilder arg1)
A addNewComment(StringBuffer arg1)
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<AnnotationRefBuilder> predicate)
Boolean hasMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
A withAnnotations(List<AnnotationRef> annotations)
A withAnnotations(AnnotationRef... annotations)
Boolean hasAnnotations()
MethodFluent.AnnotationsNested<A> addNewAnnotation()
MethodFluent.AnnotationsNested<A> addNewAnnotationLike(AnnotationRef item)
MethodFluent.AnnotationsNested<A> setNewAnnotationLike(int index, AnnotationRef item)
MethodFluent.AnnotationsNested<A> editAnnotation(int index)
MethodFluent.AnnotationsNested<A> editFirstAnnotation()
MethodFluent.AnnotationsNested<A> editLastAnnotation()
MethodFluent.AnnotationsNested<A> editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
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<TypeParamDefBuilder> predicate)
Boolean hasMatchingParameter(Predicate<TypeParamDefBuilder> predicate)
A withParameters(List<TypeParamDef> parameters)
A withParameters(TypeParamDef... parameters)
Boolean hasParameters()
MethodFluent.ParametersNested<A> addNewParameter()
MethodFluent.ParametersNested<A> addNewParameterLike(TypeParamDef item)
MethodFluent.ParametersNested<A> setNewParameterLike(int index, TypeParamDef item)
MethodFluent.ParametersNested<A> editParameter(int index)
MethodFluent.ParametersNested<A> editFirstParameter()
MethodFluent.ParametersNested<A> editLastParameter()
MethodFluent.ParametersNested<A> editMatchingParameter(Predicate<TypeParamDefBuilder> predicate)
String getName()
Boolean hasName()
A withNewName(StringBuilder arg1)
A withNewName(StringBuffer arg1)
@Deprecated TypeRef getReturnType()
TypeRef buildReturnType()
Boolean hasReturnType()
A withPrimitiveRefReturnType(PrimitiveRef primitiveRefReturnType)
MethodFluent.PrimitiveRefReturnTypeNested<A> withNewPrimitiveRefReturnType()
MethodFluent.PrimitiveRefReturnTypeNested<A> withNewPrimitiveRefReturnTypeLike(PrimitiveRef item)
MethodFluent.VoidRefReturnTypeNested<A> withNewVoidRefReturnType()
MethodFluent.VoidRefReturnTypeNested<A> withNewVoidRefReturnTypeLike(VoidRef item)
A withWildcardRefReturnType(WildcardRef wildcardRefReturnType)
MethodFluent.WildcardRefReturnTypeNested<A> withNewWildcardRefReturnType()
MethodFluent.WildcardRefReturnTypeNested<A> withNewWildcardRefReturnTypeLike(WildcardRef item)
MethodFluent.ClassRefReturnTypeNested<A> withNewClassRefReturnType()
MethodFluent.ClassRefReturnTypeNested<A> withNewClassRefReturnTypeLike(ClassRef item)
A withTypeParamRefReturnType(TypeParamRef typeParamRefReturnType)
MethodFluent.TypeParamRefReturnTypeNested<A> withNewTypeParamRefReturnType()
MethodFluent.TypeParamRefReturnTypeNested<A> withNewTypeParamRefReturnTypeLike(TypeParamRef 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<PropertyBuilder> predicate)
Boolean hasMatchingArgument(Predicate<PropertyBuilder> predicate)
Boolean hasArguments()
MethodFluent.ArgumentsNested<A> addNewArgument()
MethodFluent.ArgumentsNested<A> addNewArgumentLike(Property item)
MethodFluent.ArgumentsNested<A> setNewArgumentLike(int index, Property item)
MethodFluent.ArgumentsNested<A> editArgument(int index)
MethodFluent.ArgumentsNested<A> editFirstArgument()
MethodFluent.ArgumentsNested<A> editLastArgument()
MethodFluent.ArgumentsNested<A> editMatchingArgument(Predicate<PropertyBuilder> predicate)
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<ClassRefBuilder> predicate)
Boolean hasMatchingException(Predicate<ClassRefBuilder> predicate)
Boolean hasExceptions()
MethodFluent.ExceptionsNested<A> addNewException()
MethodFluent.ExceptionsNested<A> addNewExceptionLike(ClassRef item)
MethodFluent.ExceptionsNested<A> setNewExceptionLike(int index, ClassRef item)
MethodFluent.ExceptionsNested<A> editException(int index)
MethodFluent.ExceptionsNested<A> editFirstException()
MethodFluent.ExceptionsNested<A> editLastException()
MethodFluent.ExceptionsNested<A> editMatchingException(Predicate<ClassRefBuilder> predicate)
@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 © 2019 JBoss by Red Hat. All rights reserved.