* tree.c (free_lang_data_in_decl): Annotate all functio nbodies with
[official-gcc.git] / libjava / java / lang / SecurityManager.h
blob8abaa6a7e08ce4e5da34a129ce1b43764f24abbf
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_SecurityManager__
5 #define __java_lang_SecurityManager__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace net
18 class InetAddress;
20 namespace security
22 class Permission;
27 class java::lang::SecurityManager : public ::java::lang::Object
30 public:
31 SecurityManager();
32 virtual jboolean getInCheck();
33 public: // actually protected
34 virtual JArray< ::java::lang::Class * > * getClassContext();
35 virtual ::java::lang::ClassLoader * currentClassLoader();
36 virtual ::java::lang::Class * currentLoadedClass();
37 virtual jint classDepth(::java::lang::String *);
38 virtual jint classLoaderDepth();
39 virtual jboolean inClass(::java::lang::String *);
40 virtual jboolean inClassLoader();
41 public:
42 virtual ::java::lang::Object * getSecurityContext();
43 virtual void checkPermission(::java::security::Permission *);
44 virtual void checkPermission(::java::security::Permission *, ::java::lang::Object *);
45 virtual void checkCreateClassLoader();
46 virtual void checkAccess(::java::lang::Thread *);
47 virtual void checkAccess(::java::lang::ThreadGroup *);
48 virtual void checkExit(jint);
49 virtual void checkExec(::java::lang::String *);
50 virtual void checkLink(::java::lang::String *);
51 virtual void checkRead(::java::io::FileDescriptor *);
52 virtual void checkRead(::java::lang::String *);
53 virtual void checkRead(::java::lang::String *, ::java::lang::Object *);
54 virtual void checkWrite(::java::io::FileDescriptor *);
55 virtual void checkWrite(::java::lang::String *);
56 virtual void checkDelete(::java::lang::String *);
57 virtual void checkConnect(::java::lang::String *, jint);
58 virtual void checkConnect(::java::lang::String *, jint, ::java::lang::Object *);
59 virtual void checkListen(jint);
60 virtual void checkAccept(::java::lang::String *, jint);
61 virtual void checkMulticast(::java::net::InetAddress *);
62 virtual void checkMulticast(::java::net::InetAddress *, jbyte);
63 virtual void checkPropertiesAccess();
64 virtual void checkPropertyAccess(::java::lang::String *);
65 virtual jboolean checkTopLevelWindow(::java::lang::Object *);
66 virtual void checkPrintJobAccess();
67 virtual void checkSystemClipboardAccess();
68 virtual void checkAwtEventQueueAccess();
69 virtual void checkPackageAccess(::java::lang::String *);
70 virtual void checkPackageDefinition(::java::lang::String *);
71 virtual void checkSetFactory();
72 virtual void checkMemberAccess(::java::lang::Class *, jint);
73 virtual void checkSecurityAccess(::java::lang::String *);
74 virtual ::java::lang::ThreadGroup * getThreadGroup();
75 public: // actually package-private
76 virtual void checkPackageList(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
77 static ::java::lang::SecurityManager * volatile current;
78 public: // actually protected
79 jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) inCheck;
80 public:
81 static ::java::lang::Class class$;
84 #endif // __java_lang_SecurityManager__