// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_AccessControlContext__
#define __java_security_AccessControlContext__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
      class Permission;
      class AccessControlContext;
      class DomainCombiner;
      class ProtectionDomain;
    }
  }
}

class java::security::AccessControlContext : public ::java::lang::Object
{
public:
  AccessControlContext (JArray< ::java::security::ProtectionDomain *> *);
  AccessControlContext (::java::security::AccessControlContext *, ::java::security::DomainCombiner *);
  ::java::security::DomainCombiner *getDomainCombiner () { return combiner; }
  void checkPermission (::java::security::Permission *);
  jboolean equals (::java::lang::Object *);
  jint hashCode ();
private:
  JArray< ::java::security::ProtectionDomain *> * __attribute__((aligned(__alignof__( ::java::lang::Object )))) protectionDomain;
  ::java::security::DomainCombiner *combiner;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_security_AccessControlContext__ */
