    001/*
    002 * Licensed to the Apache Software Foundation (ASF) under one
    003 * or more contributor license agreements.  See the NOTICE file
    004 * distributed with this work for additional information
    005 * regarding copyright ownership.  The ASF licenses this file
    006 * to you under the Apache License, Version 2.0 (the
    007 * "License"); you may not use this file except in compliance
    008 * with the License.  You may obtain a copy of the License at
    009 *
    010 *   https://www.apache.org/licenses/LICENSE-2.0
    011 *
    012 * Unless required by applicable law or agreed to in writing,
    013 * software distributed under the License is distributed on an
    014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    015 * KIND, either express or implied.  See the License for the
    016 * specific language governing permissions and limitations
    017 * under the License.
    018 */
    019package org.apache.bcel.verifier.statics;
    020
    021import org.apache.bcel.Const;
    022import org.apache.bcel.generic.Type;
    023
    024/**
    025 * This class represents the upper half of a DOUBLE variable.
    026 */
    027public final class DOUBLE_Upper extends Type {
    028
    029    /** The one and only instance of this class. */
    030    private static final DOUBLE_Upper INSTANCE = new DOUBLE_Upper();
    031
    032    /**
    033     * Gets the single instance of this class.
    034     *
    035     * @return the single instance of this class.
    036     */
    037    public static DOUBLE_Upper theInstance() {
    038        return INSTANCE;
    039    }
    040
    041    /** The constructor; this class must not be instantiated from the outside. */
    042    private DOUBLE_Upper() {
    043        super(Const.T_UNKNOWN, "Double_Upper");
    044    }
    045}