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 Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc
.squirreljme
.plugin
.swm
;
13 * This represents an internal project name which is used by SquirrelJME.
17 public final class InternalName
18 implements MarkedProvided
20 /** The project name. */
21 protected final String name
;
24 * Initializes the internal name.
26 * @param __n The name to use.
27 * @throws NullPointerException On null arguments.
30 public InternalName(String __n
)
31 throws NullPointerException
34 throw new NullPointerException("NARG");
44 public boolean equals(Object __o
)
49 if (!(__o
instanceof InternalName
))
52 return this.name
.equals(((InternalName
)__o
).name
);
62 return this.name
.hashCode();
66 * Returns the internal name.
68 * @return The internal name.
81 public String
toString()