Merge "Update getExportedPropertyMethods to new reflection API"
This commit is contained in:
@@ -1040,14 +1040,10 @@ public class ViewDebug {
|
|||||||
return methods;
|
return methods;
|
||||||
}
|
}
|
||||||
|
|
||||||
final ArrayList<Method> declaredMethods = new ArrayList();
|
methods = klass.getDeclaredMethodsUnchecked(false);
|
||||||
klass.getDeclaredMethodsUnchecked(false, declaredMethods);
|
|
||||||
|
|
||||||
final ArrayList<Method> foundMethods = new ArrayList<Method>();
|
final ArrayList<Method> foundMethods = new ArrayList<Method>();
|
||||||
final int count = declaredMethods.size();
|
for (final Method method : methods) {
|
||||||
for (int i = 0; i < count; i++) {
|
|
||||||
final Method method = declaredMethods.get(i);
|
|
||||||
|
|
||||||
// Ensure the method return and parameter types can be resolved.
|
// Ensure the method return and parameter types can be resolved.
|
||||||
try {
|
try {
|
||||||
method.getReturnType();
|
method.getReturnType();
|
||||||
|
|||||||
Reference in New Issue
Block a user