mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Disposer/Disposable: link SDK docs reference
GitOrigin-RevId: daf487a7693efca9d5e6cd67d4b89749ed8b0eb3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aa1fde421a
commit
dca558d695
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user