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

temper.core.Stub Maven / Gradle / Ivy

The newest version!
package temper.core;

/** Stub classes to represent artifacts that should be removed during compilation. */
public final class Stub {
    private Stub() {}

    /** The pure virutal function indicates a method that should be abstract without a body. */
    public static  T pureVirtual(Object ... args) {
        throw new UnsupportedOperationException();
    }
    /** Indicates an error in translation. */
    public static  T cantTranslate(Object ... args) {
        throw new UnsupportedOperationException();
    }
    /** Represents an error during type resolution. */
    public static final class InvalidType {}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy