public class PropertyFluentImpl<A extends PropertyFluent<A>> extends ModifierSupportFluentImpl<A> implements PropertyFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PropertyFluentImpl.AnnotationsNestedImpl<N> |
class |
PropertyFluentImpl.ClassRefTypeNestedImpl<N> |
class |
PropertyFluentImpl.PrimitiveRefTypeNestedImpl<N> |
class |
PropertyFluentImpl.TypeParamRefTypeNestedImpl<N> |
class |
PropertyFluentImpl.VoidRefTypeNestedImpl<N> |
class |
PropertyFluentImpl.WildcardRefTypeNestedImpl<N> |
PropertyFluent.AnnotationsNested<N>, PropertyFluent.ClassRefTypeNested<N>, PropertyFluent.PrimitiveRefTypeNested<N>, PropertyFluent.TypeParamRefTypeNested<N>, PropertyFluent.VoidRefTypeNested<N>, PropertyFluent.WildcardRefTypeNested<N>
_visitables
Constructor and Description |
---|
PropertyFluentImpl() |
PropertyFluentImpl(Property 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 PropertyFluentImpl()
public PropertyFluentImpl(Property instance)
public A addToAnnotations(int index, AnnotationRef item)
addToAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public A setToAnnotations(int index, AnnotationRef item)
setToAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public A addToAnnotations(AnnotationRef... items)
addToAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public A addAllToAnnotations(Collection<AnnotationRef> items)
addAllToAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public A removeFromAnnotations(AnnotationRef... items)
removeFromAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public A removeAllFromAnnotations(Collection<AnnotationRef> items)
removeAllFromAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
@Deprecated public List<AnnotationRef> getAnnotations()
getAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public List<AnnotationRef> buildAnnotations()
buildAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public AnnotationRef buildAnnotation(int index)
buildAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public AnnotationRef buildFirstAnnotation()
buildFirstAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public AnnotationRef buildLastAnnotation()
buildLastAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public AnnotationRef buildMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
buildMatchingAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public Boolean hasMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
hasMatchingAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withAnnotations(List<AnnotationRef> annotations)
withAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withAnnotations(AnnotationRef... annotations)
withAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public Boolean hasAnnotations()
hasAnnotations
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.AnnotationsNested<A> addNewAnnotation()
addNewAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.AnnotationsNested<A> addNewAnnotationLike(AnnotationRef item)
addNewAnnotationLike
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.AnnotationsNested<A> setNewAnnotationLike(int index, AnnotationRef item)
setNewAnnotationLike
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.AnnotationsNested<A> editAnnotation(int index)
editAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.AnnotationsNested<A> editFirstAnnotation()
editFirstAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.AnnotationsNested<A> editLastAnnotation()
editLastAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.AnnotationsNested<A> editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
editMatchingAnnotation
in interface PropertyFluent<A extends PropertyFluent<A>>
@Deprecated public TypeRef getTypeRef()
getTypeRef
in interface PropertyFluent<A extends PropertyFluent<A>>
public TypeRef buildTypeRef()
buildTypeRef
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withTypeRef(TypeRef typeRef)
withTypeRef
in interface PropertyFluent<A extends PropertyFluent<A>>
public Boolean hasTypeRef()
hasTypeRef
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withPrimitiveRefType(PrimitiveRef primitiveRefType)
withPrimitiveRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.PrimitiveRefTypeNested<A> withNewPrimitiveRefType()
withNewPrimitiveRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.PrimitiveRefTypeNested<A> withNewPrimitiveRefTypeLike(PrimitiveRef item)
withNewPrimitiveRefTypeLike
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withVoidRefType(VoidRef voidRefType)
withVoidRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.VoidRefTypeNested<A> withNewVoidRefType()
withNewVoidRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.VoidRefTypeNested<A> withNewVoidRefTypeLike(VoidRef item)
withNewVoidRefTypeLike
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withWildcardRefType(WildcardRef wildcardRefType)
withWildcardRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.WildcardRefTypeNested<A> withNewWildcardRefType()
withNewWildcardRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.WildcardRefTypeNested<A> withNewWildcardRefTypeLike(WildcardRef item)
withNewWildcardRefTypeLike
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withClassRefType(ClassRef classRefType)
withClassRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.ClassRefTypeNested<A> withNewClassRefType()
withNewClassRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.ClassRefTypeNested<A> withNewClassRefTypeLike(ClassRef item)
withNewClassRefTypeLike
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withTypeParamRefType(TypeParamRef typeParamRefType)
withTypeParamRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.TypeParamRefTypeNested<A> withNewTypeParamRefType()
withNewTypeParamRefType
in interface PropertyFluent<A extends PropertyFluent<A>>
public PropertyFluent.TypeParamRefTypeNested<A> withNewTypeParamRefTypeLike(TypeParamRef item)
withNewTypeParamRefTypeLike
in interface PropertyFluent<A extends PropertyFluent<A>>
public String getName()
getName
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withName(String name)
withName
in interface PropertyFluent<A extends PropertyFluent<A>>
public Boolean hasName()
hasName
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withNewName(String arg1)
withNewName
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withNewName(StringBuilder arg1)
withNewName
in interface PropertyFluent<A extends PropertyFluent<A>>
public A withNewName(StringBuffer arg1)
withNewName
in interface PropertyFluent<A extends PropertyFluent<A>>
public boolean equals(Object o)
equals
in class ModifierSupportFluentImpl<A extends PropertyFluent<A>>
Copyright © 2019 JBoss by Red Hat. All rights reserved.