experiments/NoReflectionObject.st
author Claus Gittinger <cg@exept.de>
Thu, 22 Dec 2005 18:00:03 +0100
changeset 2125 cfa7b540ebf1
parent 749 e898eaeff091
child 2152 1cbdfbcc685c
permissions -rw-r--r--
*** empty log message ***

"{ Package: 'stx:libjava/experiments' }"

Object subclass:#NoReflectionObject
	instanceVariableNames:''
	classVariableNames:'Instance'
	poolDictionaries:''
	category:'Languages-Java-Support'
!

!NoReflectionObject class methodsFor:'documentation'!

documentation
"
    Null Object for JavaObjectDictionary - RENAME, the name is stupid!!

    [author:]
        kursjan

    [instance variables:]

    [class variables:]

    [see also:]

"
! !

!NoReflectionObject class methodsFor:'instance creation'!

instance
    Instance ifNil: [ Instance := self basicNew ].
    ^ Instance.

    "Created: / 09-01-2011 / 21:33:55 / Jan Kurs <kurs.jan@post.cz>"
!

new
    ^ self instance.

    "Created: / 09-01-2011 / 21:33:55 / Jan Kurs <kurs.jan@post.cz>"
! !

!NoReflectionObject methodsFor:'queries'!

ifNil: block
    ^ block value.

    "Created: / 17-01-2011 / 19:10:24 / kursjan <kursjan@fit.cvut.cz>"
!

includesBehavior: aClass
    ^ false.

    "Created: / 09-01-2011 / 21:05:56 / Jan Kurs <kurs.jan@post.cz>"
!

isNil
    ^ true

    "Created: / 17-01-2011 / 19:10:11 / kursjan <kursjan@fit.cvut.cz>"
!

methodDictionary
    ^ MethodDictionary withAll: Dictionary new.

    "Created: / 17-01-2011 / 10:52:44 / kursjan <kursjan@fit.cvut.cz>"
!

superclass
    ^ nil

    "Created: / 17-01-2011 / 10:53:15 / kursjan <kursjan@fit.cvut.cz>"
! !

!NoReflectionObject class methodsFor:'documentation'!

version_SVN
    ^ '$Id$'
! !