
com.squareup.javapoet.AnnotationSpecAssert Maven / Gradle / Ivy
The newest version!
package com.squareup.javapoet;
/**
* {@link AnnotationSpec} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractAnnotationSpecAssert} instead.
*/
@javax.annotation.Generated(value="assertj-assertions-generator")
public class AnnotationSpecAssert extends AbstractAnnotationSpecAssert {
/**
* Creates a new {@link AnnotationSpecAssert}
to make assertions on actual AnnotationSpec.
* @param actual the AnnotationSpec we want to make assertions on.
*/
public AnnotationSpecAssert(AnnotationSpec actual) {
super(actual, AnnotationSpecAssert.class);
}
/**
* An entry point for AnnotationSpecAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myAnnotationSpec)
and get specific assertion with code completion.
* @param actual the AnnotationSpec we want to make assertions on.
* @return a new {@link AnnotationSpecAssert}
*/
@org.assertj.core.util.CheckReturnValue
public static AnnotationSpecAssert assertThat(AnnotationSpec actual) {
return new AnnotationSpecAssert(actual);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy