Disposer/Disposable: link SDK docs reference

GitOrigin-RevId: daf487a7693efca9d5e6cd67d4b89749ed8b0eb3
This commit is contained in:
Yann Cébron
2020-06-09 12:09:12 +03:00
committed by intellij-monorepo-bot
parent aa1fde421a
commit dca558d695
2 changed files with 4 additions and 1 deletions
@@ -10,6 +10,8 @@ package com.intellij.openapi;
* If you're 100% sure that you should control your object's disposal manually,
* do not call the {@link #dispose()} method either. Use {@link com.intellij.openapi.util.Disposer#dispose(Disposable)} instead, since
* there might be any object registered in the chain.
* <p/>
* See <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/disposers.html">Disposer and Disposable</a> in SDK Docs.
*/
public interface Disposable {
/**
@@ -13,7 +13,8 @@ import java.util.Map;
*
* <p>A root node can be created via {@link #newDisposable()}, to which children are attached via subsequent calls to {@link #register(Disposable, Disposable)}.
* Invoking {@link #dispose(Disposable)} will process all its registered children's {@link Disposable#dispose()} method.</p>
*
* <p>
* See <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/disposers.html">Disposer and Disposable</a> in SDK Docs.
* @see Disposable
*/
public final class Disposer {