SquirrelJME/SquirrelJME

View on GitHub
modules/tool-classfile/src/main/java/net/multiphasicapps/classfile/MemberNameAndType.java

Summary

Maintainability
A
0 mins
Test Coverage
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// SquirrelJME
//     Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the Mozilla Public License Version 2.0.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------

package net.multiphasicapps.classfile;

/**
 * This represents something which is a member and has a member name and type.
 *
 * @since 2018/09/09
 */
public interface MemberNameAndType
{
    /**
     * Returns the name of the member.
     *
     * @return The member name.
     * @since 2018/09/09
     */
    MemberName name();
    
    /**
     * Returns the type of the member.
     *
     * @return The member type.
     * @since 2018/09/09
     */
    MemberDescriptor type();
}