All Downloads are FREE. Search and download functionalities are using the official Maven repository.

serp.bytecode.lowlevel.InterfaceMethodEntry Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
package serp.bytecode.lowlevel;

import java.io.*;

import serp.bytecode.visitor.*;

/**
 * A reference to an interface method.
 *
 * @author Abe White
 */
public class InterfaceMethodEntry extends ComplexEntry {
    /**
     * Default constructor.
     */
    public InterfaceMethodEntry() {
    }

    /**
     * Constructor.
     *
     * @see ComplexEntry#ComplexEntry(int,int)
     */
    public InterfaceMethodEntry(int classIndex, int nameAndTypeIndex) {
        super(classIndex, nameAndTypeIndex);
    }

    public int getType() {
        return Entry.INTERFACEMETHOD;
    }

    public void acceptVisit(BCVisitor visit) {
        visit.enterInterfaceMethodEntry(this);
        visit.exitInterfaceMethodEntry(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy