MetaclassBase.java
/**
* Copyright 2010,2021 Nikolas S Boyd.
Permission is granted to copy this work provided this copyright statement is retained in all copies.
*/
package Hoot.Behaviors;
import Hoot.Runtime.Functions.*;
import Hoot.Runtime.Faces.*;
import Hoot.Runtime.Values.*;
import Hoot.Runtime.Blocks.*;
import Smalltalk.Core.*;
import Smalltalk.Blocks.*;
import Smalltalk.Magnitudes.*;
import Hoot.Magnitudes.*;
import Hoot.Magnitudes.Integer;
import Hoot.Magnitudes.Character;
import Hoot.Magnitudes.Float;
import Hoot.Magnitudes.Double;
import Hoot.Collections.*;
import Hoot.Collections.String;
import Hoot.Runtime.Behaviors.Typified;
import Hoot.Runtime.Behaviors.HootRegistry;
public class MetaclassBase extends Behavior
{
/**
*
*/
public MetaclassBase(final Typified aClass)
{
super(aClass);
java.lang.String exitID = "MetaclassBase>>MetaclassBase";
Frame f0 = new Frame(exitID);
}
/**
*
*/
public MetaclassBase(final java.lang.Class aClass)
{
super(aClass);
java.lang.String exitID = "MetaclassBase>>MetaclassBase";
Frame f0 = new Frame(exitID);
}
/**
* @return
*/
@Override public Boolean isMetaclass()
{
java.lang.String exitID = "MetaclassBase>>isMetaclass";
Frame f0 = new Frame(exitID);
return (Boolean)True.literal();
}
/**
* @return
*/
public Behavior instanceClass()
{
java.lang.String exitID = "MetaclassBase>>instanceClass";
Frame f0 = new Frame(exitID);
return (Behavior)HootRegistry.getRegistered(this.outerClass());
}
}