// 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 *);
  virtual ::java::security::DomainCombiner *getDomainCombiner () { return combiner; }
  virtual void checkPermission (::java::security::Permission *);
  virtual jboolean equals (::java::lang::Object *);
  virtual jint hashCode ();
private:
  JArray< ::java::security::ProtectionDomain *> * __attribute__((aligned(__alignof__( ::java::lang::Object )))) protectionDomains;
  ::java::security::DomainCombiner *combiner;
public:

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

#endif /* __java_security_AccessControlContext__ */
