public interface TypeDefFluent<A extends TypeDefFluent<A>> extends ModifierSupportFluent<A>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TypeDefFluent.AnnotationsNested<N> |
static interface |
TypeDefFluent.ConstructorsNested<N> |
static interface |
TypeDefFluent.ExtendsListNested<N> |
static interface |
TypeDefFluent.ImplementsListNested<N> |
static interface |
TypeDefFluent.InnerTypesNested<N> |
static interface |
TypeDefFluent.MethodsNested<N> |
static interface |
TypeDefFluent.ParametersNested<N> |
static interface |
TypeDefFluent.PropertiesNested<N> |
ModifierSupportFluent.ModifiersNested<N>buildModifiers, editModifiers, editOrNewModifiers, editOrNewModifiersLike, getModifiers, hasModifiers, withModifiers, withNewModifiers, withNewModifiersLikeaddToAttributes, addToAttributes, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributesKind getKind()
Boolean hasKind()
String getPackageName()
Boolean hasPackageName()
String getName()
Boolean hasName()
A addAllToComments(Collection<String> items)
A removeAllFromComments(Collection<String> items)
String getFirstComment()
String getLastComment()
Boolean hasComments()
A addToAnnotations(Integer index, AnnotationRef item)
A setToAnnotations(Integer index, AnnotationRef item)
A addToAnnotations(AnnotationRef... items)
A addAllToAnnotations(Collection<AnnotationRef> items)
A removeFromAnnotations(AnnotationRef... items)
A removeAllFromAnnotations(Collection<AnnotationRef> items)
A removeMatchingFromAnnotations(Predicate<AnnotationRefBuilder> predicate)
@Deprecated List<AnnotationRef> getAnnotations()
List<AnnotationRef> buildAnnotations()
AnnotationRef buildAnnotation(Integer index)
AnnotationRef buildFirstAnnotation()
AnnotationRef buildLastAnnotation()
AnnotationRef buildMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
Boolean hasMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
A withAnnotations(List<AnnotationRef> annotations)
A withAnnotations(AnnotationRef... annotations)
Boolean hasAnnotations()
TypeDefFluent.AnnotationsNested<A> addNewAnnotation()
TypeDefFluent.AnnotationsNested<A> addNewAnnotationLike(AnnotationRef item)
TypeDefFluent.AnnotationsNested<A> setNewAnnotationLike(Integer index, AnnotationRef item)
TypeDefFluent.AnnotationsNested<A> editAnnotation(Integer index)
TypeDefFluent.AnnotationsNested<A> editFirstAnnotation()
TypeDefFluent.AnnotationsNested<A> editLastAnnotation()
TypeDefFluent.AnnotationsNested<A> editMatchingAnnotation(Predicate<AnnotationRefBuilder> predicate)
A addAllToExtendsList(Collection<ClassRef> items)
A removeAllFromExtendsList(Collection<ClassRef> items)
A removeMatchingFromExtendsList(Predicate<ClassRefBuilder> predicate)
@Deprecated List<ClassRef> getExtendsList()
ClassRef buildFirstExtendsList()
ClassRef buildLastExtendsList()
ClassRef buildMatchingExtendsList(Predicate<ClassRefBuilder> predicate)
Boolean hasMatchingExtendsList(Predicate<ClassRefBuilder> predicate)
Boolean hasExtendsList()
TypeDefFluent.ExtendsListNested<A> addNewExtendsList()
TypeDefFluent.ExtendsListNested<A> addNewExtendsListLike(ClassRef item)
TypeDefFluent.ExtendsListNested<A> setNewExtendsListLike(Integer index, ClassRef item)
TypeDefFluent.ExtendsListNested<A> editExtendsList(Integer index)
TypeDefFluent.ExtendsListNested<A> editFirstExtendsList()
TypeDefFluent.ExtendsListNested<A> editLastExtendsList()
TypeDefFluent.ExtendsListNested<A> editMatchingExtendsList(Predicate<ClassRefBuilder> predicate)
A addAllToImplementsList(Collection<ClassRef> items)
A removeAllFromImplementsList(Collection<ClassRef> items)
A removeMatchingFromImplementsList(Predicate<ClassRefBuilder> predicate)
@Deprecated List<ClassRef> getImplementsList()
ClassRef buildFirstImplementsList()
ClassRef buildLastImplementsList()
ClassRef buildMatchingImplementsList(Predicate<ClassRefBuilder> predicate)
Boolean hasMatchingImplementsList(Predicate<ClassRefBuilder> predicate)
Boolean hasImplementsList()
TypeDefFluent.ImplementsListNested<A> addNewImplementsList()
TypeDefFluent.ImplementsListNested<A> addNewImplementsListLike(ClassRef item)
TypeDefFluent.ImplementsListNested<A> setNewImplementsListLike(Integer index, ClassRef item)
TypeDefFluent.ImplementsListNested<A> editImplementsList(Integer index)
TypeDefFluent.ImplementsListNested<A> editFirstImplementsList()
TypeDefFluent.ImplementsListNested<A> editLastImplementsList()
TypeDefFluent.ImplementsListNested<A> editMatchingImplementsList(Predicate<ClassRefBuilder> predicate)
A addToParameters(Integer index, TypeParamDef item)
A setToParameters(Integer index, TypeParamDef item)
A addToParameters(TypeParamDef... items)
A addAllToParameters(Collection<TypeParamDef> items)
A removeFromParameters(TypeParamDef... items)
A removeAllFromParameters(Collection<TypeParamDef> items)
A removeMatchingFromParameters(Predicate<TypeParamDefBuilder> predicate)
@Deprecated List<TypeParamDef> getParameters()
List<TypeParamDef> buildParameters()
TypeParamDef buildParameter(Integer index)
TypeParamDef buildFirstParameter()
TypeParamDef buildLastParameter()
TypeParamDef buildMatchingParameter(Predicate<TypeParamDefBuilder> predicate)
Boolean hasMatchingParameter(Predicate<TypeParamDefBuilder> predicate)
A withParameters(List<TypeParamDef> parameters)
A withParameters(TypeParamDef... parameters)
Boolean hasParameters()
TypeDefFluent.ParametersNested<A> addNewParameter()
TypeDefFluent.ParametersNested<A> addNewParameterLike(TypeParamDef item)
TypeDefFluent.ParametersNested<A> setNewParameterLike(Integer index, TypeParamDef item)
TypeDefFluent.ParametersNested<A> editParameter(Integer index)
TypeDefFluent.ParametersNested<A> editFirstParameter()
TypeDefFluent.ParametersNested<A> editLastParameter()
TypeDefFluent.ParametersNested<A> editMatchingParameter(Predicate<TypeParamDefBuilder> predicate)
A addAllToProperties(Collection<Property> items)
A removeAllFromProperties(Collection<Property> items)
A removeMatchingFromProperties(Predicate<PropertyBuilder> predicate)
@Deprecated List<Property> getProperties()
Property buildFirstProperty()
Property buildLastProperty()
Property buildMatchingProperty(Predicate<PropertyBuilder> predicate)
Boolean hasMatchingProperty(Predicate<PropertyBuilder> predicate)
Boolean hasProperties()
TypeDefFluent.PropertiesNested<A> addNewProperty()
TypeDefFluent.PropertiesNested<A> addNewPropertyLike(Property item)
TypeDefFluent.PropertiesNested<A> setNewPropertyLike(Integer index, Property item)
TypeDefFluent.PropertiesNested<A> editProperty(Integer index)
TypeDefFluent.PropertiesNested<A> editFirstProperty()
TypeDefFluent.PropertiesNested<A> editLastProperty()
TypeDefFluent.PropertiesNested<A> editMatchingProperty(Predicate<PropertyBuilder> predicate)
A addAllToConstructors(Collection<Method> items)
A removeAllFromConstructors(Collection<Method> items)
A removeMatchingFromConstructors(Predicate<MethodBuilder> predicate)
@Deprecated List<Method> getConstructors()
Method buildFirstConstructor()
Method buildLastConstructor()
Method buildMatchingConstructor(Predicate<MethodBuilder> predicate)
Boolean hasMatchingConstructor(Predicate<MethodBuilder> predicate)
Boolean hasConstructors()
TypeDefFluent.ConstructorsNested<A> addNewConstructor()
TypeDefFluent.ConstructorsNested<A> addNewConstructorLike(Method item)
TypeDefFluent.ConstructorsNested<A> setNewConstructorLike(Integer index, Method item)
TypeDefFluent.ConstructorsNested<A> editConstructor(Integer index)
TypeDefFluent.ConstructorsNested<A> editFirstConstructor()
TypeDefFluent.ConstructorsNested<A> editLastConstructor()
TypeDefFluent.ConstructorsNested<A> editMatchingConstructor(Predicate<MethodBuilder> predicate)
A addAllToMethods(Collection<Method> items)
A removeAllFromMethods(Collection<Method> items)
A removeMatchingFromMethods(Predicate<MethodBuilder> predicate)
@Deprecated List<Method> getMethods()
Method buildFirstMethod()
Method buildLastMethod()
Method buildMatchingMethod(Predicate<MethodBuilder> predicate)
Boolean hasMatchingMethod(Predicate<MethodBuilder> predicate)
Boolean hasMethods()
TypeDefFluent.MethodsNested<A> addNewMethod()
TypeDefFluent.MethodsNested<A> addNewMethodLike(Method item)
TypeDefFluent.MethodsNested<A> setNewMethodLike(Integer index, Method item)
TypeDefFluent.MethodsNested<A> editMethod(Integer index)
TypeDefFluent.MethodsNested<A> editFirstMethod()
TypeDefFluent.MethodsNested<A> editLastMethod()
TypeDefFluent.MethodsNested<A> editMatchingMethod(Predicate<MethodBuilder> predicate)
String getOuterTypeName()
Boolean hasOuterTypeName()
A addAllToInnerTypes(Collection<TypeDef> items)
A removeAllFromInnerTypes(Collection<TypeDef> items)
A removeMatchingFromInnerTypes(Predicate<TypeDefBuilder> predicate)
@Deprecated List<TypeDef> getInnerTypes()
TypeDef buildFirstInnerType()
TypeDef buildLastInnerType()
TypeDef buildMatchingInnerType(Predicate<TypeDefBuilder> predicate)
Boolean hasMatchingInnerType(Predicate<TypeDefBuilder> predicate)
Boolean hasInnerTypes()
TypeDefFluent.InnerTypesNested<A> addNewInnerType()
TypeDefFluent.InnerTypesNested<A> addNewInnerTypeLike(TypeDef item)
TypeDefFluent.InnerTypesNested<A> setNewInnerTypeLike(Integer index, TypeDef item)
TypeDefFluent.InnerTypesNested<A> editInnerType(Integer index)
TypeDefFluent.InnerTypesNested<A> editFirstInnerType()
TypeDefFluent.InnerTypesNested<A> editLastInnerType()
TypeDefFluent.InnerTypesNested<A> editMatchingInnerType(Predicate<TypeDefBuilder> predicate)
Copyright © 2023. All rights reserved.