public class TypeDefFluentImpl<A extends TypeDefFluent<A>> extends ModifierSupportFluentImpl<A> implements TypeDefFluent<A>
Type | Property and Description |
---|---|
TypeDefFluent.PropertiesNested<A> |
addNew |
Property |
buildFirst |
Property |
buildLast |
TypeDefFluent.PropertiesNested<A> |
editFirst |
TypeDefFluent.PropertiesNested<A> |
editLast |
Modifier and Type | Class and Description |
---|---|
class |
TypeDefFluentImpl.AnnotationsNestedImpl<N> |
class |
TypeDefFluentImpl.ConstructorsNestedImpl<N> |
class |
TypeDefFluentImpl.ExtendsListNestedImpl<N> |
class |
TypeDefFluentImpl.ImplementsListNestedImpl<N> |
class |
TypeDefFluentImpl.InnerTypesNestedImpl<N> |
class |
TypeDefFluentImpl.MethodsNestedImpl<N> |
class |
TypeDefFluentImpl.OuterTypeNestedImpl<N> |
class |
TypeDefFluentImpl.ParametersNestedImpl<N> |
class |
TypeDefFluentImpl.PropertiesNestedImpl<N> |
TypeDefFluent.AnnotationsNested<N>, TypeDefFluent.ConstructorsNested<N>, TypeDefFluent.ExtendsListNested<N>, TypeDefFluent.ImplementsListNested<N>, TypeDefFluent.InnerTypesNested<N>, TypeDefFluent.MethodsNested<N>, TypeDefFluent.OuterTypeNested<N>, TypeDefFluent.ParametersNested<N>, TypeDefFluent.PropertiesNested<N>
_visitables
Constructor and Description |
---|
TypeDefFluentImpl() |
TypeDefFluentImpl(TypeDef instance) |
getModifiers, hasModifiers, withModifiers
addToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributes
accept, aggregate, aggregate, build, build, builderOf
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModifiers, hasModifiers, withModifiers
addToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributes
public Property buildFirstProperty
buildFirstProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Property buildLastProperty
buildLastProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A extends TypeDefFluent<A>> addNewProperty
addNewProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A extends TypeDefFluent<A>> editFirstProperty
editFirstProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A extends TypeDefFluent<A>> editLastProperty
editLastProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluentImpl()
public TypeDefFluentImpl(TypeDef instance)
public Kind getKind()
getKind
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withKind(Kind kind)
withKind
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasKind()
hasKind
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public String getPackageName()
getPackageName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withPackageName(String packageName)
withPackageName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasPackageName()
hasPackageName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withNewPackageName(String arg1)
withNewPackageName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withNewPackageName(StringBuilder arg1)
withNewPackageName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withNewPackageName(StringBuffer arg1)
withNewPackageName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public String getName()
getName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withName(String name)
withName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasName()
hasName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withNewName(String arg1)
withNewName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withNewName(StringBuilder arg1)
withNewName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withNewName(StringBuffer arg1)
withNewName
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToComments(int index, String item)
addToComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToComments(int index, String item)
setToComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToComments(String... items)
addToComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToComments(Collection<String> items)
addAllToComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromComments(String... items)
removeFromComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromComments(Collection<String> items)
removeAllFromComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<String> getComments()
getComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public String getComment(int index)
getComment
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public String getFirstComment()
getFirstComment
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public String getLastComment()
getLastComment
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public String getMatchingComment(Predicate<String> predicate)
getMatchingComment
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingComment(Predicate<String> predicate)
hasMatchingComment
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withComments(List<String> comments)
withComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withComments(String... comments)
withComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasComments()
hasComments
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addNewComment(String arg1)
addNewComment
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addNewComment(StringBuilder arg1)
addNewComment
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addNewComment(StringBuffer arg1)
addNewComment
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToAnnotations(int index, AnnotationRef item)
addToAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToAnnotations(int index, AnnotationRef item)
setToAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToAnnotations(AnnotationRef... items)
addToAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToAnnotations(Collection<AnnotationRef> items)
addAllToAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromAnnotations(AnnotationRef... items)
removeFromAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromAnnotations(Collection<AnnotationRef> items)
removeAllFromAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public List<AnnotationRef> getAnnotations()
getAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<AnnotationRef> buildAnnotations()
buildAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public AnnotationRef buildAnnotation(int index)
buildAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public AnnotationRef buildFirstAnnotation()
buildFirstAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public AnnotationRef buildLastAnnotation()
buildLastAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public AnnotationRef buildMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
buildMatchingAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
hasMatchingAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withAnnotations(List<AnnotationRef> annotations)
withAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withAnnotations(AnnotationRef... annotations)
withAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasAnnotations()
hasAnnotations
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.AnnotationsNested<A> addNewAnnotation()
addNewAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.AnnotationsNested<A> addNewAnnotationLike(AnnotationRef item)
addNewAnnotationLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.AnnotationsNested<A> setNewAnnotationLike(int index, AnnotationRef item)
setNewAnnotationLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.AnnotationsNested<A> editAnnotation(int index)
editAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.AnnotationsNested<A> editFirstAnnotation()
editFirstAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.AnnotationsNested<A> editLastAnnotation()
editLastAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.AnnotationsNested<A> editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
editMatchingAnnotation
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToExtendsList(int index, ClassRef item)
addToExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToExtendsList(int index, ClassRef item)
setToExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToExtendsList(ClassRef... items)
addToExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToExtendsList(Collection<ClassRef> items)
addAllToExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromExtendsList(ClassRef... items)
removeFromExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromExtendsList(Collection<ClassRef> items)
removeAllFromExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public List<ClassRef> getExtendsList()
getExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<ClassRef> buildExtendsList()
buildExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public ClassRef buildExtendsList(int index)
buildExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public ClassRef buildFirstExtendsList()
buildFirstExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public ClassRef buildLastExtendsList()
buildLastExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public ClassRef buildMatchingExtendsList(Predicate<ClassRefBuilder> predicate)
buildMatchingExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingExtendsList(Predicate<ClassRefBuilder> predicate)
hasMatchingExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withExtendsList(List<ClassRef> extendsList)
withExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withExtendsList(ClassRef... extendsList)
withExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasExtendsList()
hasExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ExtendsListNested<A> addNewExtendsList()
addNewExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ExtendsListNested<A> addNewExtendsListLike(ClassRef item)
addNewExtendsListLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ExtendsListNested<A> setNewExtendsListLike(int index, ClassRef item)
setNewExtendsListLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ExtendsListNested<A> editExtendsList(int index)
editExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ExtendsListNested<A> editFirstExtendsList()
editFirstExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ExtendsListNested<A> editLastExtendsList()
editLastExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ExtendsListNested<A> editMatchingExtendsList(Predicate<ClassRefBuilder> predicate)
editMatchingExtendsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToImplementsList(int index, ClassRef item)
addToImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToImplementsList(int index, ClassRef item)
setToImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToImplementsList(ClassRef... items)
addToImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToImplementsList(Collection<ClassRef> items)
addAllToImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromImplementsList(ClassRef... items)
removeFromImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromImplementsList(Collection<ClassRef> items)
removeAllFromImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public List<ClassRef> getImplementsList()
getImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<ClassRef> buildImplementsList()
buildImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public ClassRef buildImplementsList(int index)
buildImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public ClassRef buildFirstImplementsList()
buildFirstImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public ClassRef buildLastImplementsList()
buildLastImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public ClassRef buildMatchingImplementsList(Predicate<ClassRefBuilder> predicate)
buildMatchingImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingImplementsList(Predicate<ClassRefBuilder> predicate)
hasMatchingImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withImplementsList(List<ClassRef> implementsList)
withImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withImplementsList(ClassRef... implementsList)
withImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasImplementsList()
hasImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ImplementsListNested<A> addNewImplementsList()
addNewImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ImplementsListNested<A> addNewImplementsListLike(ClassRef item)
addNewImplementsListLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ImplementsListNested<A> setNewImplementsListLike(int index, ClassRef item)
setNewImplementsListLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ImplementsListNested<A> editImplementsList(int index)
editImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ImplementsListNested<A> editFirstImplementsList()
editFirstImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ImplementsListNested<A> editLastImplementsList()
editLastImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ImplementsListNested<A> editMatchingImplementsList(Predicate<ClassRefBuilder> predicate)
editMatchingImplementsList
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToParameters(int index, TypeParamDef item)
addToParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToParameters(int index, TypeParamDef item)
setToParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToParameters(TypeParamDef... items)
addToParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToParameters(Collection<TypeParamDef> items)
addAllToParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromParameters(TypeParamDef... items)
removeFromParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromParameters(Collection<TypeParamDef> items)
removeAllFromParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public List<TypeParamDef> getParameters()
getParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<TypeParamDef> buildParameters()
buildParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeParamDef buildParameter(int index)
buildParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeParamDef buildFirstParameter()
buildFirstParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeParamDef buildLastParameter()
buildLastParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeParamDef buildMatchingParameter(Predicate<TypeParamDefBuilder> predicate)
buildMatchingParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingParameter(Predicate<TypeParamDefBuilder> predicate)
hasMatchingParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withParameters(List<TypeParamDef> parameters)
withParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withParameters(TypeParamDef... parameters)
withParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasParameters()
hasParameters
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ParametersNested<A> addNewParameter()
addNewParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ParametersNested<A> addNewParameterLike(TypeParamDef item)
addNewParameterLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ParametersNested<A> setNewParameterLike(int index, TypeParamDef item)
setNewParameterLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ParametersNested<A> editParameter(int index)
editParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ParametersNested<A> editFirstParameter()
editFirstParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ParametersNested<A> editLastParameter()
editLastParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ParametersNested<A> editMatchingParameter(Predicate<TypeParamDefBuilder> predicate)
editMatchingParameter
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToProperties(int index, Property item)
addToProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToProperties(int index, Property item)
setToProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToProperties(Property... items)
addToProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToProperties(Collection<Property> items)
addAllToProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromProperties(Property... items)
removeFromProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromProperties(Collection<Property> items)
removeAllFromProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public List<Property> getProperties()
getProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<Property> buildProperties()
buildProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Property buildProperty(int index)
buildProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Property buildFirstProperty()
buildFirstProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Property buildLastProperty()
buildLastProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Property buildMatchingProperty(Predicate<PropertyBuilder> predicate)
buildMatchingProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingProperty(Predicate<PropertyBuilder> predicate)
hasMatchingProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withProperties(List<Property> properties)
withProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withProperties(Property... properties)
withProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasProperties()
hasProperties
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A> addNewProperty()
addNewProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A> addNewPropertyLike(Property item)
addNewPropertyLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A> setNewPropertyLike(int index, Property item)
setNewPropertyLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A> editProperty(int index)
editProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A> editFirstProperty()
editFirstProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A> editLastProperty()
editLastProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.PropertiesNested<A> editMatchingProperty(Predicate<PropertyBuilder> predicate)
editMatchingProperty
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToConstructors(int index, Method item)
addToConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToConstructors(int index, Method item)
setToConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToConstructors(Method... items)
addToConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToConstructors(Collection<Method> items)
addAllToConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromConstructors(Method... items)
removeFromConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromConstructors(Collection<Method> items)
removeAllFromConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public List<Method> getConstructors()
getConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<Method> buildConstructors()
buildConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Method buildConstructor(int index)
buildConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Method buildFirstConstructor()
buildFirstConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Method buildLastConstructor()
buildLastConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Method buildMatchingConstructor(Predicate<MethodBuilder> predicate)
buildMatchingConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingConstructor(Predicate<MethodBuilder> predicate)
hasMatchingConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withConstructors(List<Method> constructors)
withConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withConstructors(Method... constructors)
withConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasConstructors()
hasConstructors
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ConstructorsNested<A> addNewConstructor()
addNewConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ConstructorsNested<A> addNewConstructorLike(Method item)
addNewConstructorLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ConstructorsNested<A> setNewConstructorLike(int index, Method item)
setNewConstructorLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ConstructorsNested<A> editConstructor(int index)
editConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ConstructorsNested<A> editFirstConstructor()
editFirstConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ConstructorsNested<A> editLastConstructor()
editLastConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.ConstructorsNested<A> editMatchingConstructor(Predicate<MethodBuilder> predicate)
editMatchingConstructor
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToMethods(int index, Method item)
addToMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToMethods(int index, Method item)
setToMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToMethods(Method... items)
addToMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToMethods(Collection<Method> items)
addAllToMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromMethods(Method... items)
removeFromMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromMethods(Collection<Method> items)
removeAllFromMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public List<Method> getMethods()
getMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<Method> buildMethods()
buildMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Method buildMethod(int index)
buildMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Method buildFirstMethod()
buildFirstMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Method buildLastMethod()
buildLastMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Method buildMatchingMethod(Predicate<MethodBuilder> predicate)
buildMatchingMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingMethod(Predicate<MethodBuilder> predicate)
hasMatchingMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withMethods(List<Method> methods)
withMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withMethods(Method... methods)
withMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMethods()
hasMethods
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.MethodsNested<A> addNewMethod()
addNewMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.MethodsNested<A> addNewMethodLike(Method item)
addNewMethodLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.MethodsNested<A> setNewMethodLike(int index, Method item)
setNewMethodLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.MethodsNested<A> editMethod(int index)
editMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.MethodsNested<A> editFirstMethod()
editFirstMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.MethodsNested<A> editLastMethod()
editLastMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.MethodsNested<A> editMatchingMethod(Predicate<MethodBuilder> predicate)
editMatchingMethod
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public TypeDef getOuterType()
getOuterType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDef buildOuterType()
buildOuterType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withOuterType(TypeDef outerType)
withOuterType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasOuterType()
hasOuterType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.OuterTypeNested<A> withNewOuterType()
withNewOuterType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.OuterTypeNested<A> withNewOuterTypeLike(TypeDef item)
withNewOuterTypeLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.OuterTypeNested<A> editOuterType()
editOuterType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.OuterTypeNested<A> editOrNewOuterType()
editOrNewOuterType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.OuterTypeNested<A> editOrNewOuterTypeLike(TypeDef item)
editOrNewOuterTypeLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToInnerTypes(int index, TypeDef item)
addToInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A setToInnerTypes(int index, TypeDef item)
setToInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addToInnerTypes(TypeDef... items)
addToInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A addAllToInnerTypes(Collection<TypeDef> items)
addAllToInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeFromInnerTypes(TypeDef... items)
removeFromInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A removeAllFromInnerTypes(Collection<TypeDef> items)
removeAllFromInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
@Deprecated public List<TypeDef> getInnerTypes()
getInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public List<TypeDef> buildInnerTypes()
buildInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDef buildInnerType(int index)
buildInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDef buildFirstInnerType()
buildFirstInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDef buildLastInnerType()
buildLastInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDef buildMatchingInnerType(Predicate<TypeDefBuilder> predicate)
buildMatchingInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasMatchingInnerType(Predicate<TypeDefBuilder> predicate)
hasMatchingInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withInnerTypes(List<TypeDef> innerTypes)
withInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public A withInnerTypes(TypeDef... innerTypes)
withInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public Boolean hasInnerTypes()
hasInnerTypes
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.InnerTypesNested<A> addNewInnerType()
addNewInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.InnerTypesNested<A> addNewInnerTypeLike(TypeDef item)
addNewInnerTypeLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.InnerTypesNested<A> setNewInnerTypeLike(int index, TypeDef item)
setNewInnerTypeLike
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.InnerTypesNested<A> editInnerType(int index)
editInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.InnerTypesNested<A> editFirstInnerType()
editFirstInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.InnerTypesNested<A> editLastInnerType()
editLastInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public TypeDefFluent.InnerTypesNested<A> editMatchingInnerType(Predicate<TypeDefBuilder> predicate)
editMatchingInnerType
in interface TypeDefFluent<A extends TypeDefFluent<A>>
public boolean equals(Object o)
equals
in class ModifierSupportFluentImpl<A extends TypeDefFluent<A>>
Copyright © 2019 JBoss by Red Hat. All rights reserved.