Class ClassFile.ConstantInterfaceMethodRefInfo

  • Enclosing class:
    ClassFile

    private static class ClassFile.ConstantInterfaceMethodRefInfo
    extends ClassFile.CpInfo
    A CONSTANT_InterfaceMethodref_info item.
    See Also:
    JVMS 4.4.2
    • Field Detail

      • classIndex

        private final int classIndex
      • nameAndTypeIndex

        private final int nameAndTypeIndex
    • Constructor Detail

      • ConstantInterfaceMethodRefInfo

        ConstantInterfaceMethodRefInfo​(ClassFile.Parser parser,
                                       ClassFile.ClassContext classContext)
                                throws java.io.IOException
        Parses a CONSTANT_InterfaceMethodref_info item.
        Parameters:
        parser - a class parser.
        classContext - a context to lookup constant pool items from their index.
        Throws:
        java.io.IOException - if the class can't be parsed.
    • Method Detail

      • dump

        java.lang.String dump()
        Description copied from class: ClassFile.CpInfo
        Returns the dump of this item.
        Overrides:
        dump in class ClassFile.CpInfo
        Returns:
        the dump of this item.