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

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

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

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

/**
 *
 */
public final class ByteSwap extends AbstractUnaryValue {
    ByteSwap(final Node callSite, final ExecutableElement element, final int line, final int bci, final Value v) {
        super(callSite, element, line, bci, v);
        //noinspection RedundantClassCall
        IntegerType.class.cast(v.getType());
    }

    @Override
    public IntegerType getType() {
        return (IntegerType) super.getType();
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy