import java.io.InputStream;
import java.io.Serializable;
import java.lang.annotation.Annotation;
-import java.lang.reflect.AnnotatedElement;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
-import java.lang.reflect.GenericDeclaration;
-import java.lang.reflect.Method;
-import java.lang.reflect.Type;
-import java.lang.reflect.TypeVariable;
+import java.lang.reflect.*;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
native AnnotationType getAnnotationType();
- @Override
- public TypeVariable<Class<T>>[] getTypeParameters() {
- throw new UnsupportedOperationException();
- }
-
- public Type getGenericSuperclass() {
- throw new UnsupportedOperationException();
- }
-
- public Type[] getGenericInterfaces() {
- throw new UnsupportedOperationException();
- }
+ // TODO: Fix for Groovy's model-checking
+ public native TypeVariable<Class<T>>[] getTypeParameters();
+
+ public native Type getGenericSuperclass();
+
+ public native Type[] getGenericInterfaces();
+
+ public native java.security.ProtectionDomain getProtectionDomain();
+
+ transient ClassValue.ClassValueMap classValueMap;
+ // TODO: Fix for Groovy's model-checking
public Object[] getSigners() {
throw new UnsupportedOperationException();
public Class<?>[] getDeclaredClasses() throws SecurityException {
throw new UnsupportedOperationException();
}
-
- public java.security.ProtectionDomain getProtectionDomain() {
- throw new UnsupportedOperationException();
- }
void setProtectionDomain0(java.security.ProtectionDomain pd) {
pd = null; // Get rid of IDE warning