1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package net
.multiphasicapps
.classfile
;
12 import cc
.squirreljme
.runtime
.cldc
.debug
.Debugging
;
15 * This represents an annotation value that represents a primitive constant.
19 public final class AnnotationValuePrimitive
21 implements AnnotationValue
23 /** The represented number value. */
24 protected final Number value
;
27 * Initializes the primitive value.
29 * @param __v The value used
30 * @throws NullPointerException On null arguments.
33 public AnnotationValuePrimitive(Number __v
)
34 throws NullPointerException
37 throw new NullPointerException("NARG");
47 public final double doubleValue()
49 throw Debugging
.todo();
57 public final boolean equals(Object __o
)
59 throw Debugging
.todo();
67 public final float floatValue()
69 throw Debugging
.todo();
77 public final int hashCode()
79 throw Debugging
.todo();
87 public final int intValue()
89 throw Debugging
.todo();
97 public final long longValue()
99 throw Debugging
.todo();
107 public final String
toString()
109 throw Debugging
.todo();