Compiler log for org.eclipse.ui.workbench.texteditor_3.17.400.v20240524-2010 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 116, INFOS: 2

errors others warnings infos forbidden warnings discouraged warnings

ERRORS

top others warnings infos forbidden warnings discouraged warnings

OTHER WARNINGS

top errors infos forbidden warnings discouraged warnings

/src/org/eclipse/ui/texteditor/AbstractTextEditor.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 196)
import org.eclipse.ui.IKeyBindingService;
The type IKeyBindingService is deprecated
2. WARNING in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 769)
private IKeyBindingService fKeyBindingService;
The type IKeyBindingService is deprecated
3. WARNING in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 817)
fKeyBindingService= getEditorSite().getKeyBindingService();
The method getKeyBindingService() from the type IWorkbenchPartSite is deprecated
4. WARNING in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 850)
fKeyBindingService.registerAction(action);
The method registerAction(IAction) from the type IKeyBindingService is deprecated
5. WARNING in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 860)
fKeyBindingService.unregisterAction(action);
The method unregisterAction(IAction) from the type IKeyBindingService is deprecated
6. WARNING in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 870)
fKeyBindingService.setScopes(keyBindingScopes);
The method setScopes(String[]) from the type IKeyBindingService is deprecated
7. WARNING in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 1837)
String hoverInfo= textHover.getHoverInfo(sourceViewer, hoverRegion);
The method getHoverInfo(ITextViewer, IRegion) from the type ITextHover is deprecated

/src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java : 92 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 94)
import org.eclipse.jface.text.templates.ContextTypeRegistry;
The type ContextTypeRegistry is deprecated
2. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 97)
import org.eclipse.jface.text.templates.persistence.TemplatePersistenceData;
The type TemplatePersistenceData is deprecated
3. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 237)
TemplatePersistenceData[] selectedTemplates= getSelectedTemplates();
The type TemplatePersistenceData is deprecated
4. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 239)
isTemplateValidAtLocation(selectedTemplates[0].getTemplate(), new Point(event.x, event.y)))
The method getTemplate() from the type TemplatePersistenceData is deprecated
5. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 248)
TemplatePersistenceData[] selectedTemplates= getSelectedTemplates();
The type TemplatePersistenceData is deprecated
6. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 249)
insertTemplate(selectedTemplates[0].getTemplate());
The method getTemplate() from the type TemplatePersistenceData is deprecated
7. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 265)
if ((object1 instanceof TemplatePersistenceData)
The type TemplatePersistenceData is deprecated
8. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 266)
&& (object2 instanceof TemplatePersistenceData)) {
The type TemplatePersistenceData is deprecated
9. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 267)
Template left= ((TemplatePersistenceData) object1).getTemplate();
The type TemplatePersistenceData is deprecated
10. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 267)
Template left= ((TemplatePersistenceData) object1).getTemplate();
The method getTemplate() from the type TemplatePersistenceData is deprecated
11. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 268)
Template right= ((TemplatePersistenceData) object2).getTemplate();
The type TemplatePersistenceData is deprecated
12. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 268)
Template right= ((TemplatePersistenceData) object2).getTemplate();
The method getTemplate() from the type TemplatePersistenceData is deprecated
13. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 301)
return AbstractTemplatesPage.this.getImage(((TemplatePersistenceData) element).getTemplate());
The type TemplatePersistenceData is deprecated
14. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 301)
return AbstractTemplatesPage.this.getImage(((TemplatePersistenceData) element).getTemplate());
The method getTemplate() from the type TemplatePersistenceData is deprecated
15. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 306)
if (element instanceof TemplatePersistenceData)
The type TemplatePersistenceData is deprecated
16. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 307)
return getTemplateColumnText((TemplatePersistenceData) element, columnIndex);
The type TemplatePersistenceData is deprecated
17. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 311)
private String getTemplateColumnText(TemplatePersistenceData data, int columnIndex) {
The type TemplatePersistenceData is deprecated
18. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 314)
return data.getTemplate().getName();
The method getTemplate() from the type TemplatePersistenceData is deprecated
19. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 316)
return data.getTemplate().getDescription();
The method getTemplate() from the type TemplatePersistenceData is deprecated
20. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 341)
if (parentElement instanceof TemplatePersistenceData)
The type TemplatePersistenceData is deprecated
21. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 350)
private TemplatePersistenceData[] getTemplates(String contextId) {
The type TemplatePersistenceData is deprecated
22. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 351)
List<TemplatePersistenceData> templateList= new ArrayList<>();
The type TemplatePersistenceData is deprecated
23. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 352)
TemplatePersistenceData[] datas= getTemplateStore().getTemplateData(false);
The type TemplatePersistenceData is deprecated
24. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 353)
for (TemplatePersistenceData data : datas) {
The type TemplatePersistenceData is deprecated
25. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 354)
if (data.isEnabled() && data.getTemplate().getContextTypeId().equals(contextId)) {
The method isEnabled() from the type TemplatePersistenceData is deprecated
26. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 354)
if (data.isEnabled() && data.getTemplate().getContextTypeId().equals(contextId)) {
The method getTemplate() from the type TemplatePersistenceData is deprecated
27. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 359)
.toArray(new TemplatePersistenceData[templateList.size()]);
The type TemplatePersistenceData is deprecated
28. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 364)
if (element instanceof TemplatePersistenceData) {
The type TemplatePersistenceData is deprecated
29. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 365)
TemplatePersistenceData templateData= (TemplatePersistenceData) element;
The type TemplatePersistenceData is deprecated
30. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 365)
TemplatePersistenceData templateData= (TemplatePersistenceData) element;
The type TemplatePersistenceData is deprecated
31. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 366)
return getContextTypeRegistry().getContextType( templateData.getTemplate().getContextTypeId());
The method getContextType(String) from the type ContextTypeRegistry is deprecated
32. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 367)
templateData.getTemplate().getContextTypeId());
The method getTemplate() from the type TemplatePersistenceData is deprecated
33. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 374)
if (parentElement instanceof TemplatePersistenceData)
The type TemplatePersistenceData is deprecated
34. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 379)
TemplatePersistenceData[] datas= getTemplateStore().getTemplateData(false);
The type TemplatePersistenceData is deprecated
35. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 383)
for (TemplatePersistenceData data : datas) {
The type TemplatePersistenceData is deprecated
36. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 384)
if (data.isEnabled() && data.getTemplate().getContextTypeId().equals(contextId)) {
The method isEnabled() from the type TemplatePersistenceData is deprecated
37. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 384)
if (data.isEnabled() && data.getTemplate().getContextTypeId().equals(contextId)) {
The method getTemplate() from the type TemplatePersistenceData is deprecated
38. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 397)
for (Iterator<TemplateContextType> iterator= getContextTypeRegistry().contextTypes(); iterator.hasNext();) {
The method contextTypes() from the type ContextTypeRegistry is deprecated
39. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 455)
private TemplatePersistenceData[] fSelectedTemplates= new TemplatePersistenceData[0];
The type TemplatePersistenceData is deprecated
40. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 455)
private TemplatePersistenceData[] fSelectedTemplates= new TemplatePersistenceData[0];
The type TemplatePersistenceData is deprecated
41. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 663)
abstract protected ContextTypeRegistry getContextTypeRegistry();
The type ContextTypeRegistry is deprecated
42. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 767)
TemplatePersistenceData[] contents= (TemplatePersistenceData[])clipboard
The type TemplatePersistenceData is deprecated
43. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 767)
TemplatePersistenceData[] contents= (TemplatePersistenceData[])clipboard
The type TemplatePersistenceData is deprecated
44. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 770)
return contents[0].getTemplate();
The method getTemplate() from the type TemplatePersistenceData is deprecated
45. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 857)
TemplatePersistenceData[] selectedTemplates= getSelectedTemplates();
The type TemplatePersistenceData is deprecated
46. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 858)
insertTemplate(selectedTemplates[0].getTemplate());
The method getTemplate() from the type TemplatePersistenceData is deprecated
47. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 946)
TemplatePersistenceData[] templates= (TemplatePersistenceData[])clipboard.getContents(TemplatesTransfer.getInstance());
The type TemplatePersistenceData is deprecated
48. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 946)
TemplatePersistenceData[] templates= (TemplatePersistenceData[])clipboard.getContents(TemplatesTransfer.getInstance());
The type TemplatePersistenceData is deprecated
49. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1105)
TemplatePersistenceData[] selectedTemplates = getSelectedTemplates();
The type TemplatePersistenceData is deprecated
50. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1107)
insertTemplate(selectedTemplates[0].getTemplate());
The method getTemplate() from the type TemplatePersistenceData is deprecated
51. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1212)
TemplatePersistenceData[] selectedTemplates= getSelectedTemplates();
The type TemplatePersistenceData is deprecated
52. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1215)
updatePatternViewer(selectedTemplates[0].getTemplate());
The method getTemplate() from the type TemplatePersistenceData is deprecated
53. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1231)
TemplatePersistenceData[] selectedTemplates= getSelectedTemplates();
The type TemplatePersistenceData is deprecated
54. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1245)
TemplatePersistenceData[] data= new TemplatePersistenceData[selection.size()];
The type TemplatePersistenceData is deprecated
55. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1245)
TemplatePersistenceData[] data= new TemplatePersistenceData[selection.size()];
The type TemplatePersistenceData is deprecated
56. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1249)
if (o instanceof TemplatePersistenceData)
The type TemplatePersistenceData is deprecated
57. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1250)
data[i++]= (TemplatePersistenceData) o;
The type TemplatePersistenceData is deprecated
58. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1252)
fSelectedTemplates= new TemplatePersistenceData[0];
The type TemplatePersistenceData is deprecated
59. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1266)
public TemplatePersistenceData[] getSelectedTemplates() {
The type TemplatePersistenceData is deprecated
60. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1293)
return getContextTypeRegistry().contextTypes().next().getId();
The method contextTypes() from the type ContextTypeRegistry is deprecated
61. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1297)
if (item instanceof TemplatePersistenceData)
The type TemplatePersistenceData is deprecated
62. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1298)
return ((TemplatePersistenceData) item).getTemplate().getContextTypeId();
The type TemplatePersistenceData is deprecated
63. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1298)
return ((TemplatePersistenceData) item).getTemplate().getContextTypeId();
The method getTemplate() from the type TemplatePersistenceData is deprecated
64. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1308)
return getContextTypeRegistry().contextTypes().next()
The method contextTypes() from the type ContextTypeRegistry is deprecated
65. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1322)
if (item instanceof TemplatePersistenceData)
The type TemplatePersistenceData is deprecated
66. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1323)
contextId= ((TemplatePersistenceData) item).getTemplate().getContextTypeId();
The type TemplatePersistenceData is deprecated
67. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1323)
contextId= ((TemplatePersistenceData) item).getTemplate().getContextTypeId();
The method getTemplate() from the type TemplatePersistenceData is deprecated
68. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1338)
TemplatePersistenceData data= new TemplatePersistenceData(newTemplate, true);
The type TemplatePersistenceData is deprecated
69. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1338)
TemplatePersistenceData data= new TemplatePersistenceData(newTemplate, true);
The type TemplatePersistenceData is deprecated
70. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1338)
TemplatePersistenceData data= new TemplatePersistenceData(newTemplate, true);
The constructor TemplatePersistenceData(Template, boolean) is deprecated
71. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1364)
TemplatePersistenceData selectedTemplate= getSelectedTemplates()[0];
The type TemplatePersistenceData is deprecated
72. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1365)
Template oldTemplate= selectedTemplate.getTemplate();
The method getTemplate() from the type TemplatePersistenceData is deprecated
73. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1372)
TemplatePersistenceData templateData= new TemplatePersistenceData(newTemplate,
The type TemplatePersistenceData is deprecated
74. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1372)
TemplatePersistenceData templateData= new TemplatePersistenceData(newTemplate,
The type TemplatePersistenceData is deprecated
75. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1372)
TemplatePersistenceData templateData= new TemplatePersistenceData(newTemplate, true);
The constructor TemplatePersistenceData(Template, boolean) is deprecated
76. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1378)
selectedTemplate.setTemplate(newTemplate);
The method setTemplate(Template) from the type TemplatePersistenceData is deprecated
77. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1391)
private void moveTemplates(TemplatePersistenceData[] templates, String contextId) {
The type TemplatePersistenceData is deprecated
78. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1392)
for (TemplatePersistenceData template : templates) {
The type TemplatePersistenceData is deprecated
79. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1393)
Template t = template.getTemplate();
The method getTemplate() from the type TemplatePersistenceData is deprecated
80. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1394)
template.setTemplate(new Template(t.getName(), t.getDescription(), contextId, t .getPattern(), t.isAutoInsertable()));
The method setTemplate(Template) from the type TemplatePersistenceData is deprecated
81. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1407)
private void copyTemplates(TemplatePersistenceData[] templates, String contextId) {
The type TemplatePersistenceData is deprecated
82. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1408)
TemplatePersistenceData[] newTemplates= new TemplatePersistenceData[templates.length];
The type TemplatePersistenceData is deprecated
83. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1408)
TemplatePersistenceData[] newTemplates= new TemplatePersistenceData[templates.length];
The type TemplatePersistenceData is deprecated
84. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1410)
Template t= templates[i].getTemplate();
The method getTemplate() from the type TemplatePersistenceData is deprecated
85. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1411)
newTemplates[i]= new TemplatePersistenceData(new Template(t.getName(), t
The type TemplatePersistenceData is deprecated
86. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1411)
newTemplates[i]= new TemplatePersistenceData(new Template(t.getName(), t .getDescription(), contextId, t.getPattern(), t.isAutoInsertable()), true);
The constructor TemplatePersistenceData(Template, boolean) is deprecated
87. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1425)
TemplatePersistenceData[] selectedTemplates= getSelectedTemplates();
The type TemplatePersistenceData is deprecated
88. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1438)
for (TemplatePersistenceData selectedTemplate : selectedTemplates) {
The type TemplatePersistenceData is deprecated
89. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1518)
contextId= ((TemplatePersistenceData) object).getTemplate().getContextTypeId();
The type TemplatePersistenceData is deprecated
90. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1518)
contextId= ((TemplatePersistenceData) object).getTemplate().getContextTypeId();
The method getTemplate() from the type TemplatePersistenceData is deprecated
91. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1528)
final TemplatePersistenceData[] templates= (TemplatePersistenceData[]) event.data;
The type TemplatePersistenceData is deprecated
92. WARNING in /src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java
 (at line 1528)
final TemplatePersistenceData[] templates= (TemplatePersistenceData[]) event.data;
The type TemplatePersistenceData is deprecated

/src/org/eclipse/ui/texteditor/templates/ITemplatesPageExtension.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/ui/texteditor/templates/ITemplatesPageExtension.java
 (at line 16)
import org.eclipse.jface.text.templates.persistence.TemplatePersistenceData;
The type TemplatePersistenceData is deprecated
2. WARNING in /src/org/eclipse/ui/texteditor/templates/ITemplatesPageExtension.java
 (at line 46)
TemplatePersistenceData[] getSelectedTemplates();
The type TemplatePersistenceData is deprecated

/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java : 13 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 110)
import org.eclipse.jface.text.templates.ContextTypeRegistry;
The type ContextTypeRegistry is deprecated
2. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 173)
private ContextTypeRegistry fContextTypeRegistry;
The type ContextTypeRegistry is deprecated
3. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 189)
public EditTemplateDialog(Shell parent, Template template, boolean edit, boolean isNameModifiable, ContextTypeRegistry registry) {
The type ContextTypeRegistry is deprecated
4. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 201)
for (Iterator<TemplateContextType> it= registry.contextTypes(); it.hasNext();) {
The method contextTypes() from the type ContextTypeRegistry is deprecated
5. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 218)
TemplateContextType type= fContextTypeRegistry.getContextType(template.getContextTypeId());
The method getContextType(String) from the type ContextTypeRegistry is deprecated
6. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 353)
fTemplateProcessor.setContextType(fContextTypeRegistry.getContextType(contextId));
The method getContextType(String) from the type ContextTypeRegistry is deprecated
7. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 375)
TemplateContextType contextType= fContextTypeRegistry.getContextType(getContextId());
The method getContextType(String) from the type ContextTypeRegistry is deprecated
8. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 698)
TemplateContextType type= fContextTypeRegistry.getContextType(template.getContextTypeId());
The method getContextType(String) from the type ContextTypeRegistry is deprecated
9. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 735)
private ContextTypeRegistry fContextTypeRegistry;
The type ContextTypeRegistry is deprecated
10. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 764)
public ContextTypeRegistry getContextTypeRegistry() {
The type ContextTypeRegistry is deprecated
11. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 782)
public void setContextTypeRegistry(ContextTypeRegistry registry) {
The type ContextTypeRegistry is deprecated
12. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 955)
Iterator<TemplateContextType> iter= getContextTypeRegistry().contextTypes();
The method contextTypes() from the type ContextTypeRegistry is deprecated
13. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
 (at line 1142)
Iterator<TemplateContextType> it= fContextTypeRegistry.contextTypes();
The method contextTypes() from the type ContextTypeRegistry is deprecated

/src/org/eclipse/ui/texteditor/templates/TemplatesView.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatesView.java
 (at line 22)
import org.eclipse.jface.text.templates.persistence.TemplatePersistenceData;
The type TemplatePersistenceData is deprecated
2. WARNING in /src/org/eclipse/ui/texteditor/templates/TemplatesView.java
 (at line 200)
public TemplatePersistenceData[] getSelectedTemplates() {
The type TemplatePersistenceData is deprecated

INFO WARNINGS

errors others warnings forbidden warnings discouraged warnings

/src/org/eclipse/ui/texteditor/AbstractTextEditor.java : 2 infos :

INFO WARNINGS
1. INFO in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 7001)
if (currentDistance < distance || currentDistance == distance && p.length < nextAnnotationPosition.length) {
Potential null pointer access: The variable nextAnnotationPosition may be null at this location
2. INFO in /src/org/eclipse/ui/texteditor/AbstractTextEditor.java
 (at line 7011)
if (currentDistance < distance || currentDistance == distance && p.length < nextAnnotationPosition.length) {
Potential null pointer access: The variable nextAnnotationPosition may be null at this location

FORBIDDEN ACCESS WARNINGS

top errors infos others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors infos others warnings forbidden warnings