📄 constructor.c
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -