Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] Breaking API change for TypeParameter#resolveBinding()

This change has no effect on the clients mentioned below.

Tobias

Monday, January 24, 2005 12:43
To: jdt-ui-dev@xxxxxxxxxxx
cc:
From: Jerome Lanneluc/France/IBM@IBMFR
Subject: [jdt-ui-dev] Breaking API change for
TypeParameter#resolveBinding()







The JDT Core API TypeParameter#resolveBinding() currently returns an
IBinding. It should really return an ITypeBinding.
JDT Core plans on changing this 3.1 API to correctly return an
ITypeBinding.

In I20050118-1015, the only clients of this method are within JDT UI:
- ConvertAnonymousToNestedRefactoring.java (line 404)
- MoveInnerToTopRefactoring.java (line 322)
- MoveInstanceMethodProcessor.java (line 309)

The side effect on this client code will be an 'Unecessary cast' warning.

If you see any reason for not making this change, please speak up now.

Jerome

_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
 http://dev.eclipse.org/mailman/listinfo/jdt-ui-dev



Back to the top