当我滚动到它们时,我希望可用方法的弹出窗口显示方法描述。
(显然,这仅在方法本身具有必要的注释和标记时才有效。)
/**
* If a value is present in this {@code Optional}, returns the value,
* otherwise throws {@code NoSuchElementException}.
*
* @return the non-null value held by this {@code Optional}
* @throws NoSuchElementException if there is no value present
*
* @see Optional#isPresent()
*/
public T get() {
我希望它表现得像这样: