Package io.sundr.model
Class PropertyFluent<A extends PropertyFluent<A>>
java.lang.Object
io.sundr.builder.BaseFluent<A>
io.sundr.model.AttributeSupportFluent<A>
io.sundr.model.ModifierSupportFluent<A>
io.sundr.model.PropertyFluent<A>
- Direct Known Subclasses:
DeclareFluent.PropertiesNested,MethodFluent.ArgumentsNested,PropertyBuilder,PropertyRefFluent.PropertyNested,TypeDefFluent.PropertiesNested
Generated
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassclassclassNested 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) addToAnnotations(int index, AnnotationRef item) addToAnnotations(AnnotationRef... items) addToComments(int index, String item) addToComments(String... items) buildAnnotation(int index) protected static <T> VisitableBuilder<T,?> buildMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) protected voidcopyInstance(Property instance) editAnnotation(int index) editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) booleangetComment(int index) getMatchingComment(Predicate<String> predicate) getName()booleanbooleanbooleaninthashCode()booleanbooleanhasMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) booleanhasMatchingComment(Predicate<String> predicate) booleanhasName()booleanbooleanbooleanbooleanremoveAllFromComments(Collection<String> items) removeFromAnnotations(AnnotationRef... items) removeFromComments(String... items) setNewAnnotationLike(int index, AnnotationRef item) setToAnnotations(int index, AnnotationRef item) setToComments(int index, String item) toString()withAnnotations(AnnotationRef... annotations) withAnnotations(List<AnnotationRef> annotations) withComments(String... comments) withComments(List<String> comments) withEnumConstant(boolean enumConstant) withInitialValue(Expression initialValue) withInitialValue(Optional<Expression> initialValue) withSynthetic(boolean synthetic) withTypeRef(TypeRef typeRef) 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
-
PropertyFluent
public PropertyFluent() -
PropertyFluent
-
-
Method Details
-
copyInstance
-
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 PropertyFluent<A>.AnnotationsNested<A> editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate) -
buildTypeRef
-
withTypeRef
-
hasTypeRef
public boolean hasTypeRef() -
withNewClassRefType
-
withNewClassRefTypeLike
-
withNewPrimitiveRefType
-
withNewPrimitiveRefTypeLike
-
withNewVoidRefType
-
withNewVoidRefTypeLike
-
withNewTypeParamRefType
-
withNewTypeParamRefTypeLike
-
withNewWildcardRefType
-
withNewWildcardRefTypeLike
-
getName
-
withName
-
hasName
public boolean hasName() -
withInitialValue
-
withInitialValue
-
getInitialValue
-
hasInitialValue
public boolean hasInitialValue() -
isEnumConstant
public boolean isEnumConstant() -
withEnumConstant
-
hasEnumConstant
public boolean hasEnumConstant() -
isSynthetic
public boolean isSynthetic() -
withSynthetic
-
hasSynthetic
public boolean hasSynthetic() -
equals
- Overrides:
equalsin classModifierSupportFluent<A extends PropertyFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classModifierSupportFluent<A extends PropertyFluent<A>>
-
toString
- Overrides:
toStringin classModifierSupportFluent<A extends PropertyFluent<A>>
-
builder
-
withEnumConstant
-
withSynthetic
-