![JAR search and dependency download from the Maven repository](/logo.png)
dk.mada.jaxrs.generator.mpclient.imports.Jspecify Maven / Gradle / Ivy
package dk.mada.jaxrs.generator.mpclient.imports;
import java.util.Optional;
import dk.mada.jaxrs.generator.mpclient.imports.Imports.ImportRenderPrefs;
/**
* JSpecify import paths.
*/
public enum Jspecify implements TypedImport {
/** NullUnmarked. */
NULL_UNMARKED("org.jspecify.annotations.NullUnmarked"),
/** Nullable. */
NULLABLE("org.jspecify.annotations.Nullable");
/** The import path for the type. */
private final String importPath;
Jspecify(String importPath) {
this.importPath = importPath;
}
@Override
public Optional path(ImportRenderPrefs irp) {
return Optional.of(importPath);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy