PublicMethodFilter
PublicMethodFilter is a filtering component used in reflection-based tooling to select methods that are publicly accessible from a type. It helps enumerate an API surface, drive documentation generation, or configure dynamic behavior at runtime.
A public method filter concentrates on visibility attributes and may expose additional options, such as whether
In Java, a typical filter inspects method modifiers, using facilities such as Modifier.isPublic(method.getModifiers()) or by checking
Uses include API surface analysis, reflection-based tooling, test discovery, and code generation. The concept is language-specific
Caveats include handling methods exposed by interfaces, inherited methods, and generic bridge methods. There can be