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

#ifndef __java_security_ProtectionDomain__
#define __java_security_ProtectionDomain__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
      class ProtectionDomain;
      class Permission;
      class PermissionCollection;
      class CodeSource;
    }
  }
};

class ::java::security::ProtectionDomain : public ::java::lang::Object
{
public:
  ProtectionDomain (::java::security::CodeSource *, ::java::security::PermissionCollection *);
  ::java::security::CodeSource *getCodeSource () { return code_source; }
  ::java::security::PermissionCollection *getPermissions () { return perms; }
  virtual jboolean implies (::java::security::Permission *);
  virtual ::java::lang::String *toString ();
private:
  static ::java::lang::String *linesep;
  ::java::security::CodeSource *code_source;
  ::java::security::PermissionCollection *perms;
public:

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

#endif /* __java_security_ProtectionDomain__ */
