1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_lang_Package__
|
5 |
|
|
#define __java_lang_Package__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace net
|
17 |
|
|
{
|
18 |
|
|
class URL;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
|
23 |
|
|
class java::lang::Package : public ::java::lang::Object
|
24 |
|
|
{
|
25 |
|
|
|
26 |
|
|
public: // actually package-private
|
27 |
|
|
Package(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::net::URL *);
|
28 |
|
|
Package(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::net::URL *, ::java::lang::ClassLoader *);
|
29 |
|
|
public:
|
30 |
|
|
virtual ::java::lang::String * getName();
|
31 |
|
|
virtual ::java::lang::String * getSpecificationTitle();
|
32 |
|
|
virtual ::java::lang::String * getSpecificationVersion();
|
33 |
|
|
virtual ::java::lang::String * getSpecificationVendor();
|
34 |
|
|
virtual ::java::lang::String * getImplementationTitle();
|
35 |
|
|
virtual ::java::lang::String * getImplementationVersion();
|
36 |
|
|
virtual ::java::lang::String * getImplementationVendor();
|
37 |
|
|
virtual jboolean isSealed();
|
38 |
|
|
virtual jboolean isSealed(::java::net::URL *);
|
39 |
|
|
virtual jboolean isCompatibleWith(::java::lang::String *);
|
40 |
|
|
static ::java::lang::Package * getPackage(::java::lang::String *);
|
41 |
|
|
static JArray< ::java::lang::Package * > * getPackages();
|
42 |
|
|
virtual jint hashCode();
|
43 |
|
|
virtual ::java::lang::String * toString();
|
44 |
|
|
virtual ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
|
45 |
|
|
virtual JArray< ::java::lang::annotation::Annotation * > * getAnnotations();
|
46 |
|
|
virtual JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
|
47 |
|
|
virtual jboolean isAnnotationPresent(::java::lang::Class *);
|
48 |
|
|
private:
|
49 |
|
|
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
|
50 |
|
|
::java::lang::String * implTitle;
|
51 |
|
|
::java::lang::String * implVendor;
|
52 |
|
|
::java::lang::String * implVersion;
|
53 |
|
|
::java::lang::String * specTitle;
|
54 |
|
|
::java::lang::String * specVendor;
|
55 |
|
|
::java::lang::String * specVersion;
|
56 |
|
|
::java::net::URL * sealed;
|
57 |
|
|
::java::lang::ClassLoader * loader;
|
58 |
|
|
public:
|
59 |
|
|
static ::java::lang::Class class$;
|
60 |
|
|
};
|
61 |
|
|
|
62 |
|
|
#endif // __java_lang_Package__
|