org.erights.e.meta.org.erights.e.elib.base
Class TypeDescGuardSugar

java.lang.Object
  |
  +--org.erights.e.elib.slot.BaseGuard
        |
        +--org.erights.e.elib.slot.BaseAuditor
              |
              +--org.erights.e.elib.base.TypeDesc
                    |
                    +--org.erights.e.elib.base.ClassDesc
                          |
                          +--org.erights.e.meta.org.erights.e.elib.base.TypeDescGuardSugar
All Implemented Interfaces:
Auditor, Guard, Marker, Persistent, Serializable, SlotGuard, ValueGuard

public class TypeDescGuardSugar
extends ClassDesc

Untamed:

Author:
Mark S. Miller
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Fields inherited from class org.erights.e.elib.base.ClassDesc
 
Fields inherited from class org.erights.e.elib.base.TypeDesc
 
Fields inherited from class org.erights.e.elib.slot.BaseGuard
myOptValueGuard
 
Fields inherited from interface org.erights.e.elib.serial.Persistent
HONORARY, HONORED_NAMES
 
Constructor Summary
TypeDescGuardSugar(Class clazz)
          Enabled: @param clazz must be TypeDesc or a subtype
 
Method Summary
 Object subCoerce(Object specimen, OneArgFunc optEjector)
          Enabled: Coerces a Class to a ClassDesc (a kind of TypeDesc)
 
Methods inherited from class org.erights.e.elib.base.ClassDesc
asClass, byJavaRules, coerce, flatName, flatSig, get, get, isFloating, isIntegral, make, sig, sig, simpleName, simpleSig
 
Methods inherited from class org.erights.e.elib.base.TypeDesc
getAuditors, getDocComment, getFQName, getMessageTypes, getName, prettyPrintOn, show, toString
 
Methods inherited from class org.erights.e.elib.slot.BaseAuditor
audit
 
Methods inherited from class org.erights.e.elib.slot.BaseGuard
__printOn, accepts, and, butNot, coerce, makeSlot, makeSlot, not, or, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Constructor Detail

TypeDescGuardSugar

public TypeDescGuardSugar(Class clazz)
Enabled: @param clazz must be TypeDesc or a subtype

Method Detail

subCoerce

public Object subCoerce(Object specimen,
                        OneArgFunc optEjector)
Enabled: Coerces a Class to a ClassDesc (a kind of TypeDesc)

Overrides:
subCoerce in class ClassDesc


comments?