Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / lang / ref / Reference.h
blob3eeaf65c645f51bc05206762003cddb48b495372
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_ref_Reference__
5 #define __java_lang_ref_Reference__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace gnu
14 namespace gcj
16 class RawData;
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 *);
27 private:
28 void create(::java::lang::Object *);
29 public:
30 virtual ::java::lang::Object * get();
31 virtual void clear();
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;
37 jboolean cleared;
38 ::java::lang::ref::ReferenceQueue * queue;
39 ::java::lang::ref::Reference * nextOnQueue;
40 static ::java::lang::Object * lock;
41 public:
42 static ::java::lang::Class class$;
45 #endif // __java_lang_ref_Reference__