annotate src/share/native/sun/reflect/ConstantPool.c @ 2362:00cd9dc3c2b5

6943119: Rebrand source copyright notices Reviewed-by: darcy, weijun
author ohair
date Tue, 25 May 2010 15:58:33 -0700
parents 37a05a11f281
children
rev   line source
duke@0 1 /*
ohair@2362 2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
duke@0 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 *
duke@0 5 * This code is free software; you can redistribute it and/or modify it
duke@0 6 * under the terms of the GNU General Public License version 2 only, as
ohair@2362 7 * published by the Free Software Foundation. Oracle designates this
duke@0 8 * particular file as subject to the "Classpath" exception as provided
ohair@2362 9 * by Oracle in the LICENSE file that accompanied this code.
duke@0 10 *
duke@0 11 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 14 * version 2 for more details (a copy is included in the LICENSE file that
duke@0 15 * accompanied this code).
duke@0 16 *
duke@0 17 * You should have received a copy of the GNU General Public License version
duke@0 18 * 2 along with this work; if not, write to the Free Software Foundation,
duke@0 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 20 *
ohair@2362 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@2362 22 * or visit www.oracle.com if you need additional information or have any
ohair@2362 23 * questions.
duke@0 24 */
duke@0 25
duke@0 26 #include "jvm.h"
duke@0 27 #include "sun_reflect_ConstantPool.h"
duke@0 28
duke@0 29 JNIEXPORT jint JNICALL Java_sun_reflect_ConstantPool_getSize0
duke@0 30 (JNIEnv *env, jobject unused, jobject jcpool)
duke@0 31 {
duke@0 32 return JVM_ConstantPoolGetSize(env, unused, jcpool);
duke@0 33 }
duke@0 34
duke@0 35 JNIEXPORT jclass JNICALL Java_sun_reflect_ConstantPool_getClassAt0
duke@0 36 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 37 {
duke@0 38 return JVM_ConstantPoolGetClassAt(env, unused, jcpool, index);
duke@0 39 }
duke@0 40
duke@0 41 JNIEXPORT jclass JNICALL Java_sun_reflect_ConstantPool_getClassAtIfLoaded0
duke@0 42 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 43 {
duke@0 44 return JVM_ConstantPoolGetClassAtIfLoaded(env, unused, jcpool, index);
duke@0 45 }
duke@0 46
duke@0 47 JNIEXPORT jobject JNICALL Java_sun_reflect_ConstantPool_getMethodAt0
duke@0 48 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 49 {
duke@0 50 return JVM_ConstantPoolGetMethodAt(env, unused, jcpool, index);
duke@0 51 }
duke@0 52
duke@0 53 JNIEXPORT jobject JNICALL Java_sun_reflect_ConstantPool_getMethodAtIfLoaded0
duke@0 54 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 55 {
duke@0 56 return JVM_ConstantPoolGetMethodAtIfLoaded(env, unused, jcpool, index);
duke@0 57 }
duke@0 58
duke@0 59 JNIEXPORT jobject JNICALL Java_sun_reflect_ConstantPool_getFieldAt0
duke@0 60 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 61 {
duke@0 62 return JVM_ConstantPoolGetFieldAt(env, unused, jcpool, index);
duke@0 63 }
duke@0 64
duke@0 65 JNIEXPORT jobject JNICALL Java_sun_reflect_ConstantPool_getFieldAtIfLoaded0
duke@0 66 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 67 {
duke@0 68 return JVM_ConstantPoolGetFieldAtIfLoaded(env, unused, jcpool, index);
duke@0 69 }
duke@0 70
duke@0 71 JNIEXPORT jobjectArray JNICALL Java_sun_reflect_ConstantPool_getMemberRefInfoAt0
duke@0 72 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 73 {
duke@0 74 return JVM_ConstantPoolGetMemberRefInfoAt(env, unused, jcpool, index);
duke@0 75 }
duke@0 76
duke@0 77 JNIEXPORT jint JNICALL Java_sun_reflect_ConstantPool_getIntAt0
duke@0 78 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 79 {
duke@0 80 return JVM_ConstantPoolGetIntAt(env, unused, jcpool, index);
duke@0 81 }
duke@0 82
duke@0 83 JNIEXPORT jlong JNICALL Java_sun_reflect_ConstantPool_getLongAt0
duke@0 84 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 85 {
duke@0 86 return JVM_ConstantPoolGetLongAt(env, unused, jcpool, index);
duke@0 87 }
duke@0 88
duke@0 89 JNIEXPORT jfloat JNICALL Java_sun_reflect_ConstantPool_getFloatAt0
duke@0 90 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 91 {
duke@0 92 return JVM_ConstantPoolGetFloatAt(env, unused, jcpool, index);
duke@0 93 }
duke@0 94
duke@0 95 JNIEXPORT jdouble JNICALL Java_sun_reflect_ConstantPool_getDoubleAt0
duke@0 96 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 97 {
duke@0 98 return JVM_ConstantPoolGetDoubleAt(env, unused, jcpool, index);
duke@0 99 }
duke@0 100
duke@0 101 JNIEXPORT jstring JNICALL Java_sun_reflect_ConstantPool_getStringAt0
duke@0 102 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 103 {
duke@0 104 return JVM_ConstantPoolGetStringAt(env, unused, jcpool, index);
duke@0 105 }
duke@0 106
duke@0 107 JNIEXPORT jstring JNICALL Java_sun_reflect_ConstantPool_getUTF8At0
duke@0 108 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 109 {
duke@0 110 return JVM_ConstantPoolGetUTF8At(env, unused, jcpool, index);
duke@0 111 }