author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 24 Jan 2013 15:49:03 +0000 | |
branch | development |
changeset 1997 | 8bcca8a0e8a1 |
parent 1987 | 596f7d5cb7cd |
parent 1989 | 131b7459fdab |
child 2006 | c0598cab5f15 |
permissions | -rw-r--r-- |
"{ Package: 'stx:libjava' }" ! !java/lang/String class methodsFor:'queries'! javaWrap: object | jstring | object isNil ifTrue:[ ^ nil ]. jstring := self basicNew. jstring perform: #'<init>([C)V' with: object. ^jstring ! ! !java/lang/String class methodsFor:'queries'! javaWrapRequired "Returns true, if a #javaWrap: has to be called prior an instance of Smalltalk object is passed as an argument to Java method, whoose formal tyoe is the receiver." ^true ! !