mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Disposable: javadoc cleanup
GitOrigin-RevId: 6c187ef3e5e6ff7fc6cbdf791836c90ddc3c8c8b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2ea3fe4095
commit
c5e88846c1
@@ -1,13 +1,15 @@
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi;
|
||||
|
||||
/**
|
||||
* This class marks classes, which require some work done for cleaning up.
|
||||
* As a general policy you shouldn't call the {@link #dispose} method directly,
|
||||
* <p/>
|
||||
* As a general policy, you shouldn't call the {@link #dispose()} method directly,
|
||||
* but register your object to be chained with a parent disposable via {@link com.intellij.openapi.util.Disposer#register(Disposable, Disposable)}.
|
||||
* If you're 100% sure that you should control the disposal of your object 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 chain.
|
||||
* <p/>
|
||||
* 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.
|
||||
*/
|
||||
public interface Disposable {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user