JavaUnresolvedSTArrayConstant.st
author Claus Gittinger <cg@exept.de>
Wed, 10 Dec 2003 11:06:45 +0100
changeset 2114 cbdc4c02a8e2
parent 2108 ca8c4e7db2e8
permissions -rw-r--r--
ExecutionErrorSignal -> ExecutionError

"{ Package: 'stx:libjava' }"

JavaUnresolvedConstant subclass:#JavaUnresolvedSTArrayConstant
	instanceVariableNames:'array'
	classVariableNames:''
	poolDictionaries:''
	category:'Languages-Java-Reader-Support'
!

!JavaUnresolvedSTArrayConstant class methodsFor:'documentation'!

history

    "Created: / 9.5.1998 / 00:26:10 / cg"
    "Created: #pool:poolIndex:array: / 9.5.1998 / 00:27:06 / cg"
    "Created: #array / 9.5.1998 / 00:27:14 / cg"
    "Created: #array: / 9.5.1998 / 00:27:14 / cg"
    "Created: #preResolve / 9.5.1998 / 00:31:33 / cg"
! !

!JavaUnresolvedSTArrayConstant class methodsFor:'instance creation'!

pool:aPool poolIndex:index array:anArray
    ^ (self pool:aPool poolIndex:index) array:anArray

    "Created: / 9.5.1998 / 00:27:06 / cg"
! !

!JavaUnresolvedSTArrayConstant methodsFor:'accessing'!

array
    "return the value of the instance variable 'array' (automatically generated)"

    ^ array

    "Created: / 9.5.1998 / 00:27:14 / cg"
!

array:something
    "set the value of the instance variable 'array' (automatically generated)"

    array := something.

    "Created: / 9.5.1998 / 00:27:14 / cg"
! !

!JavaUnresolvedSTArrayConstant methodsFor:'resolving'!

preResolve
    "/ all of my elements must be there ...

    array keysAndValuesDo:[:i :elIndex |
        array at:i put:(constantPool at:elIndex).
    ].
    ^ array

    "Created: / 9.5.1998 / 00:31:33 / cg"
! !

!JavaUnresolvedSTArrayConstant class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libjava/Attic/JavaUnresolvedSTArrayConstant.st,v 1.2 2002-11-22 20:11:54 cg Exp $'
! !