mirror of
https://github.com/EsotericSoftware/reflectasm.git
synced 2025-01-14 13:50:37 +08:00
add support searching default methods since Java 8
This commit is contained in:
parent
783c59ad7c
commit
11b0828a07
@ -90,6 +90,9 @@ public abstract class MethodAccess {
|
||||
Class nextClass = type;
|
||||
while (nextClass != Object.class) {
|
||||
addDeclaredMethodsToList(nextClass, methods);
|
||||
for (Class nextInterface : nextClass.getInterfaces()) {
|
||||
addDeclaredMethodsToList(nextInterface, methods);
|
||||
}
|
||||
nextClass = nextClass.getSuperclass();
|
||||
}
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user