public class MethodFluentImpl<A extends MethodFluent<A>> extends ModifierSupportFluentImpl<A> implements MethodFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
MethodFluentImpl.AnnotationsNestedImpl<N> |
class |
MethodFluentImpl.ArgumentsNestedImpl<N> |
class |
MethodFluentImpl.BlockNestedImpl<N> |
class |
MethodFluentImpl.ClassRefReturnTypeNestedImpl<N> |
class |
MethodFluentImpl.ExceptionsNestedImpl<N> |
class |
MethodFluentImpl.ParametersNestedImpl<N> |
class |
MethodFluentImpl.PrimitiveRefReturnTypeNestedImpl<N> |
class |
MethodFluentImpl.TypeParamRefReturnTypeNestedImpl<N> |
class |
MethodFluentImpl.VoidRefReturnTypeNestedImpl<N> |
class |
MethodFluentImpl.WildcardRefReturnTypeNestedImpl<N> |
MethodFluent.AnnotationsNested<N>, MethodFluent.ArgumentsNested<N>, MethodFluent.BlockNested<N>, MethodFluent.ClassRefReturnTypeNested<N>, MethodFluent.ExceptionsNested<N>, MethodFluent.ParametersNested<N>, MethodFluent.PrimitiveRefReturnTypeNested<N>, MethodFluent.TypeParamRefReturnTypeNested<N>, MethodFluent.VoidRefReturnTypeNested<N>, MethodFluent.WildcardRefReturnTypeNested<N>_visitables| Constructor and Description |
|---|
MethodFluentImpl() |
MethodFluentImpl(Method instance) |
getModifiers, hasModifiers, withModifiersaddToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributesaccept, aggregate, aggregate, build, build, builderOfclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModifiers, hasModifiers, withModifiersaddToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributespublic MethodFluentImpl()
public MethodFluentImpl(Method instance)
public A addToComments(int index, java.lang.String item)
addToComments in interface MethodFluent<A extends MethodFluent<A>>public A setToComments(int index, java.lang.String item)
setToComments in interface MethodFluent<A extends MethodFluent<A>>public A addToComments(java.lang.String... items)
addToComments in interface MethodFluent<A extends MethodFluent<A>>public A addAllToComments(java.util.Collection<java.lang.String> items)
addAllToComments in interface MethodFluent<A extends MethodFluent<A>>public A removeFromComments(java.lang.String... items)
removeFromComments in interface MethodFluent<A extends MethodFluent<A>>public A removeAllFromComments(java.util.Collection<java.lang.String> items)
removeAllFromComments in interface MethodFluent<A extends MethodFluent<A>>public java.util.List<java.lang.String> getComments()
getComments in interface MethodFluent<A extends MethodFluent<A>>public java.lang.String getComment(int index)
getComment in interface MethodFluent<A extends MethodFluent<A>>public java.lang.String getFirstComment()
getFirstComment in interface MethodFluent<A extends MethodFluent<A>>public java.lang.String getLastComment()
getLastComment in interface MethodFluent<A extends MethodFluent<A>>public java.lang.String getMatchingComment(Predicate<java.lang.String> predicate)
getMatchingComment in interface MethodFluent<A extends MethodFluent<A>>public A withComments(java.util.List<java.lang.String> comments)
withComments in interface MethodFluent<A extends MethodFluent<A>>public A withComments(java.lang.String... comments)
withComments in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasComments()
hasComments in interface MethodFluent<A extends MethodFluent<A>>public A addToAnnotations(int index, AnnotationRef item)
addToAnnotations in interface MethodFluent<A extends MethodFluent<A>>public A setToAnnotations(int index, AnnotationRef item)
setToAnnotations in interface MethodFluent<A extends MethodFluent<A>>public A addToAnnotations(AnnotationRef... items)
addToAnnotations in interface MethodFluent<A extends MethodFluent<A>>public A addAllToAnnotations(java.util.Collection<AnnotationRef> items)
addAllToAnnotations in interface MethodFluent<A extends MethodFluent<A>>public A removeFromAnnotations(AnnotationRef... items)
removeFromAnnotations in interface MethodFluent<A extends MethodFluent<A>>public A removeAllFromAnnotations(java.util.Collection<AnnotationRef> items)
removeAllFromAnnotations in interface MethodFluent<A extends MethodFluent<A>>@Deprecated public java.util.List<AnnotationRef> getAnnotations()
getAnnotations in interface MethodFluent<A extends MethodFluent<A>>public java.util.List<AnnotationRef> buildAnnotations()
buildAnnotations in interface MethodFluent<A extends MethodFluent<A>>public AnnotationRef buildAnnotation(int index)
buildAnnotation in interface MethodFluent<A extends MethodFluent<A>>public AnnotationRef buildFirstAnnotation()
buildFirstAnnotation in interface MethodFluent<A extends MethodFluent<A>>public AnnotationRef buildLastAnnotation()
buildLastAnnotation in interface MethodFluent<A extends MethodFluent<A>>public AnnotationRef buildMatchingAnnotation(Predicate<Builder<? extends AnnotationRef>> predicate)
buildMatchingAnnotation in interface MethodFluent<A extends MethodFluent<A>>public A withAnnotations(java.util.List<AnnotationRef> annotations)
withAnnotations in interface MethodFluent<A extends MethodFluent<A>>public A withAnnotations(AnnotationRef... annotations)
withAnnotations in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasAnnotations()
hasAnnotations in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.AnnotationsNested<A> addNewAnnotation()
addNewAnnotation in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.AnnotationsNested<A> addNewAnnotationLike(AnnotationRef item)
addNewAnnotationLike in interface MethodFluent<A extends MethodFluent<A>>public A addToParameters(int index, TypeParamDef item)
addToParameters in interface MethodFluent<A extends MethodFluent<A>>public A setToParameters(int index, TypeParamDef item)
setToParameters in interface MethodFluent<A extends MethodFluent<A>>public A addToParameters(TypeParamDef... items)
addToParameters in interface MethodFluent<A extends MethodFluent<A>>public A addAllToParameters(java.util.Collection<TypeParamDef> items)
addAllToParameters in interface MethodFluent<A extends MethodFluent<A>>public A removeFromParameters(TypeParamDef... items)
removeFromParameters in interface MethodFluent<A extends MethodFluent<A>>public A removeAllFromParameters(java.util.Collection<TypeParamDef> items)
removeAllFromParameters in interface MethodFluent<A extends MethodFluent<A>>@Deprecated public java.util.List<TypeParamDef> getParameters()
getParameters in interface MethodFluent<A extends MethodFluent<A>>public java.util.List<TypeParamDef> buildParameters()
buildParameters in interface MethodFluent<A extends MethodFluent<A>>public TypeParamDef buildParameter(int index)
buildParameter in interface MethodFluent<A extends MethodFluent<A>>public TypeParamDef buildFirstParameter()
buildFirstParameter in interface MethodFluent<A extends MethodFluent<A>>public TypeParamDef buildLastParameter()
buildLastParameter in interface MethodFluent<A extends MethodFluent<A>>public TypeParamDef buildMatchingParameter(Predicate<Builder<? extends TypeParamDef>> predicate)
buildMatchingParameter in interface MethodFluent<A extends MethodFluent<A>>public A withParameters(java.util.List<TypeParamDef> parameters)
withParameters in interface MethodFluent<A extends MethodFluent<A>>public A withParameters(TypeParamDef... parameters)
withParameters in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasParameters()
hasParameters in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.ParametersNested<A> addNewParameter()
addNewParameter in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.ParametersNested<A> addNewParameterLike(TypeParamDef item)
addNewParameterLike in interface MethodFluent<A extends MethodFluent<A>>public java.lang.String getName()
getName in interface MethodFluent<A extends MethodFluent<A>>public A withName(java.lang.String name)
withName in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasName()
hasName in interface MethodFluent<A extends MethodFluent<A>>@Deprecated public TypeRef getReturnType()
getReturnType in interface MethodFluent<A extends MethodFluent<A>>public TypeRef buildReturnType()
buildReturnType in interface MethodFluent<A extends MethodFluent<A>>public A withReturnType(TypeRef returnType)
withReturnType in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasReturnType()
hasReturnType in interface MethodFluent<A extends MethodFluent<A>>public A withVoidRefReturnType(VoidRef voidRefReturnType)
withVoidRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.VoidRefReturnTypeNested<A> withNewVoidRefReturnType()
withNewVoidRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.VoidRefReturnTypeNested<A> withNewVoidRefReturnTypeLike(VoidRef item)
withNewVoidRefReturnTypeLike in interface MethodFluent<A extends MethodFluent<A>>public A withWildcardRefReturnType(WildcardRef wildcardRefReturnType)
withWildcardRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.WildcardRefReturnTypeNested<A> withNewWildcardRefReturnType()
withNewWildcardRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.WildcardRefReturnTypeNested<A> withNewWildcardRefReturnTypeLike(WildcardRef item)
withNewWildcardRefReturnTypeLike in interface MethodFluent<A extends MethodFluent<A>>public A withPrimitiveRefReturnType(PrimitiveRef primitiveRefReturnType)
withPrimitiveRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.PrimitiveRefReturnTypeNested<A> withNewPrimitiveRefReturnType()
withNewPrimitiveRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.PrimitiveRefReturnTypeNested<A> withNewPrimitiveRefReturnTypeLike(PrimitiveRef item)
withNewPrimitiveRefReturnTypeLike in interface MethodFluent<A extends MethodFluent<A>>public A withTypeParamRefReturnType(TypeParamRef typeParamRefReturnType)
withTypeParamRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.TypeParamRefReturnTypeNested<A> withNewTypeParamRefReturnType()
withNewTypeParamRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.TypeParamRefReturnTypeNested<A> withNewTypeParamRefReturnTypeLike(TypeParamRef item)
withNewTypeParamRefReturnTypeLike in interface MethodFluent<A extends MethodFluent<A>>public A withClassRefReturnType(ClassRef classRefReturnType)
withClassRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.ClassRefReturnTypeNested<A> withNewClassRefReturnType()
withNewClassRefReturnType in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.ClassRefReturnTypeNested<A> withNewClassRefReturnTypeLike(ClassRef item)
withNewClassRefReturnTypeLike in interface MethodFluent<A extends MethodFluent<A>>public A addToArguments(int index, Property item)
addToArguments in interface MethodFluent<A extends MethodFluent<A>>public A setToArguments(int index, Property item)
setToArguments in interface MethodFluent<A extends MethodFluent<A>>public A addToArguments(Property... items)
addToArguments in interface MethodFluent<A extends MethodFluent<A>>public A addAllToArguments(java.util.Collection<Property> items)
addAllToArguments in interface MethodFluent<A extends MethodFluent<A>>public A removeFromArguments(Property... items)
removeFromArguments in interface MethodFluent<A extends MethodFluent<A>>public A removeAllFromArguments(java.util.Collection<Property> items)
removeAllFromArguments in interface MethodFluent<A extends MethodFluent<A>>@Deprecated public java.util.List<Property> getArguments()
getArguments in interface MethodFluent<A extends MethodFluent<A>>public java.util.List<Property> buildArguments()
buildArguments in interface MethodFluent<A extends MethodFluent<A>>public Property buildArgument(int index)
buildArgument in interface MethodFluent<A extends MethodFluent<A>>public Property buildFirstArgument()
buildFirstArgument in interface MethodFluent<A extends MethodFluent<A>>public Property buildLastArgument()
buildLastArgument in interface MethodFluent<A extends MethodFluent<A>>public Property buildMatchingArgument(Predicate<Builder<? extends Property>> predicate)
buildMatchingArgument in interface MethodFluent<A extends MethodFluent<A>>public A withArguments(java.util.List<Property> arguments)
withArguments in interface MethodFluent<A extends MethodFluent<A>>public A withArguments(Property... arguments)
withArguments in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasArguments()
hasArguments in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.ArgumentsNested<A> addNewArgument()
addNewArgument in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.ArgumentsNested<A> addNewArgumentLike(Property item)
addNewArgumentLike in interface MethodFluent<A extends MethodFluent<A>>public boolean isVarArgPreferred()
isVarArgPreferred in interface MethodFluent<A extends MethodFluent<A>>public A withVarArgPreferred(boolean varArgPreferred)
withVarArgPreferred in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasVarArgPreferred()
hasVarArgPreferred in interface MethodFluent<A extends MethodFluent<A>>public A addToExceptions(int index, ClassRef item)
addToExceptions in interface MethodFluent<A extends MethodFluent<A>>public A setToExceptions(int index, ClassRef item)
setToExceptions in interface MethodFluent<A extends MethodFluent<A>>public A addToExceptions(ClassRef... items)
addToExceptions in interface MethodFluent<A extends MethodFluent<A>>public A addAllToExceptions(java.util.Collection<ClassRef> items)
addAllToExceptions in interface MethodFluent<A extends MethodFluent<A>>public A removeFromExceptions(ClassRef... items)
removeFromExceptions in interface MethodFluent<A extends MethodFluent<A>>public A removeAllFromExceptions(java.util.Collection<ClassRef> items)
removeAllFromExceptions in interface MethodFluent<A extends MethodFluent<A>>@Deprecated public java.util.List<ClassRef> getExceptions()
getExceptions in interface MethodFluent<A extends MethodFluent<A>>public java.util.List<ClassRef> buildExceptions()
buildExceptions in interface MethodFluent<A extends MethodFluent<A>>public ClassRef buildException(int index)
buildException in interface MethodFluent<A extends MethodFluent<A>>public ClassRef buildFirstException()
buildFirstException in interface MethodFluent<A extends MethodFluent<A>>public ClassRef buildLastException()
buildLastException in interface MethodFluent<A extends MethodFluent<A>>public ClassRef buildMatchingException(Predicate<Builder<? extends ClassRef>> predicate)
buildMatchingException in interface MethodFluent<A extends MethodFluent<A>>public A withExceptions(java.util.List<ClassRef> exceptions)
withExceptions in interface MethodFluent<A extends MethodFluent<A>>public A withExceptions(ClassRef... exceptions)
withExceptions in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasExceptions()
hasExceptions in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.ExceptionsNested<A> addNewException()
addNewException in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.ExceptionsNested<A> addNewExceptionLike(ClassRef item)
addNewExceptionLike in interface MethodFluent<A extends MethodFluent<A>>@Deprecated public Block getBlock()
getBlock in interface MethodFluent<A extends MethodFluent<A>>public Block buildBlock()
buildBlock in interface MethodFluent<A extends MethodFluent<A>>public A withBlock(Block block)
withBlock in interface MethodFluent<A extends MethodFluent<A>>public java.lang.Boolean hasBlock()
hasBlock in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.BlockNested<A> withNewBlock()
withNewBlock in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.BlockNested<A> withNewBlockLike(Block item)
withNewBlockLike in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.BlockNested<A> editBlock()
editBlock in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.BlockNested<A> editOrNewBlock()
editOrNewBlock in interface MethodFluent<A extends MethodFluent<A>>public MethodFluent.BlockNested<A> editOrNewBlockLike(Block item)
editOrNewBlockLike in interface MethodFluent<A extends MethodFluent<A>>public boolean equals(java.lang.Object o)
equals in class ModifierSupportFluentImpl<A extends MethodFluent<A>>Copyright © 2018. All Rights Reserved.