Skip to content

Clarify FAQ about type parameter declarations #6972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/manual/faq.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1545,8 +1545,8 @@

\subsectionAndLabel{How should I annotate code that uses generics?}{faq-writing-generics}

Suppose unannotated code contains a type parameter \code{<T>}. How should
you annotate that?
Suppose unannotated code contains a declaration of a type parameter
\code{<T>}. How should you annotate that declaration?

This is really a question about Java's generic types, so if you understand
Java generics, this question is moot. However, Java generics can be hard
Expand Down