/*
 * Copyright (c) 2015 Pantheon Technologies s.r.o. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.yangtools.yang.common;

import com.google.common.annotations.Beta;
import java.io.Serializable;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.opendaylight.yangtools.concepts.Immutable;

/**
 * Dedicated singleton type for YANG's 'type empty' value.
 *
 * @author Robert Varga
 */
@Beta
@NonNullByDefault
public final class Empty implements Immutable, Serializable {
    private static final long serialVersionUID = 1L;
    private static final Empty INSTANCE = new Empty();

    private Empty() {
        // Hidden on purpose
    }

    /**
     * Return the singleton {@link Empty} value.
     *
     * @return Empty value.
     * @deprecated Use {@link #value()} instead.
     */
    @Deprecated(since = "7.0.10", forRemoval = true)
    public static Empty getInstance() {
        return value();
    }

    /**
     * Return the singleton {@link Empty} value.
     *
     * @return Empty value.
     */
    public static Empty value()  {
        return INSTANCE;
    }

    @Override
    public String toString() {
        return "empty";
    }

    @SuppressWarnings("static-method")
    private Object readResolve() {
        return INSTANCE;
    }
}

@@ -363,51 +363,8 @@
 n;%0A%0A
-import com.google.common.annotations.Beta;%0A
 impo
@@ -388,16 +388,16 @@
 izable;%0A
+
 import o
@@ -593,14 +593,8 @@
  */%0A
-@Beta%0A
 @Non
@@ -796,24 +796,24 @@
 e Empty() %7B%0A
+
         // H
@@ -840,281 +840,8 @@
  %7D%0A%0A
-    /**%0A     * Return the singleton %7B@link Empty%7D value.%0A     *%0A     * @return Empty value.%0A     * @deprecated Use %7B@link #value()%7D instead.%0A     */%0A    @Deprecated(since = %227.0.10%22, forRemoval = true)%0A    public static Empty getInstance() %7B%0A        return value();%0A    %7D%0A%0A
     

Remove Empty.getInstance()