
com.squareup.javapoet.Assertions Maven / Gradle / Ivy
The newest version!
package com.squareup.javapoet;
/**
* Entry point for assertions of different data types. Each method in this class is a static factory for the
* type-specific assertion objects.
*/
@javax.annotation.Generated(value="assertj-assertions-generator")
public class Assertions {
/**
* Creates a new instance of {@link com.squareup.javapoet.AnnotationSpecAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.AnnotationSpecAssert assertThat(com.squareup.javapoet.AnnotationSpec actual) {
return new com.squareup.javapoet.AnnotationSpecAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.ArrayTypeNameAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.ArrayTypeNameAssert assertThat(com.squareup.javapoet.ArrayTypeName actual) {
return new com.squareup.javapoet.ArrayTypeNameAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.ClassNameAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.ClassNameAssert assertThat(com.squareup.javapoet.ClassName actual) {
return new com.squareup.javapoet.ClassNameAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.CodeBlockAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.CodeBlockAssert assertThat(com.squareup.javapoet.CodeBlock actual) {
return new com.squareup.javapoet.CodeBlockAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.FieldSpecAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.FieldSpecAssert assertThat(com.squareup.javapoet.FieldSpec actual) {
return new com.squareup.javapoet.FieldSpecAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.JavaFileAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.JavaFileAssert assertThat(com.squareup.javapoet.JavaFile actual) {
return new com.squareup.javapoet.JavaFileAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.MethodSpecAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.MethodSpecAssert assertThat(com.squareup.javapoet.MethodSpec actual) {
return new com.squareup.javapoet.MethodSpecAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.NameAllocatorAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.NameAllocatorAssert assertThat(com.squareup.javapoet.NameAllocator actual) {
return new com.squareup.javapoet.NameAllocatorAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.ParameterSpecAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.ParameterSpecAssert assertThat(com.squareup.javapoet.ParameterSpec actual) {
return new com.squareup.javapoet.ParameterSpecAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.ParameterizedTypeNameAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.ParameterizedTypeNameAssert assertThat(com.squareup.javapoet.ParameterizedTypeName actual) {
return new com.squareup.javapoet.ParameterizedTypeNameAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.TypeNameAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.TypeNameAssert assertThat(com.squareup.javapoet.TypeName actual) {
return new com.squareup.javapoet.TypeNameAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.TypeSpecAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.TypeSpecAssert assertThat(com.squareup.javapoet.TypeSpec actual) {
return new com.squareup.javapoet.TypeSpecAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.TypeVariableNameAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.TypeVariableNameAssert assertThat(com.squareup.javapoet.TypeVariableName actual) {
return new com.squareup.javapoet.TypeVariableNameAssert(actual);
}
/**
* Creates a new instance of {@link com.squareup.javapoet.WildcardTypeNameAssert}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static com.squareup.javapoet.WildcardTypeNameAssert assertThat(com.squareup.javapoet.WildcardTypeName actual) {
return new com.squareup.javapoet.WildcardTypeNameAssert(actual);
}
/**
* Creates a new {@link Assertions}
.
*/
protected Assertions() {
// empty
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy