55 using namespace cacao;
64 #define field_load_NOVALUE 0xffffffff
112 #ifdef ENABLE_VERIFIER
117 "Illegal Field name \"%s\"",
128 "Illegal field modifiers: 0x%X",
138 "Illegal field modifiers: 0x%X",
163 #if !defined(ENABLE_GC_BOEHM)
221 for (i = 0; i < attrnum; i++) {
228 if (u == utf8::ConstantValue) {
309 #if defined(ENABLE_JAVASE)
310 else if (u == utf8::Signature) {
325 #if defined(ENABLE_ANNOTATIONS)
326 else if (u == utf8::RuntimeVisibleAnnotations) {
331 else if (u == utf8::RuntimeInvisibleAnnotations) {
395 #if defined(ENABLE_GC_BOEHM)
416 #if defined(ENABLE_ANNOTATIONS)
482 printf(
"(fieldinfo*)NULL");
525 printf(
"(constant_FMIref *)NULL");
jlong jlong jlong jlong jint jmethodID jint slot
#define field_load_NOVALUE
void * class_getconstant(classinfo *c, u4 pos, ConstantPoolTag ctype)
static classinfo * get_class_by_type(int type)
Returns the primitive class of the given type.
classinfo * field_get_type(fieldinfo *f)
void utf_display_printable_ascii_classname(Utf8String u)
classloader_t * classloader
Actual implementation of access class for Java Object arrays.
T get_element(int32_t index)
union constant_FMIref::@26 p
void field_println(fieldinfo *f)
bool annotation_load_field_attribute_runtimeinvisibleannotations(ClassBuffer &cb, fieldinfo *f)
void exceptions_throw_classformaterror(classinfo *c, const char *message,...)
#define GCNEW_UNCOLLECTABLE(type, num)
void field_fieldref_print(constant_FMIref *fr)
bool loader_skip_attribute_body(ClassBuffer &cb)
void vm_abort(const char *text,...)
bool add_field(Utf8String desc)
int32_t get_length() const
void linker_create_string_later(java_object_t **a, Utf8String u)
void field_free(fieldinfo *f)
void field_print(fieldinfo *f)
bool is_valid_name() const
Fieldref, Methodref and InterfaceMethodref.
#define LLNI_classinfo_field_get(cls, field, variable)
Type descriptor_to_basic_type(Utf8String descriptor)
const Utf8String descriptor
bool loader_load_attribute_signature(ClassBuffer &cb, Utf8String &signature)
void utf_display_printable_ascii(Utf8String u)
java_handle_bytearray_t * field_get_annotations(fieldinfo *f)
classinfo * class_java_lang_String
classinfo * get_class() const
byte_iterator begin() const
constant_classref * classref
classinfo * load_class_from_classloader(Utf8String name, classloader_t *cl)
bool annotation_load_field_attribute_runtimevisibleannotations(ClassBuffer &cb, fieldinfo *f)
bool field_load(ClassBuffer &cb, fieldinfo *f, DescriptorPool &descpool)
bool check_size(size_t sz)
Assert that at least <sz> bytes are left to read.
void field_printflags(fieldinfo *f)
void field_fieldref_println(constant_FMIref *fr)
PrimitiveType primitivetype
static JavaString literal(Utf8String)
constant_classref * classref