@Generated(value="assertj-assertions-generator") public abstract class AbstractParameterSpecAssert<S extends AbstractParameterSpecAssert<S,A>,A extends com.squareup.javapoet.ParameterSpec> extends org.assertj.core.api.AbstractObjectAssert<S,A>
ParameterSpec specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractParameterSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ParameterSpec. |
| Modifier and Type | Method and Description |
|---|---|
S |
doesNotHaveAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual ParameterSpec's annotations does not contain the given AnnotationSpec elements.
|
S |
doesNotHaveAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
Verifies that the actual ParameterSpec's annotations does not contain the given AnnotationSpec elements in Collection.
|
S |
doesNotHaveModifiers(Collection<? extends Modifier> modifiers)
Verifies that the actual ParameterSpec's modifiers does not contain the given javax.lang.model.element.Modifier elements in Collection.
|
S |
doesNotHaveModifiers(Modifier... modifiers)
Verifies that the actual ParameterSpec's modifiers does not contain the given javax.lang.model.element.Modifier elements.
|
S |
hasAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual ParameterSpec's annotations contains the given AnnotationSpec elements.
|
S |
hasAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
Verifies that the actual ParameterSpec's annotations contains the given AnnotationSpec elements in Collection.
|
S |
hasModifiers(Collection<? extends Modifier> modifiers)
Verifies that the actual ParameterSpec's modifiers contains the given javax.lang.model.element.Modifier elements in Collection.
|
S |
hasModifiers(Modifier... modifiers)
Verifies that the actual ParameterSpec's modifiers contains the given javax.lang.model.element.Modifier elements.
|
S |
hasName(String name)
Verifies that the actual ParameterSpec's name is equal to the given one.
|
S |
hasNoAnnotations()
Verifies that the actual ParameterSpec has no annotations.
|
S |
hasNoModifiers()
Verifies that the actual ParameterSpec has no modifiers.
|
S |
hasOnlyAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual ParameterSpec'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 ParameterSpec's annotations contains only the given AnnotationSpec elements in Collection and nothing else in whatever order.
|
S |
hasOnlyModifiers(Collection<? extends Modifier> modifiers)
Verifies that the actual ParameterSpec'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 ParameterSpec's modifiers contains only the given javax.lang.model.element.Modifier elements and nothing else in whatever order.
|
S |
hasType(com.squareup.javapoet.TypeName type)
Verifies that the actual ParameterSpec's type is equal to the given one.
|
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 AbstractParameterSpecAssert(A actual, Class<S> selfType)
AbstractParameterSpecAssert to make assertions on actual ParameterSpec.actual - the ParameterSpec we want to make assertions on.public S hasAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
annotations - the given elements that should be contained in actual ParameterSpec's annotations.AssertionError - if the actual ParameterSpec'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 ParameterSpec's annotations.AssertionError - if the actual ParameterSpec'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 ParameterSpec's annotations.AssertionError - if the actual ParameterSpec'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 ParameterSpec's annotations.AssertionError - if the actual ParameterSpec'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 ParameterSpec's annotations.AssertionError - if the actual ParameterSpec'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 ParameterSpec's annotations.AssertionError - if the actual ParameterSpec's annotations contains any given AnnotationSpec elements.public S hasNoAnnotations()
AssertionError - if the actual ParameterSpec's annotations is not empty.public S hasModifiers(Modifier... modifiers)
modifiers - the given elements that should be contained in actual ParameterSpec's modifiers.AssertionError - if the actual ParameterSpec'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 ParameterSpec's modifiers.AssertionError - if the actual ParameterSpec'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 ParameterSpec's modifiers.AssertionError - if the actual ParameterSpec'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 ParameterSpec's modifiers.AssertionError - if the actual ParameterSpec'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 ParameterSpec's modifiers.AssertionError - if the actual ParameterSpec'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 ParameterSpec's modifiers.AssertionError - if the actual ParameterSpec's modifiers contains any given javax.lang.model.element.Modifier elements.public S hasNoModifiers()
AssertionError - if the actual ParameterSpec's modifiers is not empty.public S hasName(String name)
name - the given name to compare the actual ParameterSpec's name to.AssertionError - - if the actual ParameterSpec's name is not equal to the given one.public S hasType(com.squareup.javapoet.TypeName type)
type - the given type to compare the actual ParameterSpec's type to.AssertionError - - if the actual ParameterSpec's type is not equal to the given one.Copyright © 2019 Mulesoft. All rights reserved.