< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/ClassBuilder.java

Print this page

        

*** 451,461 **** * {@code hashCode}, {@code toString}, the accessor methods, and the underlying * field. * @param elem the record element */ ! @SuppressWarnings("removal") private void setRecordDocumentation(TypeElement elem) { CommentUtils cmtUtils = configuration.cmtUtils; Set<Name> componentNames = elem.getRecordComponents().stream() .map(Element::getSimpleName) .collect(Collectors.toSet()); --- 451,461 ---- * {@code hashCode}, {@code toString}, the accessor methods, and the underlying * field. * @param elem the record element */ ! @SuppressWarnings("preview") private void setRecordDocumentation(TypeElement elem) { CommentUtils cmtUtils = configuration.cmtUtils; Set<Name> componentNames = elem.getRecordComponents().stream() .map(Element::getSimpleName) .collect(Collectors.toSet());
< prev index next >