[Issue 920] Updating getMethodInfo to not get superconstructors by chubert-ch · Pull Request #921 · classgraph/classgraph
ClassGraph returns the MethodInfo of some (but not all!) superclass constructors when asked for a Class's constructors.
Particularly confusing for users if there's a non-public constructor with the same signature as a constructor in the superclass and .ignoreMethodVisibility() isn't set. This is the only case where an overridden method is returned from getMethodInfo() and is because constructors are the only case where a method can have the same signature as a superclass method, but have lower visibility.