blob: 4e277b12eaad33d3fd544bb0da14357f74f45598 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*******************************************************************************
* Copyright (c) 2008 ARM Limited and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* ARM Limited - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.debug.core.disassembly;
/**
* Provides disassembly context for given element.
* <p>
* Clients must implements this interface to plug into
* the diassembly framework.
* </p>
* This interface is experimental.
*/
public interface IDisassemblyContextProvider {
/**
* Returns the disassembly context object for <code>element</code>
*
* @param element the element being queried for disassembly context
* @return an object that represents the disassembly context
* for the given element, or <code>null</code> if the given element
* doesn't provide a disassembly context
*/
public Object getDisassemblyContext( Object element );
}
|