constructor.c

来自「kaffe是一个java虚拟机的源代码。里面包含了一些java例程和标准的jav」· C语言 代码 · 共 41 行

C
41
字号
/* * java.lang.reflect.Constructor.c * * Copyright (c) 1996, 1997 *	Transvirtual Technologies, Inc.  All rights reserved. * * See the file "license.terms" for information on usage and redistribution  * of this file.  */#include "config.h"#include "config-std.h"#include "config-mem.h"#include "../../../kaffe/kaffevm/gtypes.h"#include "../../../kaffe/kaffevm/access.h"#include "../../../kaffe/kaffevm/constants.h"#include "../../../kaffe/kaffevm/object.h"#include "../../../kaffe/kaffevm/classMethod.h"#include "../../../kaffe/kaffevm/itypes.h"#include "../../../kaffe/kaffevm/support.h"#include "../../../kaffe/kaffevm/baseClasses.h"#include "java_lang_reflect_Constructor.h"#include "java_lang_reflect_Method.h"#include <native.h>#include <jni.h>#include "defs.h"jintjava_lang_reflect_Constructor_getModifiers(struct Hjava_lang_reflect_Constructor* this){	Hjava_lang_Class* clazz;	jint slot;	clazz = unhand(this)->clazz;	slot = unhand(this)->slot;	assert(slot < clazz->nmethods);	return (clazz->methods[slot].accflags & ACC_MASK);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?