JavaNameandType.st
author cg
Tue, 30 Apr 1996 23:24:49 +0000
changeset 27 4560bb77bb36
parent 4 07264ed96b97
child 90 918e2740098c
permissions -rw-r--r--
checkin from browser
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
083530508d9c intitial checkin
cg
parents:
diff changeset
     1
Object subclass:#JavaNameandType
083530508d9c intitial checkin
cg
parents:
diff changeset
     2
	instanceVariableNames:'name signature'
083530508d9c intitial checkin
cg
parents:
diff changeset
     3
	classVariableNames:''
083530508d9c intitial checkin
cg
parents:
diff changeset
     4
	poolDictionaries:''
4
07264ed96b97 checkin from browser
cg
parents: 1
diff changeset
     5
	category:'Java-Reader-Support'
1
083530508d9c intitial checkin
cg
parents:
diff changeset
     6
!
083530508d9c intitial checkin
cg
parents:
diff changeset
     7
083530508d9c intitial checkin
cg
parents:
diff changeset
     8
083530508d9c intitial checkin
cg
parents:
diff changeset
     9
!JavaNameandType class methodsFor:'instance creation'!
083530508d9c intitial checkin
cg
parents:
diff changeset
    10
083530508d9c intitial checkin
cg
parents:
diff changeset
    11
name:aString signature:signature
083530508d9c intitial checkin
cg
parents:
diff changeset
    12
    ^ self new name:aString signature:signature
083530508d9c intitial checkin
cg
parents:
diff changeset
    13
083530508d9c intitial checkin
cg
parents:
diff changeset
    14
    "Created: 15.4.1996 / 16:17:14 / cg"
083530508d9c intitial checkin
cg
parents:
diff changeset
    15
! !
083530508d9c intitial checkin
cg
parents:
diff changeset
    16
083530508d9c intitial checkin
cg
parents:
diff changeset
    17
!JavaNameandType methodsFor:'accessing'!
083530508d9c intitial checkin
cg
parents:
diff changeset
    18
27
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    19
name
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    20
     ^ name 
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    21
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    22
    "Created: 15.4.1996 / 16:16:47 / cg"
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    23
!
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    24
1
083530508d9c intitial checkin
cg
parents:
diff changeset
    25
name:aString signature:aSignature
083530508d9c intitial checkin
cg
parents:
diff changeset
    26
     name := aString.
083530508d9c intitial checkin
cg
parents:
diff changeset
    27
     signature := aSignature
083530508d9c intitial checkin
cg
parents:
diff changeset
    28
083530508d9c intitial checkin
cg
parents:
diff changeset
    29
    "Created: 15.4.1996 / 16:16:47 / cg"
27
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    30
!
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    31
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    32
signature
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    33
     ^ signature 
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    34
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    35
    "Created: 15.4.1996 / 16:16:47 / cg"
1
083530508d9c intitial checkin
cg
parents:
diff changeset
    36
! !
083530508d9c intitial checkin
cg
parents:
diff changeset
    37
083530508d9c intitial checkin
cg
parents:
diff changeset
    38
!JavaNameandType methodsFor:'printing & storing'!
083530508d9c intitial checkin
cg
parents:
diff changeset
    39
083530508d9c intitial checkin
cg
parents:
diff changeset
    40
displayString
083530508d9c intitial checkin
cg
parents:
diff changeset
    41
    ^ self class name , '(name:' , name , ' signature: ' , signature displayString , ')'
083530508d9c intitial checkin
cg
parents:
diff changeset
    42
083530508d9c intitial checkin
cg
parents:
diff changeset
    43
    "Created: 15.4.1996 / 16:32:40 / cg"
083530508d9c intitial checkin
cg
parents:
diff changeset
    44
! !
083530508d9c intitial checkin
cg
parents:
diff changeset
    45
083530508d9c intitial checkin
cg
parents:
diff changeset
    46
!JavaNameandType class methodsFor:'documentation'!
083530508d9c intitial checkin
cg
parents:
diff changeset
    47
083530508d9c intitial checkin
cg
parents:
diff changeset
    48
version
27
4560bb77bb36 checkin from browser
cg
parents: 4
diff changeset
    49
    ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaNameandType.st,v 1.3 1996/04/30 23:24:04 cg Exp $'
1
083530508d9c intitial checkin
cg
parents:
diff changeset
    50
! !