Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

jlClass.c File Reference


Detailed Description

Native implementation of java.lang.Class.

Control

$URL: https://svn.apache.org/path/name/jlClass.c $ $Id: jlClass.c 0 09/28/2005 dlydick $

Copyright 2005 The Apache Software Foundation or its licensors, as applicable.

Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Version:
$LastChangedRevision: 0 $
Date:
$LastChangedDate: 09/28/2005 $
Author:
$LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.

Reference

Definition in file jlClass.c.

#include "arch.h"
#include "jvmcfg.h"
#include "classfile.h"
#include "linkage.h"
#include "jvm.h"

Go to the source code of this file.

Native implementation of object instance functions.

The object hash of this object is always passed as the first parameter.

jboolean jlClass_isArray (jvm_object_hash objhashthis)
 JNI hook to isArray().
jboolean jlClass_isPrimative (jvm_object_hash objhashthis)
 JNI hook to isPrimative().

Functions

static void jlClass_c_dummy (void)

Variables

static char * jlClass_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/jlClass.c $ $Id: jlClass.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable."


Function Documentation

static void jlClass_c_dummy void   )  [static]
 

Definition at line 40 of file jlClass.c.

jboolean jlClass_isArray jvm_object_hash  objhashthis  ) 
 

JNI hook to isArray().

Parameters:
objhashthis Object table hash of this object.
Returns:
jtrue if this class is an array, else jfalse.
< Class is an array type where arraydims contains number of dimensions

Definition at line 93 of file jlClass.c.

References CLASS, CLASS_STATUS_ARRAY, jfalse, jtrue, jvm_class_index_null, and OBJECT_CLASS_LINKAGE.

Referenced by Java_java_lang_Class_isArray(), and native_run_local_return_jint().

jboolean jlClass_isPrimative jvm_object_hash  objhashthis  ) 
 

JNI hook to isPrimative().

Parameters:
objhashthis Object table hash of this object.
Returns:
jtrue if this class is a primative, else jfalse.
< Primative for java.lang.Class

Definition at line 124 of file jlClass.c.

References jfalse.

Referenced by Java_java_lang_Class_isPrimitive(), and native_run_local_return_jint().


Variable Documentation

char* jlClass_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/jlClass.c $ $Id: jlClass.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable." [static]
 

Definition at line 40 of file jlClass.c.


Generated on Fri Sep 30 18:49:51 2005 by  doxygen 1.4.4