BUG-4638: introduce CompatUtils
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / Uint16.java
index d557449220a153d725772905490748b080c8fe35..afa95fea2d691656c75a058793cd24a0d4c5588d 100644 (file)
@@ -14,12 +14,14 @@ import org.opendaylight.yangtools.concepts.Immutable;
  * uint16 represents integer values between 0 and 65535, inclusively. The Java
  * counterpart of Yang uint16 built-in type is {@link Integer}.
  *
+ * @deprecated Use {@link org.opendaylight.yangtools.yang.model.util.type.BaseTypes#uint16Type()} instead
  */
+@Deprecated
 public final class Uint16 extends AbstractUnsignedInteger implements Immutable {
     public static final int MAX_VALUE = 65535;
     private static final String DESCRIPTION = "uint16 represents integer values between 0 and 65535, inclusively.";
 
-    private static Uint16 INSTANCE = new Uint16();
+    private static final Uint16 INSTANCE = new Uint16();
 
     private Uint16() {
         super(BaseTypes.UINT16_QNAME, DESCRIPTION, MAX_VALUE, "");