Following on from the PR [#5117|https://github.com/apache/kafka/pull/5117...] and discussions with Colin McCabe...
The current ResourceNameType.ANY may be misleading as it performs pattern matching for wildcard and prefixed bindings. Where as ResourceName.ANY just brings back any resource name.
Renaming to ResourceNameType.MATCH and adding more Java doc should clear this up.
Finally, ResourceNameType is no longer appropriate as the type is used in ResourcePattern and ResourcePatternFilter. Hence rename to PatternType.