View | Details | Raw Unified | Return to bug 309966 | Differences between
and this patch

Collapse All | Expand All

(-)model/org/eclipse/jdt/core/IField.java (-4 / +7 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 95-107 Link Here
95
 */
95
 */
96
String getElementName();
96
String getElementName();
97
/**
97
/**
98
 * Returns the binding key for this field. A binding key is a key that uniquely
98
 * Returns the binding key for this field only if the given field is {@link #isResolved() resolved}.
99
 * identifies this field. It allows access to generic info for parameterized
99
 * A binding key is a key that uniquely identifies this field. It allows access to generic info
100
 * fields.
100
 * for parameterized fields.
101
 *
101
 *
102
 * <p>If the given field is not resolved, the returned key is simply the java element's key.
103
 * </p>
102
 * @return the binding key for this field
104
 * @return the binding key for this field
103
 * @see org.eclipse.jdt.core.dom.IBinding#getKey()
105
 * @see org.eclipse.jdt.core.dom.IBinding#getKey()
104
 * @see BindingKey
106
 * @see BindingKey
107
 * @see #isResolved()
105
 * @since 3.1
108
 * @since 3.1
106
 */
109
 */
107
String getKey();
110
String getKey();
(-)model/org/eclipse/jdt/core/IMethod.java (-4 / +7 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 101-113 Link Here
101
 */
101
 */
102
int getNumberOfParameters();
102
int getNumberOfParameters();
103
/**
103
/**
104
 * Returns the binding key for this method. A binding key is a key that uniquely
104
 * Returns the binding key for this method only if the given method is {@link #isResolved() resolved}.
105
 * identifies this method. It allows access to generic info for parameterized
105
 * A binding key is a key that uniquely identifies this method. It allows access
106
 * methods.
106
 * to generic info for parameterized methods.
107
 *
107
 *
108
 * <p>If the given method is not resolved, the returned key is simply the java element's key.
109
 * </p>
108
 * @return the binding key for this method
110
 * @return the binding key for this method
109
 * @see org.eclipse.jdt.core.dom.IBinding#getKey()
111
 * @see org.eclipse.jdt.core.dom.IBinding#getKey()
110
 * @see BindingKey
112
 * @see BindingKey
113
 * @see #isResolved()
111
 * @since 3.1
114
 * @since 3.1
112
 */
115
 */
113
String getKey();
116
String getKey();

Return to bug 309966