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
-
copyInstance
-
getKind
-
withKind
-
hasKind
public boolean hasKind() -
getPackageName
-
withPackageName
-
hasPackageName
public boolean hasPackageName() -
getName
-
withName
-
hasName
public boolean hasName() -
addToComments
-
setToComments
-
addToComments
-
addAllToComments
-
removeFromComments
-
removeAllFromComments
-
getComments
-
getComment
-
getFirstComment
-
getLastComment
-
getMatchingComment
-
hasMatchingComment
-
withComments
-
withComments
-
hasComments
public boolean hasComments() -
addToAnnotations
-
setToAnnotations
-
addToAnnotations
-
addAllToAnnotations
-
removeFromAnnotations
-
removeAllFromAnnotations
-
removeMatchingFromAnnotations
-
buildAnnotations
-
buildAnnotation
-
buildFirstAnnotation
-
buildLastAnnotation
-
buildMatchingAnnotation
-
hasMatchingAnnotation
-
withAnnotations
-
withAnnotations
-
hasAnnotations
public boolean hasAnnotations() -
addNewAnnotation
-
addNewAnnotationLike
-
setNewAnnotationLike
-
editAnnotation
-
editFirstAnnotation
-
editLastAnnotation
-
editMatchingAnnotation
public TypeDefFluent<A>.AnnotationsNested<A> editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) -
addToExtendsList
-
setToExtendsList
-
addToExtendsList
-
addAllToExtendsList
-
removeFromExtendsList
-
removeAllFromExtendsList
-
removeMatchingFromExtendsList
-
buildExtendsList
-
buildExtendsList
-
buildFirstExtendsList
-
buildLastExtendsList
-
buildMatchingExtendsList
-
hasMatchingExtendsList
-
withExtendsList
-
withExtendsList
-
hasExtendsList
public boolean hasExtendsList() -
addNewExtendsList
-
addNewExtendsListLike
-
setNewExtendsListLike
-
editExtendsList
-
editFirstExtendsList
-
editLastExtendsList
-
editMatchingExtendsList
public TypeDefFluent<A>.ExtendsListNested<A> editMatchingExtendsList(Predicate<ClassRefBuilder> predicate) -
addToImplementsList
-
setToImplementsList
-
addToImplementsList
-
addAllToImplementsList
-
removeFromImplementsList
-
removeAllFromImplementsList
-
removeMatchingFromImplementsList
-
buildImplementsList
-
buildImplementsList
-
buildFirstImplementsList
-
buildLastImplementsList
-
buildMatchingImplementsList
-
hasMatchingImplementsList
-
withImplementsList
-
withImplementsList
-
hasImplementsList
public boolean hasImplementsList() -
addNewImplementsList
-
addNewImplementsListLike
-
setNewImplementsListLike
-
editImplementsList
-
editFirstImplementsList
-
editLastImplementsList
-
editMatchingImplementsList
public TypeDefFluent<A>.ImplementsListNested<A> editMatchingImplementsList(Predicate<ClassRefBuilder> predicate) -
addToParameters
-
setToParameters
-
addToParameters
-
addAllToParameters
-
removeFromParameters
-
removeAllFromParameters
-
removeMatchingFromParameters
-
buildParameters
-
buildParameter
-
buildFirstParameter
-
buildLastParameter
-
buildMatchingParameter
-
hasMatchingParameter
-
withParameters
-
withParameters
-
hasParameters
public boolean hasParameters() -
addNewParameter
-
addNewParameterLike
-
setNewParameterLike
-
editParameter
-
editFirstParameter
-
editLastParameter
-
editMatchingParameter
public TypeDefFluent<A>.ParametersNested<A> editMatchingParameter(Predicate<TypeParamDefBuilder> predicate) -
addToProperties
-
setToProperties
-
addToProperties
-
addAllToProperties
-
removeFromProperties
-
removeAllFromProperties
-
removeMatchingFromProperties
-
buildProperties
-
buildProperty
-
buildFirstProperty
-
buildLastProperty
-
buildMatchingProperty
-
hasMatchingProperty
-
withProperties
-
withProperties
-
hasProperties
public boolean hasProperties() -
addNewProperty
-
addNewPropertyLike
-
setNewPropertyLike
-
editProperty
-
editFirstProperty
-
editLastProperty
-
editMatchingProperty
public TypeDefFluent<A>.PropertiesNested<A> editMatchingProperty(Predicate<PropertyBuilder> predicate) -
addToConstructors
-
setToConstructors
-
addToConstructors
-
addAllToConstructors
-
removeFromConstructors
-
removeAllFromConstructors
-
removeMatchingFromConstructors
-
buildConstructors
-
buildConstructor
-
buildFirstConstructor
-
buildLastConstructor
-
buildMatchingConstructor
-
hasMatchingConstructor
-
withConstructors
-
withConstructors
-
hasConstructors
public boolean hasConstructors() -
addNewConstructor
-
addNewConstructorLike
-
setNewConstructorLike
-
editConstructor
-
editFirstConstructor
-
editLastConstructor
-
editMatchingConstructor
public TypeDefFluent<A>.ConstructorsNested<A> editMatchingConstructor(Predicate<MethodBuilder> predicate) -
addToMethods
-
setToMethods
-
addToMethods
-
addAllToMethods
-
removeFromMethods
-
removeAllFromMethods
-
removeMatchingFromMethods
-
buildMethods
-
buildMethod
-
buildFirstMethod
-
buildLastMethod
-
buildMatchingMethod
-
hasMatchingMethod
-
withMethods
-
withMethods
-
hasMethods
public boolean hasMethods() -
addNewMethod
-
addNewMethodLike
-
setNewMethodLike
-
editMethod
-
editFirstMethod
-
editLastMethod
-
editMatchingMethod
-
getOuterTypeName
-
withOuterTypeName
-
hasOuterTypeName
public boolean hasOuterTypeName() -
addToInnerTypes
-
setToInnerTypes
-
addToInnerTypes
-
addAllToInnerTypes
-
removeFromInnerTypes
-
removeAllFromInnerTypes
-
removeMatchingFromInnerTypes
-
buildInnerTypes
-
buildInnerType
-
buildFirstInnerType
-
buildLastInnerType
-
buildMatchingInnerType
-
hasMatchingInnerType
-
withInnerTypes
-
withInnerTypes
-
hasInnerTypes
public boolean hasInnerTypes() -
addNewInnerType
-
addNewInnerType
-
addNewInnerTypeLike
-
setNewInnerTypeLike
-
editInnerType
-
editFirstInnerType
-
editLastInnerType
-
editMatchingInnerType
public TypeDefFluent<A>.InnerTypesNested<A> editMatchingInnerType(Predicate<TypeDefBuilder> predicate) -
equals
- Overrides:
equalsin classModifierSupportFluent<A extends TypeDefFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classModifierSupportFluent<A extends TypeDefFluent<A>>
-
toString
- Overrides:
toStringin classModifierSupportFluent<A extends TypeDefFluent<A>>
-