|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.wrapper.FeWrapperSpec
Handles wrapping, certification, and filtering for a wrapper type and its subtypes (if
there are any)
| Field Summary | |
protected FeWrapperDef |
myDef
|
protected CrossRegion |
myEndorsements
|
protected Filter |
myFilter
|
protected FeAbstractWrapperSpec |
mySuperSpec
|
protected static MuTable |
TheWrapperDefs
|
protected static MuTable |
TheWrapperEndorsements
|
protected static MuTable |
TheWrappersFromEndorsements
|
protected static MuTable |
TheWrapperSpecs
|
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
FeWrapperSpec(FeWrapperDef def)
|
|
| Method Summary | |
static void |
ABSTRACTWRAPPER(java.lang.String wrapperName,
java.lang.String superName,
Symbol className)
From a dynamic initializer, register an abstract Wrapper type |
int |
actualHashForEqual()
|
void |
addToFilter(CrossRegion endorsements)
Add some more endorsements to filter for |
boolean |
certify(FeEdition edition)
Whether the Edition passes the invariants of this type so that it could be certified. Always checks the actual contents and endorses if they are acceptable. |
FeWrapperDef |
def()
|
static void |
DIRECTWRAPPER(java.lang.String wrapperName,
java.lang.String superName,
Symbol className)
From a dynamic initializer, register an abstract Wrapper type |
void |
endorse(FeEdition edition)
Endorse the Edition as being of this type. |
CrossRegion |
endorsements()
|
static FeWrapperSpec |
fetch(Sequence identifier)
Get the local Wrapper spec with the given identifier, or NULL if there is none |
FeAbstractWrapperSpec |
fetchSuperSpec()
The immediate supertype, or NULL if this is the generic Wrapper type |
FeWrapper |
fetchWrap(FeEdition edition)
|
Filter |
filter()
A filter which selects for Editions which have been endorsed as belonging to this type. |
static FeWrapperSpec |
get(Sequence identifier)
Get the local Wrapper spec with the given identifier, or blast if there is none |
static CrossRegion |
getEndorsements(Sequence identifier)
Get the endorsements for the named wrapper space |
static FeWrapperSpec |
getFromEndorsement(Tuple endorsement)
Get the wrapper spec corresponding to the given endorsement |
static void |
INDIRECTWRAPPER(java.lang.String wrapperName,
java.lang.String superName,
java.lang.String innerName,
Symbol className)
From a dynamic initializer, register an abstract Wrapper type |
static void |
info()
{Filter CLIENT} filter {Sequence CLIENT} name {FeWrapper CLIENT} wrap: edition {FeEdition} |
static void |
initTimeNonInherited()
|
boolean |
isCertified(FeEdition edition)
Whether an Edition is already endorsed as being of this type. |
boolean |
isEqual(java.lang.Object other)
|
boolean |
isSubSpecOf(FeWrapperSpec other)
Whether this is the same as or a kind of the other spec |
static XnRegion |
knownWrappers()
The names of all of the known wrappers |
static void |
linkTimeNonInherited()
|
static void |
mustSetup()
|
Sequence |
name()
The name for this type |
static void |
problems()
A ProblemList for all X++ BLASTs |
static void |
registerAbstract(java.lang.String wrapperName,
java.lang.String superName,
FeWrapperSpecHolder holder)
|
static void |
registerDirect(java.lang.String wrapperName,
java.lang.String superName,
FeDirectWrapperMaker maker,
FeDirectWrapperChecker checker,
FeWrapperSpecHolder holder)
|
static void |
registerIndirect(java.lang.String wrapperName,
java.lang.String superName,
java.lang.String innerName,
FeIndirectWrapperMaker maker,
FeIndirectWrapperChecker checker,
FeWrapperSpecHolder holder)
|
void |
setup()
Do the required setup for this spec in the context of a table of all known specs |
static void |
setupWrapperSpecs()
Get the local Wrapper spec with the given identifier, or NULL if there is none |
static void |
setWrapperEndorsements(ScruTable endorsements)
A table mapping from wrapper names to endorsements |
FeWrapper |
wrap(FeEdition edition)
The Edition wrapped with my type of Wrapper. |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected FeWrapperDef myDef
protected CrossRegion myEndorsements
protected Filter myFilter
protected FeAbstractWrapperSpec mySuperSpec
protected static MuTable TheWrapperDefs
protected static MuTable TheWrapperEndorsements
protected static MuTable TheWrappersFromEndorsements
protected static MuTable TheWrapperSpecs
| Constructor Detail |
public FeWrapperSpec(FeWrapperDef def)
| Method Detail |
public boolean certify(FeEdition edition)
public Filter filter()
public boolean isCertified(FeEdition edition)
public Sequence name()
public FeWrapper wrap(FeEdition edition)
public FeWrapper fetchWrap(FeEdition edition)
public boolean isSubSpecOf(FeWrapperSpec other)
public void addToFilter(CrossRegion endorsements)
public FeWrapperDef def()
public FeAbstractWrapperSpec fetchSuperSpec()
public void setup()
public void endorse(FeEdition edition)
public CrossRegion endorsements()
public int actualHashForEqual()
actualHashForEqual in class Heaperpublic boolean isEqual(java.lang.Object other)
public static void ABSTRACTWRAPPER(java.lang.String wrapperName,
java.lang.String superName,
Symbol className)
public static void DIRECTWRAPPER(java.lang.String wrapperName,
java.lang.String superName,
Symbol className)
public static void INDIRECTWRAPPER(java.lang.String wrapperName,
java.lang.String superName,
java.lang.String innerName,
Symbol className)
public static void registerAbstract(java.lang.String wrapperName,
java.lang.String superName,
FeWrapperSpecHolder holder)
public static void registerDirect(java.lang.String wrapperName,
java.lang.String superName,
FeDirectWrapperMaker maker,
FeDirectWrapperChecker checker,
FeWrapperSpecHolder holder)
public static void registerIndirect(java.lang.String wrapperName,
java.lang.String superName,
java.lang.String innerName,
FeIndirectWrapperMaker maker,
FeIndirectWrapperChecker checker,
FeWrapperSpecHolder holder)
public static void problems()
Heaper
public static void initTimeNonInherited()
public static void linkTimeNonInherited()
public static void mustSetup()
public static FeWrapperSpec fetch(Sequence identifier)
public static FeWrapperSpec get(Sequence identifier)
public static CrossRegion getEndorsements(Sequence identifier)
public static FeWrapperSpec getFromEndorsement(Tuple endorsement)
public static XnRegion knownWrappers()
public static void setupWrapperSpecs()
public static void setWrapperEndorsements(ScruTable endorsements)
public static void info()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||