Compiler Report

Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1

Number of source files: 239 Number of classfiles: 453

Problems: 47 (Errors: 0 Warnings: 47 )

Source File: org/eclipse/wst/sse/ui/internal/GotoAnnotationAction.java
1. WARNING: DeadCode

Dead code

GotoAnnotationAction.java :

246 : if (false /* delayed - see bug 18316 */) { getNextAnnotation(selection.getOffset(), selection.getLength(), forward, position); getTextEditor().selectAndReveal(position.getOffset(), position.getLength()); }

Source File: org/eclipse/wst/sse/ui/internal/StructuredDocumentToTextAdapter.java
1. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

354 : if (DEBUG && fDocument != null && !(fDocument instanceof ILockable)) {

2. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

354 : if (DEBUG && fDocument != null && !(fDocument instanceof ILockable)) { System.out.println("Warning: non ILockable document used in StructuredDocumentToTextAdapter"); //$NON-NLS-1$ System.out.println(" document updates on non-display thread will not be safe if editor open"); //$NON-NLS-1$ }

3. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

982 : if (Debug.debugStructuredDocument && getDocument() != null) {

4. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

982 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("NOT relaying text changed (" + getDocument().getLength() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ }

5. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

987 : if (Debug.debugStructuredDocument && getDocument() != null) {

6. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

987 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("relaying text changed (" + getDocument().getLength() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ }

7. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1021 : if (Debug.debugStructuredDocument && getDocument() != null) {

8. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1021 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("NOT relaying text changing: " + requestedStart + ":" + getDocument().getLength()); //$NON-NLS-1$ //$NON-NLS-2$ }

9. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1026 : if (Debug.debugStructuredDocument && getDocument() != null) {

10. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1026 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("relaying text changing: " + requestedStart + ":" + getDocument().getLength()); //$NON-NLS-1$ //$NON-NLS-2$ }

11. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1072 : if (Debug.debugStructuredDocument && getDocument() != null) {

12. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1072 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("NOT relaying text set (" + getDocument().getLength() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ }

13. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1077 : if (Debug.debugStructuredDocument && getDocument() != null) {

14. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1077 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("relaying text set (" + getDocument().getLength() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ }

Source File: org/eclipse/wst/sse/ui/internal/StructuredTextAnnotationHover.java
1. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

20 : import org.eclipse.jface.internal.text.html.HTMLPrinter;

2. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

43 : HTMLPrinter.addPageProlog(buffer);

3. WARNING: DiscouragedReference

Discouraged access: The method addPageProlog(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

43 : HTMLPrinter.addPageProlog(buffer);

4. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

44 : HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(message));

5. WARNING: DiscouragedReference

Discouraged access: The method addParagraph(StringBuffer, String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

44 : HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(message));

6. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

44 : HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(message));

7. WARNING: DiscouragedReference

Discouraged access: The method convertToHTMLContent(String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

44 : HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(message));

8. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

45 : HTMLPrinter.addPageEpilog(buffer);

9. WARNING: DiscouragedReference

Discouraged access: The method addPageEpilog(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

45 : HTMLPrinter.addPageEpilog(buffer);

10. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

54 : HTMLPrinter.addPageProlog(buffer);

11. WARNING: DiscouragedReference

Discouraged access: The method addPageProlog(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

54 : HTMLPrinter.addPageProlog(buffer);

12. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

55 : HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(SSEUIMessages.Multiple_errors));

13. WARNING: DiscouragedReference

Discouraged access: The method addParagraph(StringBuffer, String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

55 : HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(SSEUIMessages.Multiple_errors));

14. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

55 : HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(SSEUIMessages.Multiple_errors));

15. WARNING: DiscouragedReference

Discouraged access: The method convertToHTMLContent(String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

55 : HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(SSEUIMessages.Multiple_errors));

16. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

57 : HTMLPrinter.startBulletList(buffer);

17. WARNING: DiscouragedReference

Discouraged access: The method startBulletList(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

57 : HTMLPrinter.startBulletList(buffer);

18. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

61 : String converted = HTMLPrinter.convertToHTMLContent((String) e.next());

19. WARNING: DiscouragedReference

Discouraged access: The method convertToHTMLContent(String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

61 : String converted = HTMLPrinter.convertToHTMLContent((String) e.next());

20. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

66 : HTMLPrinter.addBullet(buffer, e.next().toString());

21. WARNING: DiscouragedReference

Discouraged access: The method addBullet(StringBuffer, String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

66 : HTMLPrinter.addBullet(buffer, e.next().toString());

22. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

68 : HTMLPrinter.endBulletList(buffer);

23. WARNING: DiscouragedReference

Discouraged access: The method endBulletList(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

68 : HTMLPrinter.endBulletList(buffer);

24. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

70 : HTMLPrinter.addPageEpilog(buffer);

25. WARNING: DiscouragedReference

Discouraged access: The method addPageEpilog(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar

StructuredTextAnnotationHover.java :

70 : HTMLPrinter.addPageEpilog(buffer);

Source File: org/eclipse/wst/sse/ui/internal/preferences/ui/StyledTextColorPicker.java
1. WARNING: DeadCode

Dead code

StyledTextColorPicker.java :

132 : } else if (showItalic && e.widget == fItalic) {

2. WARNING: DeadCode

Dead code

StyledTextColorPicker.java :

132 : } else if (showItalic && e.widget == fItalic) { // get current (newly old) style String prefString = getPreferenceStore().getString(namedStyle); String[] stylePrefs = ColorHelper.unpackStylePreferences(prefString); if (stylePrefs != null) { String oldValue = stylePrefs[3]; String newValue = String.valueOf(fItalic.getSelection()); if (!newValue.equals(oldValue)) { stylePrefs[3] = newValue; String newPrefString = ColorHelper.packStylePreferences(stylePrefs); getPreferenceStore().setValue(namedStyle, newPrefString); refresh(); } } } else if (e.widget == fClearStyle) {

Source File: org/eclipse/wst/sse/ui/internal/provisional/style/AbstractLineStyleProvider.java
1. WARNING: DeadCode

Dead code

AbstractLineStyleProvider.java :

364 : if (Debug.syntaxHighlighting && !handled) {

2. WARNING: DeadCode

Dead code

AbstractLineStyleProvider.java :

364 : if (Debug.syntaxHighlighting && !handled) { System.out.println("not handled in prepareRegions"); //$NON-NLS-1$ }

Source File: org/eclipse/wst/sse/ui/internal/provisional/style/Highlighter.java
1. WARNING: DeadCode

Dead code

Highlighter.java :

289 : if (LEFT_STYLES_SIZE + MIDDLE_STYLES_SIZE + RIGHT_STYLES_SIZE > MAX_NUMBER_STYLES) { throw new IllegalStateException("Highligher constants are not defined correctly"); //$NON-NLS-1$ }

2. WARNING: DeadCode

Dead code

Highlighter.java :

784 : if (Debug.syntaxHighlighting && !handled) {

3. WARNING: DeadCode

Dead code

Highlighter.java :

784 : if (Debug.syntaxHighlighting && !handled) { System.out.println("Did not handle highlighting in Highlighter inner while"); //$NON-NLS-1$ }