--- a/extensions.st Mon Dec 10 19:50:27 2012 +0000
+++ b/extensions.st Mon Dec 10 20:27:49 2012 +0000
@@ -2008,148 +2008,6 @@
"Modified: / 10-12-2012 / 05:41:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
-!(Java classForName:'java.lang.Byte') class methodsFor:'* proxies *'!
-
-javaWrap: object
- |inst|
- inst := self basicNew.
- inst perform: #'<init>(B)V' with: object.
- ^ inst.
-! !
-
-!(Java classForName:'java.lang.Byte') class methodsFor:'* proxies *'!
-
-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
-! !
-
-!(Java classForName:'java.lang.Double') class methodsFor:'queries'!
-
-javaWrap: object
- |inst|
- inst := self basicNew.
- inst perform: #'<init>(D)V' with: object with: nil.
- ^ inst.
-! !
-
-!(Java classForName:'java.lang.Double') 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
-! !
-
-!(Java classForName:'java.lang.Float') class methodsFor:'queries'!
-
-javaWrap: object
- |inst|
- inst := self basicNew.
- inst perform: #'<init>(F)V' with: object.
- ^ inst.
-! !
-
-!(Java classForName:'java.lang.Float') 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
-! !
-
-!(Java classForName:'java.lang.Integer') class methodsFor:'queries'!
-
-javaWrap: object
- |inst|
- inst := self basicNew.
- inst perform: #'<init>(I)V' with: object.
- ^ inst.
-! !
-
-!(Java classForName:'java.lang.Integer') 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
-! !
-
-!(Java classForName:'java.lang.Long') class methodsFor:'queries'!
-
-javaWrap: object
- |inst|
- inst := self basicNew.
- inst perform: #'<init>(J)V' with: object with: nil.
- ^ inst.
-! !
-
-!(Java classForName:'java.lang.Long') 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
-! !
-
-!(Java classForName:'java.lang.Short') class methodsFor:'queries'!
-
-javaWrap: object
- |inst|
- inst := self basicNew.
- inst perform: #'<init>(S)V' with: object.
- ^ inst.
-! !
-
-!(Java classForName:'java.lang.Short') 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
-! !
-
-!(Java classForName:'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 classForName:'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
-! !
-
!stx_libjava class methodsFor:'documentation'!
extensionsVersion_HG