Remove exported everywhere.
[SquirrelJME.git] / modules / tool-classfile / src / main / java / net / multiphasicapps / classfile / AnnotationValuePrimitive.java
blobfb079566c68423d8205719a38ff3b7c24abd0dd9
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
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;
14 /**
15 * This represents an annotation value that represents a primitive constant.
17 * @since 2018/06/16
19 public final class AnnotationValuePrimitive
20 extends Number
21 implements AnnotationValue
23 /** The represented number value. */
24 protected final Number value;
26 /**
27 * Initializes the primitive value.
29 * @param __v The value used
30 * @throws NullPointerException On null arguments.
31 * @since 2019/04/01
33 public AnnotationValuePrimitive(Number __v)
34 throws NullPointerException
36 if (__v == null)
37 throw new NullPointerException("NARG");
39 this.value = __v;
42 /**
43 * {@inheritDoc}
44 * @since 2018/06/16
46 @Override
47 public final double doubleValue()
49 throw Debugging.todo();
52 /**
53 * {@inheritDoc}
54 * @since 2018/06/16
56 @Override
57 public final boolean equals(Object __o)
59 throw Debugging.todo();
62 /**
63 * {@inheritDoc}
64 * @since 2018/06/16
66 @Override
67 public final float floatValue()
69 throw Debugging.todo();
72 /**
73 * {@inheritDoc}
74 * @since 2018/06/16
76 @Override
77 public final int hashCode()
79 throw Debugging.todo();
82 /**
83 * {@inheritDoc}
84 * @since 2018/06/16
86 @Override
87 public final int intValue()
89 throw Debugging.todo();
92 /**
93 * {@inheritDoc}
94 * @since 2018/06/16
96 @Override
97 public final long longValue()
99 throw Debugging.todo();
103 * {@inheritDoc}
104 * @since 2018/06/16
106 @Override
107 public final String toString()
109 throw Debugging.todo();