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 is an annotation value which represents an enumeration.
19 public final class AnnotationValueEnum
20 implements AnnotationValue
23 protected final FieldDescriptor type
;
26 protected final FieldName name
;
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.
36 public AnnotationValueEnum(FieldDescriptor __type
, FieldName __name
)
37 throws NullPointerException
39 if (__type
== null || __name
== null)
40 throw new NullPointerException("NARG");
51 public final boolean equals(Object __o
)
53 throw Debugging
.todo();
61 public final int hashCode()
63 throw Debugging
.todo();
71 public final String
toString()
73 throw Debugging
.todo();