Create proxy class, constructor, and methods.
This code compiles but has not been exercised. I still
need to wire in the code blocks and return types.
Change-Id: I1796103d3bc4fc3c863f95bdca4cfb9765d4b3b7
diff --git a/src/class_linker.h b/src/class_linker.h
index e74494e..37802ae 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -226,6 +226,9 @@
void VerifyClass(Class* klass);
+ Class* CreateProxyClass(String* name, ObjectArray<Class>* interfaces, ClassLoader* loader,
+ ObjectArray<Method>* methods, ObjectArray<Object>* throws);
+
private:
ClassLinker(InternTable*);
@@ -343,6 +346,9 @@
return dex_caches_;
}
+ Method* CreateProxyConstructor(Class* klass);
+ Method* CreateProxyMethod(Class* klass, Method* prototype, Object* throws);
+
// lock to protect ClassLinker state
mutable Mutex lock_;