com.fasterxml.jackson.databind.annotation.NoClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redisson-all Show documentation
Show all versions of redisson-all Show documentation
Easy Redis Java client and Real-Time Data Platform. Valkey compatible. Sync/Async/RxJava3/Reactive API. Client side caching. Over 50 Redis based Java objects and services: JCache API, Apache Tomcat, Hibernate, Spring, Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Scheduler, RPC
package com.fasterxml.jackson.databind.annotation;
/**
* Marker class used with annotations to indicate "no class". This is
* a silly but necessary work-around -- annotations cannot take nulls
* as either default or explicit values. Hence for class values we must
* explicitly use a bogus placeholder to denote equivalent of
* "no class" (for which 'null' is usually the natural choice).
*
* Note that since 2.4, most (but not all!
* {@link com.fasterxml.jackson.annotation.JsonTypeInfo#defaultImpl} is
* a notable exception}) usage should start using
* {@link java.lang.Void} instead as the "not defined" marker.
*/
public final class NoClass
{
private NoClass() { }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy