org.erights.e.meta.java.lang
Class VoidGuardSugar

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.java.lang.VoidGuardSugar
All Implemented Interfaces:
Auditor, Guard, Marker, Persistent, Serializable, SlotGuard, ValueGuard

public class VoidGuardSugar
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
VoidGuardSugar(Class clazz)
          Enabled: @param clazz must be Void.class
 
Method Summary
 Object coerce(Object specimen, OneArgFunc optEjector)
          Enabled: Coerces everything to null
 String getName()
          Enabled:
 Object subCoerce(Object specimen, OneArgFunc optEjector)
          Enabled: Coerces everything to null
 String toString()
          Suppressed: Same as getName()
 
Methods inherited from class org.erights.e.elib.base.ClassDesc
asClass, byJavaRules, 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, prettyPrintOn, show
 
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

VoidGuardSugar

public VoidGuardSugar(Class clazz)
Enabled: @param clazz must be Void.class

Method Detail

getName

public String getName()
Enabled:

Specified by:
getName in interface SlotGuard
Overrides:
getName in class TypeDesc

toString

public String toString()
Suppressed: Same as getName()

Overrides:
toString in class TypeDesc
Returns:
a string representation of the object.

coerce

public Object coerce(Object specimen,
                     OneArgFunc optEjector)
Enabled: Coerces everything to null

Specified by:
coerce in interface ValueGuard
Overrides:
coerce in class ClassDesc

subCoerce

public Object subCoerce(Object specimen,
                        OneArgFunc optEjector)
Enabled: Coerces everything to null

Overrides:
subCoerce in class ClassDesc


comments?