Check-in [ea0cb43e36]

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

Overview
Comment:Add VTableMethodReference.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ea0cb43e36bb381f32cbe46fde64ff01c2985566
User & Date: stephanie.gawroriski 2019-02-08 01:31:57
Context
2019-02-08
01:37
Add building of method references to the VTable. check-in: af1c1684e1 user: stephanie.gawroriski tags: trunk
01:31
Add VTableMethodReference. check-in: ea0cb43e36 user: stephanie.gawroriski tags: trunk
01:29
Add invocation type. check-in: 742938d45c user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added runt/libs/tool-scrf/net/multiphasicapps/scrf/VTableMethodReference.java.









































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
52
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
//     Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
//     Copyright (C) Multi-Phasic Applications <multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------

package net.multiphasicapps.scrf;

import net.multiphasicapps.classfile.ClassName;
import net.multiphasicapps.classfile.MemberName;
import net.multiphasicapps.classfile.MethodDescriptor;

/**
 * This represents a reference to another method.
 *
 * @since 2019/02/07
 */
public final class VTableMethodReference
	extends VTableMemberReference
{
	/**
	 * Initializes the reference.
	 *
	 * @param __s Is this static?
	 * @param __cl The class name.
	 * @param __mn The member name.
	 * @param __mt The member type.
	 * @throws NullPointerException On null arguments.
	 * @since 2019/02/07
	 */
	public VTableMethodReference(boolean __s, ClassName __cl, MemberName __mn,
		MethodDescriptor __mt)
		throws NullPointerException
	{
		super(__s, __cl, __mn, __mt);
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/02/07
	 */
	@Override
	public boolean equals(Object __o)
	{
		return super.equals(__o) && (__o instanceof VTableMethodReference);
	}
}