Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtext discouraged access warning(xtext discouraged access warning)
xtext discouraged access warning [message #1743240] Tue, 13 September 2016 14:04 Go to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
Hi,

Can anyone tell how to solve this?

Discouraged access: The type ToggleXtextNatureAction is not accessible due to restriction on required project com.prolifics.jpl.JPLEditor.ui

index.php/fa/27044/0/

Is this warning will break my functionality anytime?
Re: xtext discouraged access warning [message #1743242 is a reply to message #1743240] Tue, 13 September 2016 14:06 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
this means you use internal api. this means: dont complain if the api changes in a future xtext version. if you can live with that simply ignore the warning / add a @SuppressWarnings

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: xtext discouraged access warning [message #1743243 is a reply to message #1743242] Tue, 13 September 2016 14:09 Go to previous messageGo to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
You mean no problem. right?
Re: xtext discouraged access warning [message #1743245 is a reply to message #1743243] Tue, 13 September 2016 14:10 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
yes.

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: xtext discouraged access warning [message #1743246 is a reply to message #1743245] Tue, 13 September 2016 14:11 Go to previous messageGo to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
thank you.
Re: xtext discouraged access warning [message #1743292 is a reply to message #1743240] Wed, 14 September 2016 06:45 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

The original question was: Does it break anytime?

It could, although it is maybe unlikely. Internal API is internal because it can change in the future. It is not said that it actually does.

So the usage is at your own risk. You have to evaluate the risk. In this case the risk is not so high.
Previous Topic:How to bind Formatter2
Next Topic:Xtext parser programmatically for XMI generation
Goto Forum:
  


Current Time: Thu Mar 28 13:35:46 GMT 2024

Powered by FUDForum. Page generated in 0.27099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top