leangen / geantyref

Advanced generic type reflection library with support for working with AnnotatedTypes (for Java 8+)
Apache License 2.0
99 stars 15 forks source link

TypeVisitor has protected method that refers to package-private type #14

Closed stevenschlansker closed 2 years ago

stevenschlansker commented 2 years ago

TypeVisitor has a protected visitCaptureType as if you are supposed to be able to override it. However, the parameter is a AnnotatedCaptureType which is package-private, so to override it you must be in the geantyref package.

It seems that either the type should be visible, or the method itself should be package private not protected.