Cherry pick the banglets and such from wip-l1summercoat, this will be the basis for...
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / general / __DeveloperNoteSession__.java
blobcbc4b77e9ea234527a060fdb1678ce4ac4447225
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 cc.squirreljme.plugin.general;
12 /**
13 * Developer note session storage.
15 * @since 2020/06/26
17 final class __DeveloperNoteSession__
19 /** The file path. */
20 public final String filePath;
22 /** The number of times this was saved. */
23 int _saveCount;
25 /** Submitted content data. */
26 byte[] _content =
27 new byte[0];
29 /**
30 * Initializes the session details.
32 * @param __filePath The file path.
33 * @throws NullPointerException On null arguments.
34 * @since 2020/06/27
36 public __DeveloperNoteSession__(String __filePath)
37 throws NullPointerException
39 if (__filePath == null)
40 throw new NullPointerException("NARG");
42 this.filePath = __filePath;