Remove exported everywhere.
[SquirrelJME.git] / modules / tool-classfile / src / main / java / net / multiphasicapps / classfile / AnnotationValueEnum.java
blob01cf118c54c8596fa68478ceb716aa392f6eb8f8
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 is an annotation value which represents an enumeration.
17 * @since 2018/06/16
19 public final class AnnotationValueEnum
20 implements AnnotationValue
22 /** The type name. */
23 protected final FieldDescriptor type;
25 /** The enum name. */
26 protected final FieldName name;
28 /**
29 * Initializes the annotation enumeration value.
31 * @param __type The type used.
32 * @param __name The name of the enumeration key.
33 * @throws NullPointerException On null arguments.
34 * @since 2019/04/01
36 public AnnotationValueEnum(FieldDescriptor __type, FieldName __name)
37 throws NullPointerException
39 if (__type == null || __name == null)
40 throw new NullPointerException("NARG");
42 this.type = __type;
43 this.name = __name;
46 /**
47 * {@inheritDoc}
48 * @since 2018/06/16
50 @Override
51 public final boolean equals(Object __o)
53 throw Debugging.todo();
56 /**
57 * {@inheritDoc}
58 * @since 2018/06/16
60 @Override
61 public final int hashCode()
63 throw Debugging.todo();
66 /**
67 * {@inheritDoc}
68 * @since 2018/06/16
70 @Override
71 public final String toString()
73 throw Debugging.todo();