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

org.qbicc.graph.InterfaceMethodLookup Maven / Gradle / Ivy

There is a newer version: 0.77.0
Show newest version
package org.qbicc.graph;

import org.qbicc.type.definition.element.ExecutableElement;
import org.qbicc.type.definition.element.InstanceMethodElement;

/**
 *
 */
public final class InterfaceMethodLookup extends AbstractMethodLookup {

    InterfaceMethodLookup(final Node callSite, final ExecutableElement element, final int line, final int bci, final Node dependency, final Value typeId, final InstanceMethodElement method) {
        super(callSite, element, line, bci, dependency, typeId, method);
    }

    @Override
    String getLabel() {
        return "interface";
    }

    @Override
    String getNodeName() {
        return "InterfaceMethodLookup";
    }

    @Override
    public boolean equals(AbstractMethodLookup other) {
        return other instanceof InterfaceMethodLookup vml && equals(vml);
    }

    public boolean equals(InterfaceMethodLookup other) {
        return super.equals(other);
    }

    @Override
    public  R accept(ValueVisitor visitor, T param) {
        return visitor.visit(param, this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy