@Generated(value="assertj-assertions-generator") public abstract class AbstractTypeSpecAssert<S extends AbstractTypeSpecAssert<S,A>,A extends com.squareup.javapoet.TypeSpec> extends org.assertj.core.api.AbstractObjectAssert<S,A>
TypeSpec specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTypeSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual TypeSpec. |
| Modifier and Type | Method and Description |
|---|---|
S |
doesNotHaveAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual TypeSpec's annotations does not contain the given AnnotationSpec elements.
|
S |
doesNotHaveAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
Verifies that the actual TypeSpec's annotations does not contain the given AnnotationSpec elements in Collection.
|
S |
doesNotHaveFieldSpecs(Collection<? extends com.squareup.javapoet.FieldSpec> fieldSpecs)
Verifies that the actual TypeSpec's fieldSpecs does not contain the given FieldSpec elements in Collection.
|
S |
doesNotHaveFieldSpecs(com.squareup.javapoet.FieldSpec... fieldSpecs)
Verifies that the actual TypeSpec's fieldSpecs does not contain the given FieldSpec elements.
|
S |
doesNotHaveMethodSpecs(Collection<? extends com.squareup.javapoet.MethodSpec> methodSpecs)
Verifies that the actual TypeSpec's methodSpecs does not contain the given MethodSpec elements in Collection.
|
S |
doesNotHaveMethodSpecs(com.squareup.javapoet.MethodSpec... methodSpecs)
Verifies that the actual TypeSpec's methodSpecs does not contain the given MethodSpec elements.
|
S |
doesNotHaveModifiers(Collection<? extends Modifier> modifiers)
Verifies that the actual TypeSpec's modifiers does not contain the given javax.lang.model.element.Modifier elements in Collection.
|
S |
doesNotHaveModifiers(Modifier... modifiers)
Verifies that the actual TypeSpec's modifiers does not contain the given javax.lang.model.element.Modifier elements.
|
S |
doesNotHaveOriginatingElements(Collection<? extends Element> originatingElements)
Verifies that the actual TypeSpec's originatingElements does not contain the given javax.lang.model.element.Element elements in Collection.
|
S |
doesNotHaveOriginatingElements(Element... originatingElements)
Verifies that the actual TypeSpec's originatingElements does not contain the given javax.lang.model.element.Element elements.
|
S |
doesNotHaveSuperinterfaces(Collection<? extends com.squareup.javapoet.TypeName> superinterfaces)
Verifies that the actual TypeSpec's superinterfaces does not contain the given TypeName elements in Collection.
|
S |
doesNotHaveSuperinterfaces(com.squareup.javapoet.TypeName... superinterfaces)
Verifies that the actual TypeSpec's superinterfaces does not contain the given TypeName elements.
|
S |
doesNotHaveTypeSpecs(Collection<? extends com.squareup.javapoet.TypeSpec> typeSpecs)
Verifies that the actual TypeSpec's typeSpecs does not contain the given TypeSpec elements in Collection.
|
S |
doesNotHaveTypeSpecs(com.squareup.javapoet.TypeSpec... typeSpecs)
Verifies that the actual TypeSpec's typeSpecs does not contain the given TypeSpec elements.
|
S |
doesNotHaveTypeVariables(Collection<? extends com.squareup.javapoet.TypeVariableName> typeVariables)
Verifies that the actual TypeSpec's typeVariables does not contain the given TypeVariableName elements in Collection.
|
S |
doesNotHaveTypeVariables(com.squareup.javapoet.TypeVariableName... typeVariables)
Verifies that the actual TypeSpec's typeVariables does not contain the given TypeVariableName elements.
|
S |
hasAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual TypeSpec's annotations contains the given AnnotationSpec elements.
|
S |
hasAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
Verifies that the actual TypeSpec's annotations contains the given AnnotationSpec elements in Collection.
|
S |
hasAnonymousTypeArguments(com.squareup.javapoet.CodeBlock anonymousTypeArguments)
Verifies that the actual TypeSpec's anonymousTypeArguments is equal to the given one.
|
S |
hasEnumConstants(Map enumConstants)
Verifies that the actual TypeSpec's enumConstants is equal to the given one.
|
S |
hasFieldSpecs(Collection<? extends com.squareup.javapoet.FieldSpec> fieldSpecs)
Verifies that the actual TypeSpec's fieldSpecs contains the given FieldSpec elements in Collection.
|
S |
hasFieldSpecs(com.squareup.javapoet.FieldSpec... fieldSpecs)
Verifies that the actual TypeSpec's fieldSpecs contains the given FieldSpec elements.
|
S |
hasInitializerBlock(com.squareup.javapoet.CodeBlock initializerBlock)
Verifies that the actual TypeSpec's initializerBlock is equal to the given one.
|
S |
hasJavadoc(com.squareup.javapoet.CodeBlock javadoc)
Verifies that the actual TypeSpec's javadoc is equal to the given one.
|
S |
hasKind(com.squareup.javapoet.TypeSpec.Kind kind)
Verifies that the actual TypeSpec's kind is equal to the given one.
|
S |
hasMethodSpecs(Collection<? extends com.squareup.javapoet.MethodSpec> methodSpecs)
Verifies that the actual TypeSpec's methodSpecs contains the given MethodSpec elements in Collection.
|
S |
hasMethodSpecs(com.squareup.javapoet.MethodSpec... methodSpecs)
Verifies that the actual TypeSpec's methodSpecs contains the given MethodSpec elements.
|
S |
hasModifiers(Collection<? extends Modifier> modifiers)
Verifies that the actual TypeSpec's modifiers contains the given javax.lang.model.element.Modifier elements in Collection.
|
S |
hasModifiers(Modifier... modifiers)
Verifies that the actual TypeSpec's modifiers contains the given javax.lang.model.element.Modifier elements.
|
S |
hasName(String name)
Verifies that the actual TypeSpec's name is equal to the given one.
|
S |
hasNoAnnotations()
Verifies that the actual TypeSpec has no annotations.
|
S |
hasNoFieldSpecs()
Verifies that the actual TypeSpec has no fieldSpecs.
|
S |
hasNoMethodSpecs()
Verifies that the actual TypeSpec has no methodSpecs.
|
S |
hasNoModifiers()
Verifies that the actual TypeSpec has no modifiers.
|
S |
hasNoOriginatingElements()
Verifies that the actual TypeSpec has no originatingElements.
|
S |
hasNoSuperinterfaces()
Verifies that the actual TypeSpec has no superinterfaces.
|
S |
hasNoTypeSpecs()
Verifies that the actual TypeSpec has no typeSpecs.
|
S |
hasNoTypeVariables()
Verifies that the actual TypeSpec has no typeVariables.
|
S |
hasOnlyAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual TypeSpec's annotations contains only the given AnnotationSpec elements and nothing else in whatever order.
|
S |
hasOnlyAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
Verifies that the actual TypeSpec's annotations contains only the given AnnotationSpec elements in Collection and nothing else in whatever order.
|
S |
hasOnlyFieldSpecs(Collection<? extends com.squareup.javapoet.FieldSpec> fieldSpecs)
Verifies that the actual TypeSpec's fieldSpecs contains only the given FieldSpec elements in Collection and nothing else in whatever order.
|
S |
hasOnlyFieldSpecs(com.squareup.javapoet.FieldSpec... fieldSpecs)
Verifies that the actual TypeSpec's fieldSpecs contains only the given FieldSpec elements and nothing else in whatever order.
|
S |
hasOnlyMethodSpecs(Collection<? extends com.squareup.javapoet.MethodSpec> methodSpecs)
Verifies that the actual TypeSpec's methodSpecs contains only the given MethodSpec elements in Collection and nothing else in whatever order.
|
S |
hasOnlyMethodSpecs(com.squareup.javapoet.MethodSpec... methodSpecs)
Verifies that the actual TypeSpec's methodSpecs contains only the given MethodSpec elements and nothing else in whatever order.
|
S |
hasOnlyModifiers(Collection<? extends Modifier> modifiers)
Verifies that the actual TypeSpec's modifiers contains only the given javax.lang.model.element.Modifier elements in Collection and nothing else in whatever order.
|
S |
hasOnlyModifiers(Modifier... modifiers)
Verifies that the actual TypeSpec's modifiers contains only the given javax.lang.model.element.Modifier elements and nothing else in whatever order.
|
S |
hasOnlyOriginatingElements(Collection<? extends Element> originatingElements)
Verifies that the actual TypeSpec's originatingElements contains only the given javax.lang.model.element.Element elements in Collection and nothing else in whatever order.
|
S |
hasOnlyOriginatingElements(Element... originatingElements)
Verifies that the actual TypeSpec's originatingElements contains only the given javax.lang.model.element.Element elements and nothing else in whatever order.
|
S |
hasOnlySuperinterfaces(Collection<? extends com.squareup.javapoet.TypeName> superinterfaces)
Verifies that the actual TypeSpec's superinterfaces contains only the given TypeName elements in Collection and nothing else in whatever order.
|
S |
hasOnlySuperinterfaces(com.squareup.javapoet.TypeName... superinterfaces)
Verifies that the actual TypeSpec's superinterfaces contains only the given TypeName elements and nothing else in whatever order.
|
S |
hasOnlyTypeSpecs(Collection<? extends com.squareup.javapoet.TypeSpec> typeSpecs)
Verifies that the actual TypeSpec's typeSpecs contains only the given TypeSpec elements in Collection and nothing else in whatever order.
|
S |
hasOnlyTypeSpecs(com.squareup.javapoet.TypeSpec... typeSpecs)
Verifies that the actual TypeSpec's typeSpecs contains only the given TypeSpec elements and nothing else in whatever order.
|
S |
hasOnlyTypeVariables(Collection<? extends com.squareup.javapoet.TypeVariableName> typeVariables)
Verifies that the actual TypeSpec's typeVariables contains only the given TypeVariableName elements in Collection and nothing else in whatever order.
|
S |
hasOnlyTypeVariables(com.squareup.javapoet.TypeVariableName... typeVariables)
Verifies that the actual TypeSpec's typeVariables contains only the given TypeVariableName elements and nothing else in whatever order.
|
S |
hasOriginatingElements(Collection<? extends Element> originatingElements)
Verifies that the actual TypeSpec's originatingElements contains the given javax.lang.model.element.Element elements in Collection.
|
S |
hasOriginatingElements(Element... originatingElements)
Verifies that the actual TypeSpec's originatingElements contains the given javax.lang.model.element.Element elements.
|
S |
hasStaticBlock(com.squareup.javapoet.CodeBlock staticBlock)
Verifies that the actual TypeSpec's staticBlock is equal to the given one.
|
S |
hasSuperclass(com.squareup.javapoet.TypeName superclass)
Verifies that the actual TypeSpec's superclass is equal to the given one.
|
S |
hasSuperinterfaces(Collection<? extends com.squareup.javapoet.TypeName> superinterfaces)
Verifies that the actual TypeSpec's superinterfaces contains the given TypeName elements in Collection.
|
S |
hasSuperinterfaces(com.squareup.javapoet.TypeName... superinterfaces)
Verifies that the actual TypeSpec's superinterfaces contains the given TypeName elements.
|
S |
hasTypeSpecs(Collection<? extends com.squareup.javapoet.TypeSpec> typeSpecs)
Verifies that the actual TypeSpec's typeSpecs contains the given TypeSpec elements in Collection.
|
S |
hasTypeSpecs(com.squareup.javapoet.TypeSpec... typeSpecs)
Verifies that the actual TypeSpec's typeSpecs contains the given TypeSpec elements.
|
S |
hasTypeVariables(Collection<? extends com.squareup.javapoet.TypeVariableName> typeVariables)
Verifies that the actual TypeSpec's typeVariables contains the given TypeVariableName elements in Collection.
|
S |
hasTypeVariables(com.squareup.javapoet.TypeVariableName... typeVariables)
Verifies that the actual TypeSpec's typeVariables contains the given TypeVariableName elements.
|
as, as, extracting, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, usingComparatorForFields, usingComparatorForTypeasList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorprotected AbstractTypeSpecAssert(A actual, Class<S> selfType)
AbstractTypeSpecAssert to make assertions on actual TypeSpec.actual - the TypeSpec we want to make assertions on.public S hasAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
annotations - the given elements that should be contained in actual TypeSpec's annotations.AssertionError - if the actual TypeSpec's annotations does not contain all given AnnotationSpec elements.public S hasAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
annotations - the given elements that should be contained in actual TypeSpec's annotations.AssertionError - if the actual TypeSpec's annotations does not contain all given AnnotationSpec elements.public S hasOnlyAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
annotations - the given elements that should be contained in actual TypeSpec's annotations.AssertionError - if the actual TypeSpec's annotations does not contain all given AnnotationSpec elements.public S hasOnlyAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
annotations - the given elements that should be contained in actual TypeSpec's annotations.AssertionError - if the actual TypeSpec's annotations does not contain all given AnnotationSpec elements.public S doesNotHaveAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
annotations - the given elements that should not be in actual TypeSpec's annotations.AssertionError - if the actual TypeSpec's annotations contains any given AnnotationSpec elements.public S doesNotHaveAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
annotations - the given elements that should not be in actual TypeSpec's annotations.AssertionError - if the actual TypeSpec's annotations contains any given AnnotationSpec elements.public S hasNoAnnotations()
AssertionError - if the actual TypeSpec's annotations is not empty.public S hasAnonymousTypeArguments(com.squareup.javapoet.CodeBlock anonymousTypeArguments)
anonymousTypeArguments - the given anonymousTypeArguments to compare the actual TypeSpec's anonymousTypeArguments to.AssertionError - - if the actual TypeSpec's anonymousTypeArguments is not equal to the given one.public S hasEnumConstants(Map enumConstants)
enumConstants - the given enumConstants to compare the actual TypeSpec's enumConstants to.AssertionError - - if the actual TypeSpec's enumConstants is not equal to the given one.public S hasFieldSpecs(com.squareup.javapoet.FieldSpec... fieldSpecs)
fieldSpecs - the given elements that should be contained in actual TypeSpec's fieldSpecs.AssertionError - if the actual TypeSpec's fieldSpecs does not contain all given FieldSpec elements.public S hasFieldSpecs(Collection<? extends com.squareup.javapoet.FieldSpec> fieldSpecs)
fieldSpecs - the given elements that should be contained in actual TypeSpec's fieldSpecs.AssertionError - if the actual TypeSpec's fieldSpecs does not contain all given FieldSpec elements.public S hasOnlyFieldSpecs(com.squareup.javapoet.FieldSpec... fieldSpecs)
fieldSpecs - the given elements that should be contained in actual TypeSpec's fieldSpecs.AssertionError - if the actual TypeSpec's fieldSpecs does not contain all given FieldSpec elements.public S hasOnlyFieldSpecs(Collection<? extends com.squareup.javapoet.FieldSpec> fieldSpecs)
fieldSpecs - the given elements that should be contained in actual TypeSpec's fieldSpecs.AssertionError - if the actual TypeSpec's fieldSpecs does not contain all given FieldSpec elements.public S doesNotHaveFieldSpecs(com.squareup.javapoet.FieldSpec... fieldSpecs)
fieldSpecs - the given elements that should not be in actual TypeSpec's fieldSpecs.AssertionError - if the actual TypeSpec's fieldSpecs contains any given FieldSpec elements.public S doesNotHaveFieldSpecs(Collection<? extends com.squareup.javapoet.FieldSpec> fieldSpecs)
fieldSpecs - the given elements that should not be in actual TypeSpec's fieldSpecs.AssertionError - if the actual TypeSpec's fieldSpecs contains any given FieldSpec elements.public S hasNoFieldSpecs()
AssertionError - if the actual TypeSpec's fieldSpecs is not empty.public S hasInitializerBlock(com.squareup.javapoet.CodeBlock initializerBlock)
initializerBlock - the given initializerBlock to compare the actual TypeSpec's initializerBlock to.AssertionError - - if the actual TypeSpec's initializerBlock is not equal to the given one.public S hasJavadoc(com.squareup.javapoet.CodeBlock javadoc)
javadoc - the given javadoc to compare the actual TypeSpec's javadoc to.AssertionError - - if the actual TypeSpec's javadoc is not equal to the given one.public S hasKind(com.squareup.javapoet.TypeSpec.Kind kind)
kind - the given kind to compare the actual TypeSpec's kind to.AssertionError - - if the actual TypeSpec's kind is not equal to the given one.public S hasMethodSpecs(com.squareup.javapoet.MethodSpec... methodSpecs)
methodSpecs - the given elements that should be contained in actual TypeSpec's methodSpecs.AssertionError - if the actual TypeSpec's methodSpecs does not contain all given MethodSpec elements.public S hasMethodSpecs(Collection<? extends com.squareup.javapoet.MethodSpec> methodSpecs)
methodSpecs - the given elements that should be contained in actual TypeSpec's methodSpecs.AssertionError - if the actual TypeSpec's methodSpecs does not contain all given MethodSpec elements.public S hasOnlyMethodSpecs(com.squareup.javapoet.MethodSpec... methodSpecs)
methodSpecs - the given elements that should be contained in actual TypeSpec's methodSpecs.AssertionError - if the actual TypeSpec's methodSpecs does not contain all given MethodSpec elements.public S hasOnlyMethodSpecs(Collection<? extends com.squareup.javapoet.MethodSpec> methodSpecs)
methodSpecs - the given elements that should be contained in actual TypeSpec's methodSpecs.AssertionError - if the actual TypeSpec's methodSpecs does not contain all given MethodSpec elements.public S doesNotHaveMethodSpecs(com.squareup.javapoet.MethodSpec... methodSpecs)
methodSpecs - the given elements that should not be in actual TypeSpec's methodSpecs.AssertionError - if the actual TypeSpec's methodSpecs contains any given MethodSpec elements.public S doesNotHaveMethodSpecs(Collection<? extends com.squareup.javapoet.MethodSpec> methodSpecs)
methodSpecs - the given elements that should not be in actual TypeSpec's methodSpecs.AssertionError - if the actual TypeSpec's methodSpecs contains any given MethodSpec elements.public S hasNoMethodSpecs()
AssertionError - if the actual TypeSpec's methodSpecs is not empty.public S hasModifiers(Modifier... modifiers)
modifiers - the given elements that should be contained in actual TypeSpec's modifiers.AssertionError - if the actual TypeSpec's modifiers does not contain all given javax.lang.model.element.Modifier elements.public S hasModifiers(Collection<? extends Modifier> modifiers)
modifiers - the given elements that should be contained in actual TypeSpec's modifiers.AssertionError - if the actual TypeSpec's modifiers does not contain all given javax.lang.model.element.Modifier elements.public S hasOnlyModifiers(Modifier... modifiers)
modifiers - the given elements that should be contained in actual TypeSpec's modifiers.AssertionError - if the actual TypeSpec's modifiers does not contain all given javax.lang.model.element.Modifier elements.public S hasOnlyModifiers(Collection<? extends Modifier> modifiers)
modifiers - the given elements that should be contained in actual TypeSpec's modifiers.AssertionError - if the actual TypeSpec's modifiers does not contain all given javax.lang.model.element.Modifier elements.public S doesNotHaveModifiers(Modifier... modifiers)
modifiers - the given elements that should not be in actual TypeSpec's modifiers.AssertionError - if the actual TypeSpec's modifiers contains any given javax.lang.model.element.Modifier elements.public S doesNotHaveModifiers(Collection<? extends Modifier> modifiers)
modifiers - the given elements that should not be in actual TypeSpec's modifiers.AssertionError - if the actual TypeSpec's modifiers contains any given javax.lang.model.element.Modifier elements.public S hasNoModifiers()
AssertionError - if the actual TypeSpec's modifiers is not empty.public S hasName(String name)
name - the given name to compare the actual TypeSpec's name to.AssertionError - - if the actual TypeSpec's name is not equal to the given one.public S hasOriginatingElements(Element... originatingElements)
originatingElements - the given elements that should be contained in actual TypeSpec's originatingElements.AssertionError - if the actual TypeSpec's originatingElements does not contain all given javax.lang.model.element.Element elements.public S hasOriginatingElements(Collection<? extends Element> originatingElements)
originatingElements - the given elements that should be contained in actual TypeSpec's originatingElements.AssertionError - if the actual TypeSpec's originatingElements does not contain all given javax.lang.model.element.Element elements.public S hasOnlyOriginatingElements(Element... originatingElements)
originatingElements - the given elements that should be contained in actual TypeSpec's originatingElements.AssertionError - if the actual TypeSpec's originatingElements does not contain all given javax.lang.model.element.Element elements.public S hasOnlyOriginatingElements(Collection<? extends Element> originatingElements)
originatingElements - the given elements that should be contained in actual TypeSpec's originatingElements.AssertionError - if the actual TypeSpec's originatingElements does not contain all given javax.lang.model.element.Element elements.public S doesNotHaveOriginatingElements(Element... originatingElements)
originatingElements - the given elements that should not be in actual TypeSpec's originatingElements.AssertionError - if the actual TypeSpec's originatingElements contains any given javax.lang.model.element.Element elements.public S doesNotHaveOriginatingElements(Collection<? extends Element> originatingElements)
originatingElements - the given elements that should not be in actual TypeSpec's originatingElements.AssertionError - if the actual TypeSpec's originatingElements contains any given javax.lang.model.element.Element elements.public S hasNoOriginatingElements()
AssertionError - if the actual TypeSpec's originatingElements is not empty.public S hasStaticBlock(com.squareup.javapoet.CodeBlock staticBlock)
staticBlock - the given staticBlock to compare the actual TypeSpec's staticBlock to.AssertionError - - if the actual TypeSpec's staticBlock is not equal to the given one.public S hasSuperclass(com.squareup.javapoet.TypeName superclass)
superclass - the given superclass to compare the actual TypeSpec's superclass to.AssertionError - - if the actual TypeSpec's superclass is not equal to the given one.public S hasSuperinterfaces(com.squareup.javapoet.TypeName... superinterfaces)
superinterfaces - the given elements that should be contained in actual TypeSpec's superinterfaces.AssertionError - if the actual TypeSpec's superinterfaces does not contain all given TypeName elements.public S hasSuperinterfaces(Collection<? extends com.squareup.javapoet.TypeName> superinterfaces)
superinterfaces - the given elements that should be contained in actual TypeSpec's superinterfaces.AssertionError - if the actual TypeSpec's superinterfaces does not contain all given TypeName elements.public S hasOnlySuperinterfaces(com.squareup.javapoet.TypeName... superinterfaces)
superinterfaces - the given elements that should be contained in actual TypeSpec's superinterfaces.AssertionError - if the actual TypeSpec's superinterfaces does not contain all given TypeName elements.public S hasOnlySuperinterfaces(Collection<? extends com.squareup.javapoet.TypeName> superinterfaces)
superinterfaces - the given elements that should be contained in actual TypeSpec's superinterfaces.AssertionError - if the actual TypeSpec's superinterfaces does not contain all given TypeName elements.public S doesNotHaveSuperinterfaces(com.squareup.javapoet.TypeName... superinterfaces)
superinterfaces - the given elements that should not be in actual TypeSpec's superinterfaces.AssertionError - if the actual TypeSpec's superinterfaces contains any given TypeName elements.public S doesNotHaveSuperinterfaces(Collection<? extends com.squareup.javapoet.TypeName> superinterfaces)
superinterfaces - the given elements that should not be in actual TypeSpec's superinterfaces.AssertionError - if the actual TypeSpec's superinterfaces contains any given TypeName elements.public S hasNoSuperinterfaces()
AssertionError - if the actual TypeSpec's superinterfaces is not empty.public S hasTypeSpecs(com.squareup.javapoet.TypeSpec... typeSpecs)
typeSpecs - the given elements that should be contained in actual TypeSpec's typeSpecs.AssertionError - if the actual TypeSpec's typeSpecs does not contain all given TypeSpec elements.public S hasTypeSpecs(Collection<? extends com.squareup.javapoet.TypeSpec> typeSpecs)
typeSpecs - the given elements that should be contained in actual TypeSpec's typeSpecs.AssertionError - if the actual TypeSpec's typeSpecs does not contain all given TypeSpec elements.public S hasOnlyTypeSpecs(com.squareup.javapoet.TypeSpec... typeSpecs)
typeSpecs - the given elements that should be contained in actual TypeSpec's typeSpecs.AssertionError - if the actual TypeSpec's typeSpecs does not contain all given TypeSpec elements.public S hasOnlyTypeSpecs(Collection<? extends com.squareup.javapoet.TypeSpec> typeSpecs)
typeSpecs - the given elements that should be contained in actual TypeSpec's typeSpecs.AssertionError - if the actual TypeSpec's typeSpecs does not contain all given TypeSpec elements.public S doesNotHaveTypeSpecs(com.squareup.javapoet.TypeSpec... typeSpecs)
typeSpecs - the given elements that should not be in actual TypeSpec's typeSpecs.AssertionError - if the actual TypeSpec's typeSpecs contains any given TypeSpec elements.public S doesNotHaveTypeSpecs(Collection<? extends com.squareup.javapoet.TypeSpec> typeSpecs)
typeSpecs - the given elements that should not be in actual TypeSpec's typeSpecs.AssertionError - if the actual TypeSpec's typeSpecs contains any given TypeSpec elements.public S hasNoTypeSpecs()
AssertionError - if the actual TypeSpec's typeSpecs is not empty.public S hasTypeVariables(com.squareup.javapoet.TypeVariableName... typeVariables)
typeVariables - the given elements that should be contained in actual TypeSpec's typeVariables.AssertionError - if the actual TypeSpec's typeVariables does not contain all given TypeVariableName elements.public S hasTypeVariables(Collection<? extends com.squareup.javapoet.TypeVariableName> typeVariables)
typeVariables - the given elements that should be contained in actual TypeSpec's typeVariables.AssertionError - if the actual TypeSpec's typeVariables does not contain all given TypeVariableName elements.public S hasOnlyTypeVariables(com.squareup.javapoet.TypeVariableName... typeVariables)
typeVariables - the given elements that should be contained in actual TypeSpec's typeVariables.AssertionError - if the actual TypeSpec's typeVariables does not contain all given TypeVariableName elements.public S hasOnlyTypeVariables(Collection<? extends com.squareup.javapoet.TypeVariableName> typeVariables)
typeVariables - the given elements that should be contained in actual TypeSpec's typeVariables.AssertionError - if the actual TypeSpec's typeVariables does not contain all given TypeVariableName elements.public S doesNotHaveTypeVariables(com.squareup.javapoet.TypeVariableName... typeVariables)
typeVariables - the given elements that should not be in actual TypeSpec's typeVariables.AssertionError - if the actual TypeSpec's typeVariables contains any given TypeVariableName elements.public S doesNotHaveTypeVariables(Collection<? extends com.squareup.javapoet.TypeVariableName> typeVariables)
typeVariables - the given elements that should not be in actual TypeSpec's typeVariables.AssertionError - if the actual TypeSpec's typeVariables contains any given TypeVariableName elements.public S hasNoTypeVariables()
AssertionError - if the actual TypeSpec's typeVariables is not empty.Copyright © 2019 Mulesoft. All rights reserved.