public class TypeParamDefFluentImpl<A extends TypeParamDefFluent<A>> extends AttributeSupportFluentImpl<A> implements TypeParamDefFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
TypeParamDefFluentImpl.BoundsNestedImpl<N> |
TypeParamDefFluent.BoundsNested<N>
_visitables
Constructor and Description |
---|
TypeParamDefFluentImpl() |
TypeParamDefFluentImpl(TypeParamDef instance) |
addToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributes
accept, aggregate, aggregate, build, build, builderOf
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributes
public TypeParamDefFluentImpl()
public TypeParamDefFluentImpl(TypeParamDef instance)
public String getName()
getName
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A withName(String name)
withName
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public Boolean hasName()
hasName
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A withNewName(String arg1)
withNewName
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A withNewName(StringBuilder arg1)
withNewName
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A withNewName(StringBuffer arg1)
withNewName
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A addToBounds(int index, ClassRef item)
addToBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A setToBounds(int index, ClassRef item)
setToBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A addToBounds(ClassRef... items)
addToBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A addAllToBounds(Collection<ClassRef> items)
addAllToBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A removeFromBounds(ClassRef... items)
removeFromBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A removeAllFromBounds(Collection<ClassRef> items)
removeAllFromBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
@Deprecated public List<ClassRef> getBounds()
getBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public List<ClassRef> buildBounds()
buildBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public ClassRef buildBound(int index)
buildBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public ClassRef buildFirstBound()
buildFirstBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public ClassRef buildLastBound()
buildLastBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public ClassRef buildMatchingBound(Predicate<ClassRefBuilder> predicate)
buildMatchingBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public Boolean hasMatchingBound(Predicate<ClassRefBuilder> predicate)
hasMatchingBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A withBounds(List<ClassRef> bounds)
withBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public A withBounds(ClassRef... bounds)
withBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public Boolean hasBounds()
hasBounds
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public TypeParamDefFluent.BoundsNested<A> addNewBound()
addNewBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public TypeParamDefFluent.BoundsNested<A> addNewBoundLike(ClassRef item)
addNewBoundLike
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public TypeParamDefFluent.BoundsNested<A> setNewBoundLike(int index, ClassRef item)
setNewBoundLike
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public TypeParamDefFluent.BoundsNested<A> editBound(int index)
editBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public TypeParamDefFluent.BoundsNested<A> editFirstBound()
editFirstBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public TypeParamDefFluent.BoundsNested<A> editLastBound()
editLastBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public TypeParamDefFluent.BoundsNested<A> editMatchingBound(Predicate<ClassRefBuilder> predicate)
editMatchingBound
in interface TypeParamDefFluent<A extends TypeParamDefFluent<A>>
public boolean equals(Object o)
equals
in class AttributeSupportFluentImpl<A extends TypeParamDefFluent<A>>
Copyright © 2019 JBoss by Red Hat. All rights reserved.