Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / lang / reflect / AccessibleObject.h
blobd140e300c5846d9f630cc59cc9598b889d878109
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_reflect_AccessibleObject__
5 #define __java_lang_reflect_AccessibleObject__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::lang::reflect::AccessibleObject : public ::java::lang::Object
16 public: // actually protected
17 AccessibleObject();
18 public:
19 virtual jboolean isAccessible();
20 static void setAccessible(JArray< ::java::lang::reflect::AccessibleObject * > *, jboolean);
21 virtual void setAccessible(jboolean);
22 private:
23 static void checkPermission();
24 void secureSetAccessible(jboolean);
25 public:
26 virtual ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
27 virtual JArray< ::java::lang::annotation::Annotation * > * getAnnotations();
28 virtual JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
29 virtual jboolean isAnnotationPresent(::java::lang::Class *);
30 public: // actually package-private
31 jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) flag;
32 public:
33 static ::java::lang::Class class$;
36 #endif // __java_lang_reflect_AccessibleObject__