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.
TypeVisitor
has aprotected visitCaptureType
as if you are supposed to be able to override it. However, the parameter is aAnnotatedCaptureType
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
.