Package io.sundr.model
Class TypeDefFluent<A extends TypeDefFluent<A>>
java.lang.Object
io.sundr.builder.BaseFluent<A>
io.sundr.model.AttributeSupportFluent<A>
io.sundr.model.ModifierSupportFluent<A>
io.sundr.model.TypeDefFluent<A>
- Direct Known Subclasses:
SourceFluent.TypesNested,TypeDefBuilder,TypeDefFluent.InnerTypesNested
Generated
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassNested classes/interfaces inherited from class io.sundr.model.ModifierSupportFluent
ModifierSupportFluent.ModifiersNested<N> -
Field Summary
Fields inherited from class io.sundr.builder.BaseFluent
_visitables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllToComments(Collection<String> items) addAllToConstructors(Collection<Method> items) addAllToExtendsList(Collection<ClassRef> items) addAllToImplementsList(Collection<ClassRef> items) addAllToInnerTypes(Collection<TypeDef> items) addAllToMethods(Collection<Method> items) addAllToParameters(Collection<TypeParamDef> items) addAllToProperties(Collection<Property> items) addNewConstructorLike(Method item) addNewInnerType(String fullyQualifiedName) addNewInnerTypeLike(TypeDef item) addNewMethodLike(Method item) addNewPropertyLike(Property item) addToAnnotations(int index, AnnotationRef item) addToAnnotations(AnnotationRef... items) addToComments(int index, String item) addToComments(String... items) addToConstructors(int index, Method item) addToConstructors(Method... items) addToExtendsList(int index, ClassRef item) addToExtendsList(ClassRef... items) addToImplementsList(int index, ClassRef item) addToImplementsList(ClassRef... items) addToInnerTypes(int index, TypeDef item) addToInnerTypes(TypeDef... items) addToMethods(int index, Method item) addToMethods(Method... items) addToParameters(int index, TypeParamDef item) addToParameters(TypeParamDef... items) addToProperties(int index, Property item) addToProperties(Property... items) buildAnnotation(int index) buildConstructor(int index) buildExtendsList(int index) buildImplementsList(int index) buildInnerType(int index) buildMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) buildMatchingConstructor(Predicate<MethodBuilder> predicate) buildMatchingExtendsList(Predicate<ClassRefBuilder> predicate) buildMatchingImplementsList(Predicate<ClassRefBuilder> predicate) buildMatchingInnerType(Predicate<TypeDefBuilder> predicate) buildMatchingMethod(Predicate<MethodBuilder> predicate) buildMatchingParameter(Predicate<TypeParamDefBuilder> predicate) buildMatchingProperty(Predicate<PropertyBuilder> predicate) buildMethod(int index) buildParameter(int index) buildProperty(int index) protected voidcopyInstance(TypeDef instance) editAnnotation(int index) editConstructor(int index) editExtendsList(int index) editImplementsList(int index) editInnerType(int index) editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) editMatchingConstructor(Predicate<MethodBuilder> predicate) editMatchingExtendsList(Predicate<ClassRefBuilder> predicate) editMatchingImplementsList(Predicate<ClassRefBuilder> predicate) editMatchingInnerType(Predicate<TypeDefBuilder> predicate) editMatchingMethod(Predicate<MethodBuilder> predicate) editMatchingParameter(Predicate<TypeParamDefBuilder> predicate) editMatchingProperty(Predicate<PropertyBuilder> predicate) editMethod(int index) editParameter(int index) editProperty(int index) booleangetComment(int index) getKind()getMatchingComment(Predicate<String> predicate) getName()booleanbooleanbooleanbooleaninthashCode()booleanbooleanbooleanhasKind()booleanhasMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) booleanhasMatchingComment(Predicate<String> predicate) booleanhasMatchingConstructor(Predicate<MethodBuilder> predicate) booleanhasMatchingExtendsList(Predicate<ClassRefBuilder> predicate) booleanhasMatchingImplementsList(Predicate<ClassRefBuilder> predicate) booleanhasMatchingInnerType(Predicate<TypeDefBuilder> predicate) booleanhasMatchingMethod(Predicate<MethodBuilder> predicate) booleanhasMatchingParameter(Predicate<TypeParamDefBuilder> predicate) booleanhasMatchingProperty(Predicate<PropertyBuilder> predicate) booleanbooleanhasName()booleanbooleanbooleanbooleanremoveAllFromComments(Collection<String> items) removeAllFromInnerTypes(Collection<TypeDef> items) removeAllFromMethods(Collection<Method> items) removeFromAnnotations(AnnotationRef... items) removeFromComments(String... items) removeFromConstructors(Method... items) removeFromExtendsList(ClassRef... items) removeFromImplementsList(ClassRef... items) removeFromInnerTypes(TypeDef... items) removeFromMethods(Method... items) removeFromParameters(TypeParamDef... items) removeFromProperties(Property... items) removeMatchingFromConstructors(Predicate<MethodBuilder> predicate) removeMatchingFromExtendsList(Predicate<ClassRefBuilder> predicate) removeMatchingFromImplementsList(Predicate<ClassRefBuilder> predicate) removeMatchingFromInnerTypes(Predicate<TypeDefBuilder> predicate) removeMatchingFromMethods(Predicate<MethodBuilder> predicate) removeMatchingFromParameters(Predicate<TypeParamDefBuilder> predicate) removeMatchingFromProperties(Predicate<PropertyBuilder> predicate) setNewAnnotationLike(int index, AnnotationRef item) setNewConstructorLike(int index, Method item) setNewExtendsListLike(int index, ClassRef item) setNewImplementsListLike(int index, ClassRef item) setNewInnerTypeLike(int index, TypeDef item) setNewMethodLike(int index, Method item) setNewParameterLike(int index, TypeParamDef item) setNewPropertyLike(int index, Property item) setToAnnotations(int index, AnnotationRef item) setToComments(int index, String item) setToConstructors(int index, Method item) setToExtendsList(int index, ClassRef item) setToImplementsList(int index, ClassRef item) setToInnerTypes(int index, TypeDef item) setToMethods(int index, Method item) setToParameters(int index, TypeParamDef item) setToProperties(int index, Property item) toString()withAnnotations(AnnotationRef... annotations) withAnnotations(List<AnnotationRef> annotations) withComments(String... comments) withComments(List<String> comments) withConstructors(Method... constructors) withConstructors(List<Method> constructors) withExtendsList(ClassRef... extendsList) withExtendsList(List<ClassRef> extendsList) withImplementsList(ClassRef... implementsList) withImplementsList(List<ClassRef> implementsList) withInnerTypes(TypeDef... innerTypes) withInnerTypes(List<TypeDef> innerTypes) withMethods(Method... methods) withMethods(List<Method> methods) withOuterTypeName(String outerTypeName) withPackageName(String packageName) withParameters(TypeParamDef... parameters) withParameters(List<TypeParamDef> parameters) withProperties(Property... properties) withProperties(List<Property> properties) Methods inherited from class io.sundr.model.ModifierSupportFluent
buildModifiers, copyInstance, editModifiers, editOrNewModifiers, editOrNewModifiersLike, hasModifiers, withModifiers, withNewModifiers, withNewModifiersLikeMethods inherited from class io.sundr.model.AttributeSupportFluent
addToAttributes, addToAttributes, copyInstance, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributesMethods inherited from class io.sundr.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
Constructor Details
-
TypeDefFluent
public TypeDefFluent() -
TypeDefFluent
-
-
Method Details
-
addAllToAnnotations
-
addAllToComments
-
addAllToConstructors
-
addAllToExtendsList
-
addAllToImplementsList
-
addAllToInnerTypes
-
addAllToMethods
-
addAllToParameters
-
addAllToProperties
-
addNewAnnotation
-
addNewAnnotationLike
-
addNewConstructor
-
addNewConstructorLike
-
addNewExtendsList
-
addNewExtendsListLike
-
addNewImplementsList
-
addNewImplementsListLike
-
addNewInnerType
-
addNewInnerType
-
addNewInnerTypeLike
-
addNewMethod
-
addNewMethodLike
-
addNewParameter
-
addNewParameterLike
-
addNewProperty
-
addNewPropertyLike
-
addToAnnotations
-
addToAnnotations
-
addToComments
-
addToComments
-
addToConstructors
-
addToConstructors
-
addToExtendsList
-
addToExtendsList
-
addToImplementsList
-
addToImplementsList
-
addToInnerTypes
-
addToInnerTypes
-
addToMethods
-
addToMethods
-
addToParameters
-
addToParameters
-
addToProperties
-
addToProperties
-
buildAnnotation
-
buildAnnotations
-
buildConstructor
-
buildConstructors
-
buildExtendsList
-
buildExtendsList
-
buildFirstAnnotation
-
buildFirstConstructor
-
buildFirstExtendsList
-
buildFirstImplementsList
-
buildFirstInnerType
-
buildFirstMethod
-
buildFirstParameter
-
buildFirstProperty
-
buildImplementsList
-
buildImplementsList
-
buildInnerType
-
buildInnerTypes
-
buildLastAnnotation
-
buildLastConstructor
-
buildLastExtendsList
-
buildLastImplementsList
-
buildLastInnerType
-
buildLastMethod
-
buildLastParameter
-
buildLastProperty
-
buildMatchingAnnotation
-
buildMatchingConstructor
-
buildMatchingExtendsList
-
buildMatchingImplementsList
-
buildMatchingInnerType
-
buildMatchingMethod
-
buildMatchingParameter
-
buildMatchingProperty
-
buildMethod
-
buildMethods
-
buildParameter
-
buildParameters
-
buildProperties
-
buildProperty
-
copyInstance
-
editAnnotation
-
editConstructor
-
editExtendsList
-
editFirstAnnotation
-
editFirstConstructor
-
editFirstExtendsList
-
editFirstImplementsList
-
editFirstInnerType
-
editFirstMethod
-
editFirstParameter
-
editFirstProperty
-
editImplementsList
-
editInnerType
-
editLastAnnotation
-
editLastConstructor
-
editLastExtendsList
-
editLastImplementsList
-
editLastInnerType
-
editLastMethod
-
editLastParameter
-
editLastProperty
-
editMatchingAnnotation
public TypeDefFluent<A>.AnnotationsNested<A> editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) -
editMatchingConstructor
public TypeDefFluent<A>.ConstructorsNested<A> editMatchingConstructor(Predicate<MethodBuilder> predicate) -
editMatchingExtendsList
public TypeDefFluent<A>.ExtendsListNested<A> editMatchingExtendsList(Predicate<ClassRefBuilder> predicate) -
editMatchingImplementsList
public TypeDefFluent<A>.ImplementsListNested<A> editMatchingImplementsList(Predicate<ClassRefBuilder> predicate) -
editMatchingInnerType
public TypeDefFluent<A>.InnerTypesNested<A> editMatchingInnerType(Predicate<TypeDefBuilder> predicate) -
editMatchingMethod
-
editMatchingParameter
public TypeDefFluent<A>.ParametersNested<A> editMatchingParameter(Predicate<TypeParamDefBuilder> predicate) -
editMatchingProperty
public TypeDefFluent<A>.PropertiesNested<A> editMatchingProperty(Predicate<PropertyBuilder> predicate) -
editMethod
-
editParameter
-
editProperty
-
equals
- Overrides:
equalsin classModifierSupportFluent<A extends TypeDefFluent<A>>
-
getComment
-
getComments
-
getFirstComment
-
getKind
-
getLastComment
-
getMatchingComment
-
getName
-
getOuterTypeName
-
getPackageName
-
hasAnnotations
public boolean hasAnnotations() -
hasComments
public boolean hasComments() -
hasConstructors
public boolean hasConstructors() -
hasExtendsList
public boolean hasExtendsList() -
hasImplementsList
public boolean hasImplementsList() -
hasInnerTypes
public boolean hasInnerTypes() -
hasKind
public boolean hasKind() -
hasMatchingAnnotation
-
hasMatchingComment
-
hasMatchingConstructor
-
hasMatchingExtendsList
-
hasMatchingImplementsList
-
hasMatchingInnerType
-
hasMatchingMethod
-
hasMatchingParameter
-
hasMatchingProperty
-
hasMethods
public boolean hasMethods() -
hasName
public boolean hasName() -
hasOuterTypeName
public boolean hasOuterTypeName() -
hasPackageName
public boolean hasPackageName() -
hasParameters
public boolean hasParameters() -
hasProperties
public boolean hasProperties() -
hashCode
public int hashCode()- Overrides:
hashCodein classModifierSupportFluent<A extends TypeDefFluent<A>>
-
removeAllFromAnnotations
-
removeAllFromComments
-
removeAllFromConstructors
-
removeAllFromExtendsList
-
removeAllFromImplementsList
-
removeAllFromInnerTypes
-
removeAllFromMethods
-
removeAllFromParameters
-
removeAllFromProperties
-
removeFromAnnotations
-
removeFromComments
-
removeFromConstructors
-
removeFromExtendsList
-
removeFromImplementsList
-
removeFromInnerTypes
-
removeFromMethods
-
removeFromParameters
-
removeFromProperties
-
removeMatchingFromAnnotations
-
removeMatchingFromConstructors
-
removeMatchingFromExtendsList
-
removeMatchingFromImplementsList
-
removeMatchingFromInnerTypes
-
removeMatchingFromMethods
-
removeMatchingFromParameters
-
removeMatchingFromProperties
-
setNewAnnotationLike
-
setNewConstructorLike
-
setNewExtendsListLike
-
setNewImplementsListLike
-
setNewInnerTypeLike
-
setNewMethodLike
-
setNewParameterLike
-
setNewPropertyLike
-
setToAnnotations
-
setToComments
-
setToConstructors
-
setToExtendsList
-
setToImplementsList
-
setToInnerTypes
-
setToMethods
-
setToParameters
-
setToProperties
-
toString
- Overrides:
toStringin classModifierSupportFluent<A extends TypeDefFluent<A>>
-
withAnnotations
-
withAnnotations
-
withComments
-
withComments
-
withConstructors
-
withConstructors
-
withExtendsList
-
withExtendsList
-
withImplementsList
-
withImplementsList
-
withInnerTypes
-
withInnerTypes
-
withKind
-
withMethods
-
withMethods
-
withName
-
withOuterTypeName
-
withPackageName
-
withParameters
-
withParameters
-
withProperties
-
withProperties
-