src/JavaMirror.st
branchjk_new_structure
changeset 1609 7a2627788ad7
parent 1581 70fbc03d2d82
child 1648 ba54c818827d
equal deleted inserted replaced
1608:7ab8784854eb 1609:7a2627788ad7
   421 
   421 
   422     ^self createConstructorFor: method javaClass
   422     ^self createConstructorFor: method javaClass
   423                         method: method
   423                         method: method
   424                      signature: method signature
   424                      signature: method signature
   425                      modifiers: method accessFlags
   425                      modifiers: method accessFlags
   426                 parameterTyoes: method descriptor parameterClasses
   426                 parameterTyoes: (method descriptor parameterClassesUsingClassLoader: method javaClass classLoader)
   427                 exceptionTypes: method exceptionClasses
   427                 exceptionTypes: method exceptionClasses
   428                    annotations: method method annotations.
   428                    annotations: method method annotations.
   429 
   429 
   430     "Created: / 01-08-2012 / 00:46:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   430     "Created: / 01-08-2012 / 00:46:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   431 !
   431 !
   435     ^self      createMethodFor: method javaClass
   435     ^self      createMethodFor: method javaClass
   436                         method: method
   436                         method: method
   437                           name: (method selector upTo: $()
   437                           name: (method selector upTo: $()
   438                      signature: method signature
   438                      signature: method signature
   439                      modifiers: method accessFlags
   439                      modifiers: method accessFlags
   440                 parameterTyoes: method descriptor parameterClasses
   440                 parameterTyoes: (method descriptor parameterClassesUsingClassLoader: method javaClass classLoader)
   441                     returnType: method descriptor returnClass
   441                     returnType: (method descriptor returnClassUsingClassLoader: method javaClass classLoader)
   442                 exceptionTypes: method exceptionClasses
   442                 exceptionTypes: method exceptionClasses
   443                    annotations: method method annotations.
   443                    annotations: method method annotations.
   444 
   444 
   445     "Created: / 01-08-2012 / 11:11:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   445     "Created: / 01-08-2012 / 11:11:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   446 ! !
   446 ! !