@Generated(value="assertj-assertions-generator") public abstract class AbstractTypeNameAssert<S extends AbstractTypeNameAssert<S,A>,A extends com.squareup.javapoet.TypeName> extends org.assertj.core.api.AbstractObjectAssert<S,A>
TypeName specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTypeNameAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual TypeName. |
| Modifier and Type | Method and Description |
|---|---|
S |
doesNotHaveAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual TypeName's annotations does not contain the given AnnotationSpec elements.
|
S |
doesNotHaveAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
Verifies that the actual TypeName's annotations does not contain the given AnnotationSpec elements in Collection.
|
S |
hasAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual TypeName's annotations contains the given AnnotationSpec elements.
|
S |
hasAnnotations(Collection<? extends com.squareup.javapoet.AnnotationSpec> annotations)
Verifies that the actual TypeName's annotations contains the given AnnotationSpec elements in Collection.
|
S |
hasNoAnnotations()
Verifies that the actual TypeName has no annotations.
|
S |
hasOnlyAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
Verifies that the actual TypeName'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 TypeName's annotations contains only the given AnnotationSpec elements in Collection and nothing else in whatever order.
|
S |
isAnnotated()
Verifies that the actual TypeName is annotated.
|
S |
isBoxedPrimitive()
Verifies that the actual TypeName is boxed primitive.
|
S |
isNotAnnotated()
Verifies that the actual TypeName is not annotated.
|
S |
isNotBoxedPrimitive()
Verifies that the actual TypeName is not boxed primitive.
|
S |
isNotPrimitive()
Verifies that the actual TypeName is not primitive.
|
S |
isPrimitive()
Verifies that the actual TypeName is primitive.
|
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 AbstractTypeNameAssert(A actual, Class<S> selfType)
AbstractTypeNameAssert to make assertions on actual TypeName.actual - the TypeName we want to make assertions on.public S isAnnotated()
AssertionError - - if the actual TypeName is not annotated.public S isNotAnnotated()
AssertionError - - if the actual TypeName is annotated.public S isBoxedPrimitive()
AssertionError - - if the actual TypeName is not boxed primitive.public S isNotBoxedPrimitive()
AssertionError - - if the actual TypeName is boxed primitive.public S isPrimitive()
AssertionError - - if the actual TypeName is not primitive.public S isNotPrimitive()
AssertionError - - if the actual TypeName is primitive.public S hasAnnotations(com.squareup.javapoet.AnnotationSpec... annotations)
annotations - the given elements that should be contained in actual TypeName's annotations.AssertionError - if the actual TypeName'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 TypeName's annotations.AssertionError - if the actual TypeName'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 TypeName's annotations.AssertionError - if the actual TypeName'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 TypeName's annotations.AssertionError - if the actual TypeName'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 TypeName's annotations.AssertionError - if the actual TypeName'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 TypeName's annotations.AssertionError - if the actual TypeName's annotations contains any given AnnotationSpec elements.public S hasNoAnnotations()
AssertionError - if the actual TypeName's annotations is not empty.Copyright © 2019 Mulesoft. All rights reserved.