1 module java.lang.Class;
2 
3 import java.lang.util;
4 import java.lang.String;
5 import java.lang.reflect.Method;
6 import java.lang.reflect.Field;
7 import java.lang.reflect.Package;
8 import java.lang.reflect.Constructor;
9 
10 class Class {
11     bool desiredAssertionStatus(){
12         implMissing(__FILE__, __LINE__ );
13         return false;
14     }
15     static Class forName(String className){
16         implMissing(__FILE__, __LINE__ );
17         return null;
18     }
19     static Class fromType(T)(){
20         return null;
21     }
22     static Class fromObject(T)(T t){
23         static assert( is(T==class)||is(T==interface));
24         return null;
25     }
26     //static Class forName(String name, bool initialize, ClassLoader loader){
27     //    implMissing(__FILE__, __LINE__ );
28     //    return null;
29     //}
30     Class[] getClasses(){
31         implMissing(__FILE__, __LINE__ );
32         return null;
33     }
34     //ClassLoader getClassLoader(){
35     //    implMissing(__FILE__, __LINE__ );
36     //    return null;
37     //}
38     Class getComponentType(){
39         implMissing(__FILE__, __LINE__ );
40         return null;
41     }
42     Constructor getConstructor(Class parameterTypes...){
43         implMissing(__FILE__, __LINE__ );
44         return null;
45     }
46     Constructor[] getConstructors(){
47         implMissing(__FILE__, __LINE__ );
48         return null;
49     }
50     Class[] getDeclaredClasses(){
51         implMissing(__FILE__, __LINE__ );
52         return null;
53     }
54     Constructor getDeclaredConstructor(Class parameterTypes...){
55         implMissing(__FILE__, __LINE__ );
56         return null;
57     }
58     Constructor[] getDeclaredConstructors(){
59         implMissing(__FILE__, __LINE__ );
60         return null;
61     }
62     Field getDeclaredField(String name){
63         implMissing(__FILE__, __LINE__ );
64         return null;
65     }
66     Field[] getDeclaredFields(){
67         implMissing(__FILE__, __LINE__ );
68         return null;
69     }
70     Method getDeclaredMethod(String name, Class parameterTypes...){
71         implMissing(__FILE__, __LINE__ );
72         return null;
73     }
74     Method[] getDeclaredMethods(){
75         implMissing(__FILE__, __LINE__ );
76         return null;
77     }
78     Class getDeclaringClass(){
79         implMissing(__FILE__, __LINE__ );
80         return null;
81     }
82     Field getField(String name){
83         implMissing(__FILE__, __LINE__ );
84         return null;
85     }
86     Field[] getFields(){
87         implMissing(__FILE__, __LINE__ );
88         return null;
89     }
90     Class[] getInterfaces(){
91         implMissing(__FILE__, __LINE__ );
92         return null;
93     }
94     Method getMethod(String name, Class[] parameterTypes...){
95         implMissing(__FILE__, __LINE__ );
96         return null;
97     }
98     Method[] getMethods(){
99         implMissing(__FILE__, __LINE__ );
100         return null;
101     }
102     int getModifiers(){
103         implMissing(__FILE__, __LINE__ );
104         return 0;
105     }
106     String getName(){
107         implMissing(__FILE__, __LINE__ );
108         return null;
109     }
110     Package getPackage(){
111         implMissing(__FILE__, __LINE__ );
112         return null;
113     }
114     //ProtectionDomain getProtectionDomain(){
115     //    implMissing(__FILE__, __LINE__ );
116     //    return null;
117     //}
118     //URL getResource(String name){
119     //    implMissing(__FILE__, __LINE__ );
120     //    return null;
121     //}
122     //InputStream getResourceAsStream(String name){
123     //    implMissing(__FILE__, __LINE__ );
124     //    return null;
125     //}
126     //Object[] getSigners(){
127     //    implMissing(__FILE__, __LINE__ );
128     //    return null;
129     //}
130     String getSimpleName(){
131         implMissing(__FILE__, __LINE__ );
132         return null;
133     }
134     Class getSuperclass(){
135         implMissing(__FILE__, __LINE__ );
136         return null;
137     }
138     bool isArray(){
139         implMissing(__FILE__, __LINE__ );
140         return false;
141     }
142     bool isAssignableFrom(Class cls){
143         implMissing(__FILE__, __LINE__ );
144         return false;
145     }
146     bool isInstance(Object obj){
147         implMissing(__FILE__, __LINE__ );
148         return false;
149     }
150     bool isInterface(){
151         implMissing(__FILE__, __LINE__ );
152         return false;
153     }
154     bool isPrimitive(){
155         implMissing(__FILE__, __LINE__ );
156         return false;
157     }
158     Object newInstance(){
159         implMissing(__FILE__, __LINE__ );
160         return null;
161     }
162     override
163     String toString(){
164         implMissing(__FILE__, __LINE__ );
165         return null;
166     }
167 }