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

smetana.core.UnsupportedStarStruct Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.

package smetana.core;

import java.util.concurrent.atomic.AtomicInteger;

public class UnsupportedStarStruct implements __struct__, __ptr__ {

	// ::revert when __CORE__
	public final static AtomicInteger CPT = new AtomicInteger();
	// public static int CPT;
	public final int UID;

	public static UnsupportedStarStruct SPY_ME;

	public UnsupportedStarStruct() {
		// ::revert when __CORE__
		this.UID = CPT.incrementAndGet();
		// this.UID = CPT++;
	}

	final public __ptr__ unsupported() {
		throw new UnsupportedOperationException(getClass().toString());
	}

	public boolean isSameThan(__ptr__ other) {
		throw new UnsupportedOperationException(getClass().toString());
	}

	public __ptr__ castTo(Class dest) {
		System.err.println("I am " + toString() + " " + UID);
		throw new UnsupportedOperationException(dest + " " + getClass().toString());
	}

	public Object getTheField(FieldOffset virtualBytes) {
		throw new UnsupportedOperationException(getClass().toString());
	}

	public __struct__ copy() {
		throw new UnsupportedOperationException(getClass().toString());
	}

	public void ___(__struct__ other) {
		throw new UnsupportedOperationException(getClass().toString());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy