equal
deleted
inserted
replaced
|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
|
2 // Use of this source code is governed by a BSD-style license that can be |
|
3 // found in the LICENSE file. |
|
4 |
|
5 package org.chromium.debug.core.model; |
|
6 |
|
7 /** |
|
8 * An interface to destruct some object. Used from {@link DestructingGuard}. |
|
9 */ |
|
10 public interface Destructable { |
|
11 /** |
|
12 * Destructs object wrapped in the interface. As usual exceptions are not |
|
13 * welcome from destruct method. |
|
14 */ |
|
15 void destruct(); |
|
16 } |