00001 /*! 00002 * @file Class.java 00003 * 00004 * @brief Sample subset of @c @b java.lang.Class native 00005 * methods 00006 * 00007 * This file contains a stub sample implementation this class. 00008 * 00009 * The full implementation of this source file should contain each and 00010 * every native method that is declared by the implmentation and it 00011 * should be stored in a shared archive along with the other classes 00012 * of this Java package's native methods. 00013 * 00014 * 00015 * @section Control 00016 * 00017 * \$URL: https://svn.apache.org/path/name/Class.java $ \$Id: Class.java 0 09/28/2005 dlydick $ 00018 * 00019 * Copyright 2005 The Apache Software Foundation 00020 * or its licensors, as applicable. 00021 * 00022 * Licensed under the Apache License, Version 2.0 ("the License"); 00023 * you may not use this file except in compliance with the License. 00024 * You may obtain a copy of the License at 00025 * 00026 * http://www.apache.org/licenses/LICENSE-2.0 00027 * 00028 * Unless required by applicable law or agreed to in writing, 00029 * software distributed under the License is distributed on an 00030 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00031 * either express or implied. 00032 * 00033 * See the License for the specific language governing permissions 00034 * and limitations under the License. 00035 * 00036 * @version \$LastChangedRevision: 0 $ 00037 * 00038 * @date \$LastChangedDate: 09/28/2005 $ 00039 * 00040 * @author \$LastChangedBy: dlydick $ 00041 * Original code contributed by Daniel Lydick on 09/28/2005. 00042 * 00043 * @section Reference 00044 * 00045 */ 00046 00047 package java.lang; 00048 00049 /*! 00050 * @brief Java class definition of @c @b java.lang.Class, a 00051 * class that describes the class features of any Java object. 00052 * 00053 * The class @c @b java.lang.Class contains methods that 00054 * describe all objects. As a class that contains @c @b native 00055 * calls into the JVM, this stub sample implementation is intended 00056 * to be filled out into the complete class definition. 00057 * 00058 */ 00059 public class Class 00060 { 00061 /*! 00062 * @brief Native definition 00063 * for @c @b java.lang.Class.registerNatives() 00064 * 00065 * @verbatim 00066 Class: java.lang.Class 00067 Method: registerNatives 00068 Signature: ()V 00069 @endverbatim 00070 * 00071 */ 00072 native private static void registerNatives(); 00073 00074 00075 /*! 00076 * @brief Native definition 00077 * for @c @b java.lang.Class.unregisterNatives() 00078 * 00079 * @verbatim 00080 Class: java.lang.Class 00081 Method: unregisterNatives 00082 Signature: ()V 00083 @endverbatim 00084 * 00085 */ 00086 native private static void unregisterNatives(); 00087 00088 00089 /*! 00090 * @brief Native definition 00091 * for @c @b java.lang.Class.isArray() 00092 * 00093 * @verbatim 00094 Class: java.lang.Class 00095 Method: isArray 00096 Signature: ()Z 00097 @endverbatim 00098 * 00099 */ 00100 native public boolean isArray(); 00101 00102 00103 /*! 00104 * @brief Native definition 00105 * for @c @b java.lang.Class.isPrimative() 00106 * 00107 * @verbatim 00108 Class: java.lang.Class 00109 Method: isPrimitive 00110 Signature: ()Z 00111 @endverbatim 00112 * 00113 */ 00114 native public boolean isPrimative(); 00115 00116 } /* END of java.lang.Class */ 00117 00118 00119 /* EOF */ 00120