mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-22 08:31:31 +00:00
Remove JavaClass.getAllMethods()/getAllFields()
Their behavior is different in PSI and reflection (two things that this interface is supposed to unify), so there's no point in making it interface methods, rather we should just walk supertype hierarchy manually Also make JavaClassImpl.getSupertypes() invoke PsiClass.getSuperTypes(), because it also contains java.lang.Object for interfaces, which makes equals/hashCode/toString appear in interfaces' getAllMethods() as well
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package test;
|
||||
|
||||
public interface EmptyInterface {
|
||||
}
|
||||
Reference in New Issue
Block a user