1"====================================================================== 2| 3| Java run-time support. java.lang.reflect.Method native methods. 4| 5| 6 ======================================================================" 7 8 9"====================================================================== 10| 11| Copyright 2003 Free Software Foundation, Inc. 12| Written by Paolo Bonzini. 13| 14| This file is part of GNU Smalltalk. 15| 16| The GNU Smalltalk class library is free software; you can redistribute it 17| and/or modify it under the terms of the GNU General Public License 18| as published by the Free Software Foundation; either version 2, or (at 19| your option) any later version. 20| 21| The GNU Smalltalk class library is distributed in the hope that it will be 22| useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 23| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 24| Public License for more details. 25| 26| You should have received a copy of the GNU Lesser General Public License 27| along with the GNU Smalltalk class library; see the file COPYING. If not, 28| write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, 29| Boston, MA 02110-1301, USA. 30| 31 ======================================================================" 32 33 34!JavaVM methodsFor: 'java.lang.reflect.Method'! 35 36java_lang_reflect_Method_getName 37 <javaNativeMethod: #'getName()Ljava/lang/String;' 38 for: #{Java.java.lang.reflect.Method} static: false> 39 self notYetImplemented 40! 41 42java_lang_reflect_Method_getModifiers 43 <javaNativeMethod: #'getModifiers()I' 44 for: #{Java.java.lang.reflect.Method} static: false> 45 self notYetImplemented 46! 47 48java_lang_reflect_Method_invoke_java_lang_Object: arg1 java_lang_ObjectArray: arg2 49 <javaNativeMethod: #'invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;' 50 for: #{Java.java.lang.reflect.Method} static: false> 51 self notYetImplemented 52! 53 54java_lang_reflect_Method_getType 55 <javaNativeMethod: #'getType()V' 56 for: #{Java.java.lang.reflect.Method} static: false> 57 self notYetImplemented 58! ! 59 60