JavaPrimitiveMirror.st
branchbuiltin-class-support
changeset 2625 a91a1db9718e
parent 2624 44507f0c37aa
child 2966 afd174546057
equal deleted inserted replaced
2624:44507f0c37aa 2625:a91a1db9718e
    21 "{ Package: 'stx:libjava' }"
    21 "{ Package: 'stx:libjava' }"
    22 
    22 
    23 JavaMirror subclass:#JavaPrimitiveMirror
    23 JavaMirror subclass:#JavaPrimitiveMirror
    24 	instanceVariableNames:''
    24 	instanceVariableNames:''
    25 	classVariableNames:''
    25 	classVariableNames:''
    26 	poolDictionaries:''
    26 	poolDictionaries:'JavaVMData'
    27 	category:'Languages-Java-Classes'
    27 	category:'Languages-Java-Classes'
    28 !
    28 !
    29 
    29 
    30 !JavaPrimitiveMirror class methodsFor:'documentation'!
    30 !JavaPrimitiveMirror class methodsFor:'documentation'!
    31 
    31 
    65 
    65 
    66 getDeclaredConstructors:publicOnly
    66 getDeclaredConstructors:publicOnly
    67     "Returns an java.lang.reflect.Constructor[] with all constructors 
    67     "Returns an java.lang.reflect.Constructor[] with all constructors 
    68      declared by this class"
    68      declared by this class"
    69 
    69 
    70     ^ (JavaVM classForName:'java.lang.reflect.Constructor' definedBy: nil) javaArrayClass new:0.
    70     ^ java_lang_reflect_Constructor javaArrayClass new:0.
    71 
    71 
    72     "Modified: / 18-05-2013 / 10:57:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    72     "Modified: / 18-05-2013 / 10:57:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    73 !
    73 !
    74 
    74 
    75 getDeclaredFields:publicOnly
    75 getDeclaredFields:publicOnly
    76     "Returns an java.lang.reflect.Field[] with all constructors 
    76     "Returns an java.lang.reflect.Field[] with all constructors 
    77      declared by this class."
    77      declared by this class."
    78 
    78 
    79     ^(JavaVM classForName:'java.lang.reflect.Field' definedBy: nil) javaArrayClass new:0.
    79     ^java_lang_reflect_Field javaArrayClass new:0.
    80 
    80 
    81     "Modified: / 18-05-2013 / 10:58:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    81     "Modified: / 18-05-2013 / 10:58:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    82 !
    82 !
    83 
    83 
    84 getDeclaredMethods:publicOnly 
    84 getDeclaredMethods:publicOnly 
    85     "Returns an java.lang.reflect.Method[] with all methods 
    85     "Returns an java.lang.reflect.Method[] with all methods 
    86      declared by this class"
    86      declared by this class"
    87     
    87     
    88     ^ (JavaVM classForName:'java.lang.reflect.Method' definedBy: nil) javaArrayClass new:0.
    88     ^ java_lang_reflect_Method javaArrayClass new:0.
    89 
    89 
    90     "Modified: / 18-05-2013 / 10:58:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    90     "Modified: / 18-05-2013 / 10:58:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    91 !
    91 !
    92 
    92 
    93 getInterfaces
    93 getInterfaces