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

serp.bytecode.lowlevel.MethodEntry 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 a class method.
 *
 * @author Abe White
 */
public class MethodEntry extends ComplexEntry {
    /**
     * Default constructor.
     */
    public MethodEntry() {
    }

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

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

    public void acceptVisit(BCVisitor visit) {
        visit.enterMethodEntry(this);
        visit.exitMethodEntry(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy