Skip to main content
summaryrefslogtreecommitdiffstats
blob: 9097fc957c7d16e77319788b5d42e5a7b19e6a78 (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
37
38
/*******************************************************************************
 * Copyright (c) 2001, 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
/*


 */
package org.eclipse.jem.java.adapters;

/**
 * Extension interface to add an additional reflection key in to handle
 * other types of key's not specifically handled.
 * 
 * @since 1.0.0
 */
public interface IJavaReflectionKeyExtension {

	/**
	 * Get the object from the given id.
	 * @param id
	 * @param reflectionKey
	 * @return the object (it should add the id with object to the resource's id table before returning it) or <code>null</code> if not one it handles.
	 * 
	 * @since 1.0.0
	 */
	public Object getObject(String id, IJavaReflectionKey reflectionKey);
	
}



Back to the top