src/share/vm/prims/jvm.h

Print this page




 506 JNIEXPORT jbyteArray JNICALL
 507 JVM_GetFieldAnnotations(JNIEnv *env, jobject field);
 508 
 509 // method is a handle to a java.lang.reflect.Method object
 510 JNIEXPORT jbyteArray JNICALL
 511 JVM_GetMethodAnnotations(JNIEnv *env, jobject method);
 512 
 513 // method is a handle to a java.lang.reflect.Method object
 514 JNIEXPORT jbyteArray JNICALL
 515 JVM_GetMethodDefaultAnnotationValue(JNIEnv *env, jobject method);
 516 
 517 // method is a handle to a java.lang.reflect.Method object
 518 JNIEXPORT jbyteArray JNICALL
 519 JVM_GetMethodParameterAnnotations(JNIEnv *env, jobject method);
 520 
 521 /* Type use annotations support (JDK 1.8) */
 522 
 523 JNIEXPORT jbyteArray JNICALL
 524 JVM_GetClassTypeAnnotations(JNIEnv *env, jclass cls);
 525 








 526 /*
 527  * New (JDK 1.4) reflection implementation
 528  */
 529 
 530 JNIEXPORT jobjectArray JNICALL
 531 JVM_GetClassDeclaredMethods(JNIEnv *env, jclass ofClass, jboolean publicOnly);
 532 
 533 JNIEXPORT jobjectArray JNICALL
 534 JVM_GetClassDeclaredFields(JNIEnv *env, jclass ofClass, jboolean publicOnly);
 535 
 536 JNIEXPORT jobjectArray JNICALL
 537 JVM_GetClassDeclaredConstructors(JNIEnv *env, jclass ofClass, jboolean publicOnly);
 538 
 539 /* Differs from JVM_GetClassModifiers in treatment of inner classes.
 540    This returns the access flags for the class as specified in the
 541    class file rather than searching the InnerClasses attribute (if
 542    present) to find the source-level access flags. Only the values of
 543    the low 13 bits (i.e., a mask of 0x1FFF) are guaranteed to be
 544    valid. */
 545 JNIEXPORT jint JNICALL




 506 JNIEXPORT jbyteArray JNICALL
 507 JVM_GetFieldAnnotations(JNIEnv *env, jobject field);
 508 
 509 // method is a handle to a java.lang.reflect.Method object
 510 JNIEXPORT jbyteArray JNICALL
 511 JVM_GetMethodAnnotations(JNIEnv *env, jobject method);
 512 
 513 // method is a handle to a java.lang.reflect.Method object
 514 JNIEXPORT jbyteArray JNICALL
 515 JVM_GetMethodDefaultAnnotationValue(JNIEnv *env, jobject method);
 516 
 517 // method is a handle to a java.lang.reflect.Method object
 518 JNIEXPORT jbyteArray JNICALL
 519 JVM_GetMethodParameterAnnotations(JNIEnv *env, jobject method);
 520 
 521 /* Type use annotations support (JDK 1.8) */
 522 
 523 JNIEXPORT jbyteArray JNICALL
 524 JVM_GetClassTypeAnnotations(JNIEnv *env, jclass cls);
 525 
 526 // field is a handle to a java.lang.reflect.Field object
 527 JNIEXPORT jbyteArray JNICALL
 528 JVM_GetFieldTypeAnnotations(JNIEnv *env, jobject field);
 529 
 530 // method is a handle to a java.lang.reflect.Method object
 531 JNIEXPORT jbyteArray JNICALL
 532 JVM_GetMethodTypeAnnotations(JNIEnv *env, jobject method);
 533 
 534 /*
 535  * New (JDK 1.4) reflection implementation
 536  */
 537 
 538 JNIEXPORT jobjectArray JNICALL
 539 JVM_GetClassDeclaredMethods(JNIEnv *env, jclass ofClass, jboolean publicOnly);
 540 
 541 JNIEXPORT jobjectArray JNICALL
 542 JVM_GetClassDeclaredFields(JNIEnv *env, jclass ofClass, jboolean publicOnly);
 543 
 544 JNIEXPORT jobjectArray JNICALL
 545 JVM_GetClassDeclaredConstructors(JNIEnv *env, jclass ofClass, jboolean publicOnly);
 546 
 547 /* Differs from JVM_GetClassModifiers in treatment of inner classes.
 548    This returns the access flags for the class as specified in the
 549    class file rather than searching the InnerClasses attribute (if
 550    present) to find the source-level access flags. Only the values of
 551    the low 13 bits (i.e., a mask of 0x1FFF) are guaranteed to be
 552    valid. */
 553 JNIEXPORT jint JNICALL