Check-in [eb14104d9a]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add base for component type get of a class.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: eb14104d9a7bf38d639e5dc892f259388a607b5b
User & Date: stephanie.gawroriski 2019-11-09 14:53:21
Context
2019-11-15
12:13
Get component type of array, load the base component type of an array first. check-in: 06be921052 user: stephanie.gawroriski tags: trunk
2019-11-09
14:53
Add base for component type get of a class. check-in: eb14104d9a user: stephanie.gawroriski tags: trunk
14:51
Diverge for array and primitive type initialization. check-in: 02cd8b47de user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/klib/supervisor/cc/squirreljme/jvm/lib/ClassNameUtils.java.

20
21
22
23
24
25
26


















27
28
29
30
31
32
33
	 * Not used.
	 *
	 * @since 2019/11/04
	 */
	private ClassNameUtils()
	{
	}


















	
	/**
	 * Checks whether the given class name is an array.
	 *
	 * @param __cl The class name to check.
	 * @return If it is an array.
	 * @throws NullPointerException On null arguments.







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
	 * Not used.
	 *
	 * @since 2019/11/04
	 */
	private ClassNameUtils()
	{
	}
	
	/**
	 * Returns the component type of the given array class.
	 *
	 * @param __cl The class to check.
	 * @return The component type of the class.
	 * @throws IllegalArgumentException If this is not an array.
	 * @throws NullPointerException On null arguments.
	 * @since 2019/11/09
	 */
	public static final String componentType(String __cl)
		throws IllegalArgumentException, NullPointerException
	{
		if (__cl == null)
			throw new NullPointerException("NARG");
		
		throw new todo.TODO();
	}
	
	/**
	 * Checks whether the given class name is an array.
	 *
	 * @param __cl The class name to check.
	 * @return If it is an array.
	 * @throws NullPointerException On null arguments.