com.vladium.jcd.cls.constant
Class CONSTANT_InterfaceMethodref_info

java.lang.Object
  extended bycom.vladium.jcd.cls.constant.CONSTANT_info
      extended bycom.vladium.jcd.cls.constant.CONSTANT_ref_info
          extended bycom.vladium.jcd.cls.constant.CONSTANT_InterfaceMethodref_info
All Implemented Interfaces:
java.lang.Cloneable, IClassFormatOutput

public final class CONSTANT_InterfaceMethodref_info
extends CONSTANT_ref_info

This structure is used in the constant pool to represent dynamic references to interface methods. The class_index item of a CONSTANT_InterfaceMethodref_info structure must be an interface type that declares the given method.

Author:
(C) 2001, Vlad Roubtsov
See Also:
CONSTANT_ref_info, CONSTANT_Fieldref_info, CONSTANT_Methodref_info

Field Summary
static byte TAG
           
 
Fields inherited from class com.vladium.jcd.cls.constant.CONSTANT_ref_info
m_class_index, m_name_and_type_index
 
Constructor Summary
  CONSTANT_InterfaceMethodref_info(int class_index, int name_and_type_index)
           
protected CONSTANT_InterfaceMethodref_info(UDataInputStream bytes)
           
 
Method Summary
 java.lang.Object accept(ICONSTANTVisitor visitor, java.lang.Object ctx)
           
 byte tag()
          Returns the tag byte for this CONSTANT type [this data is static class data].
 java.lang.String toString()
           
 
Methods inherited from class com.vladium.jcd.cls.constant.CONSTANT_ref_info
writeInClassFormat
 
Methods inherited from class com.vladium.jcd.cls.constant.CONSTANT_info
clone, new_CONSTANT_info, tagToString, width
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG

public static final byte TAG
See Also:
Constant Field Values
Constructor Detail

CONSTANT_InterfaceMethodref_info

public CONSTANT_InterfaceMethodref_info(int class_index,
                                        int name_and_type_index)

CONSTANT_InterfaceMethodref_info

protected CONSTANT_InterfaceMethodref_info(UDataInputStream bytes)
                                    throws java.io.IOException
Method Detail

tag

public final byte tag()
Description copied from class: CONSTANT_info
Returns the tag byte for this CONSTANT type [this data is static class data].

Specified by:
tag in class CONSTANT_info

accept

public java.lang.Object accept(ICONSTANTVisitor visitor,
                               java.lang.Object ctx)
Specified by:
accept in class CONSTANT_info

toString

public java.lang.String toString()
Specified by:
toString in class CONSTANT_info