1 package com.fasterxml.jackson.databind.annotation; 2 3 /** 4 * Marker class used with annotations to indicate "no class". This is 5 * a silly but necessary work-around -- annotations cannot take nulls 6 * as either default or explicit values. Hence for class values we must 7 * explicitly use a bogus placeholder to denote equivalent of 8 * "no class" (for which 'null' is usually the natural choice). 9 *<p> 10 * Note that since 2.4, most (but not all! 11 * {@link com.fasterxml.jackson.annotation.JsonTypeInfo#defaultImpl} is 12 * a notable exception}) usage should start using 13 * {@link java.lang.Void} instead as the "not defined" marker. 14 */ 15 public final class NoClass 16 { NoClass()17 private NoClass() { } 18 } 19