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()


Jerome, could you please tag jdt.core when this change is released?

Our compiler settings flag unnecessary casts as error, and it would be convenient if we could use a preview of jdt.core until we get the next integration build.

Thanks,
Markus



Jerome Lanneluc/France/IBM@IBMFR
Sent by: jdt-ui-dev-admin@xxxxxxxxxxx

2005-01-24 12:37

Please respond to
jdt-ui-dev@xxxxxxxxxxx

To
jdt-ui-dev@xxxxxxxxxxx
cc
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