2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_ref_Reference__
5 #define __java_lang_ref_Reference__
9 #include <java/lang/Object.h>
21 class java::lang::ref::Reference
: public ::java::lang::Object
24 public: // actually package-private
25 Reference(::java::lang::Object
*);
26 Reference(::java::lang::Object
*, ::java::lang::ref::ReferenceQueue
*);
28 void create(::java::lang::Object
*);
30 virtual ::java::lang::Object
* get();
32 virtual jboolean
isEnqueued();
33 virtual jboolean
enqueue();
34 public: // actually package-private
35 ::gnu::gcj::RawData
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) referent
;
36 ::gnu::gcj::RawData
* copy
;
38 ::java::lang::ref::ReferenceQueue
* queue
;
39 ::java::lang::ref::Reference
* nextOnQueue
;
40 static ::java::lang::Object
* lock
;
42 static ::java::lang::Class
class$
;
45 #endif // __java_lang_ref_Reference__