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

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

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

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

    public void acceptVisit(BCVisitor visit) {
        visit.enterFieldEntry(this);
        visit.exitFieldEntry(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy