Refactor the use of Method by the compiler.
Remove the dependence on the Method object in dex2oat, allowing lazier
resolution.
Introduce new find and iterators in DexFile to simplify common
operations and avoid misuse of class data items.
Change-Id: I39fb8252190f543d89d8b233076355cec310fe08
diff --git a/test/CreateMethodSignature/CreateMethodSignature.java b/test/CreateMethodSignature/CreateMethodSignature.java
new file mode 100644
index 0000000..32338f1
--- /dev/null
+++ b/test/CreateMethodSignature/CreateMethodSignature.java
@@ -0,0 +1,6 @@
+// Copyright 2011 Google Inc. All Rights Reserved.
+
+class CreateMethodSignature {
+ Float m1(int a, double b, long c, Object d) { return null; }
+ CreateMethodSignature m2(boolean x, short y, char z) { return null; }
+}