Compiler Report

Compiler: Eclipse Java Compiler Version: 0.868, 3.4.0 release candidate-2

Number of source files: 153 Number of classfiles: 218

Problems: 82 (Errors: 0 Warnings: 82 )

Source File: org/eclipse/wst/jsdt/core/tests/compiler/JSDTTestAll.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.tests.compiler.regression.BasicErrorTests is never used

JSDTTestAll.java :

16 : import org.eclipse.wst.jsdt.core.tests.compiler.regression.BasicErrorTests;

2. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.tests.junit.extension.TestCase is never used

JSDTTestAll.java :

20 : import org.eclipse.wst.jsdt.core.tests.junit.extension.TestCase;

3. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.tests.util.AbstractCompilerTest is never used

JSDTTestAll.java :

21 : import org.eclipse.wst.jsdt.core.tests.util.AbstractCompilerTest;

Source File: org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceUnit.java
1. WARNING: UnusedPrivateField

The field SourceUnit.defaultConstructor is never read locally

SourceUnit.java :

39 : private String defaultConstructor;

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/ASTImplTests.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.internal.compiler.classfmt.ClassFileConstants is never used

ASTImplTests.java :

35 : import org.eclipse.wst.jsdt.internal.compiler.classfmt.ClassFileConstants;

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/AbstractRegressionTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable sourceFile is never read

AbstractRegressionTest.java :

1379 : String sourceFile = testFiles[0];

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicErrorTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicErrorTests.java :

22 : CompilationUnitDeclaration declaration = this.runParseTest(

2. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicErrorTests.java :

39 : CompilationUnitDeclaration declaration = this.runParseTest(

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicJsdocTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

22 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

2. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

40 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

3. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

75 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

4. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

92 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

5. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

109 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

6. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

127 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

7. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

145 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

8. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

163 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

9. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicJsdocTests.java :

181 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicParserTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicParserTests.java :

22 : CompilationUnitDeclaration declaration = this.runParseTest(

2. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicParserTests.java :

32 : CompilationUnitDeclaration declaration = this.runParseTest(

3. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicParserTests.java :

45 : CompilationUnitDeclaration declaration = this.runParseTest(

4. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

BasicParserTests.java :

63 : CompilationUnitDeclaration declaration = this.runParseTest(

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicResolveTests.java
1. WARNING: UnusedImport

The import java.util.HashMap is never used

BasicResolveTests.java :

13 : import java.util.HashMap;

2. WARNING: UnusedImport

The import java.util.Map is never used

BasicResolveTests.java :

14 : import java.util.Map;

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/GenericTypeTest.java
1. WARNING: UnusedImport

The import java.io.File is never used

GenericTypeTest.java :

13 : import java.io.File;

2. WARNING: UnusedImport

The import java.io.IOException is never used

GenericTypeTest.java :

14 : import java.io.IOException;

3. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.ToolFactory is never used

GenericTypeTest.java :

19 : import org.eclipse.wst.jsdt.core.ToolFactory;

4. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.tests.util.Util is never used

GenericTypeTest.java :

21 : import org.eclipse.wst.jsdt.core.tests.util.Util;

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/InferResolveTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable method is never read

InferResolveTests.java :

81 : InferredMethod method=type.addMethod(name, functionExpression.getMethodDeclaration(),false);

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

32 : CompilationUnitDeclaration declaration = this.runInferTest(

2. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

48 : CompilationUnitDeclaration declaration = this.runInferTest(

3. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

63 : CompilationUnitDeclaration declaration = this.runInferTest(

4. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

75 : CompilationUnitDeclaration declaration = this.runInferTest(

5. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

104 : CompilationUnitDeclaration declaration = this.runInferTest(

6. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

117 : CompilationUnitDeclaration declaration = this.runInferTest(

7. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

134 : CompilationUnitDeclaration declaration = this.runInferTest(

8. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

153 : CompilationUnitDeclaration declaration = this.runInferTest(

9. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

166 : CompilationUnitDeclaration declaration = this.runInferTest(

10. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

182 : CompilationUnitDeclaration declaration = this.runInferTest(

11. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

196 : CompilationUnitDeclaration declaration = this.runInferTest(

12. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

224 : CompilationUnitDeclaration declaration = this.runInferTest(

13. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

246 : CompilationUnitDeclaration declaration = this.runInferTest(

14. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

274 : CompilationUnitDeclaration declaration = this.runInferTest(

15. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

293 : CompilationUnitDeclaration declaration = this.runInferTest(

16. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

311 : CompilationUnitDeclaration declaration = this.runInferTest(

17. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

327 : CompilationUnitDeclaration declaration = this.runInferTest(

18. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

344 : CompilationUnitDeclaration declaration = this.runInferTest(

19. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

363 : CompilationUnitDeclaration declaration = this.runInferTest(

20. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

380 : CompilationUnitDeclaration declaration = this.runInferTest(

21. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

397 : CompilationUnitDeclaration declaration = this.runInferTest(

22. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

414 : CompilationUnitDeclaration declaration = this.runInferTest(

23. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

432 : CompilationUnitDeclaration declaration = this.runInferTest(

24. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

449 : CompilationUnitDeclaration declaration = this.runInferTest(

25. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

463 : CompilationUnitDeclaration declaration = this.runInferTest(

26. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

479 : CompilationUnitDeclaration declaration = this.runInferTest(

27. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

502 : CompilationUnitDeclaration declaration = this.runInferTest(

28. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

522 : CompilationUnitDeclaration declaration = this.runInferTest(

29. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

538 : CompilationUnitDeclaration declaration = this.runInferTest(

30. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

556 : CompilationUnitDeclaration declaration = this.runInferTest(

31. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

571 : CompilationUnitDeclaration declaration = this.runInferTest(

32. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

618 : CompilationUnitDeclaration declaration = this.runInferTest(

33. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

637 : CompilationUnitDeclaration declaration = this.runInferTest(

34. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

656 : CompilationUnitDeclaration declaration = this.runInferTest(

35. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

672 : CompilationUnitDeclaration declaration = this.runInferTest(

36. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

686 : CompilationUnitDeclaration declaration = this.runInferTest(

37. WARNING: LocalVariableIsNeverUsed

The local variable declaration is never read

InferTypesTests.java :

718 : CompilationUnitDeclaration declaration = this.runInferTest(

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/InnerEmulationTest.java
1. WARNING: UnusedImport

The import java.io.IOException is never used

InnerEmulationTest.java :

14 : import java.io.IOException;

2. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.ToolFactory is never used

InnerEmulationTest.java :

18 : import org.eclipse.wst.jsdt.core.ToolFactory;

3. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.tests.util.Util is never used

InnerEmulationTest.java :

19 : import org.eclipse.wst.jsdt.core.tests.util.Util;

4. WARNING: LocalVariableIsNeverUsed

The local variable options is never read

InnerEmulationTest.java :

4791 : CompilerOptions options = new CompilerOptions(getCompilerOptions());

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/Requestor.java
1. WARNING: UnusedPrivateField

The field Requestor.generateOutput is never read locally

Requestor.java :

29 : private boolean generateOutput;

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/ScannerTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable results is never read

ScannerTest.java :

1174 : String results = String.valueOf(characters);

2. WARNING: LocalVariableIsNeverUsed

The local variable results is never read

ScannerTest.java :

1193 : String results = String.valueOf(characters);

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/SerialVersionUIDTests.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.internal.compiler.impl.CompilerOptions is never used

SerialVersionUIDTests.java :

19 : import org.eclipse.wst.jsdt.internal.compiler.impl.CompilerOptions;

Source File: org/eclipse/wst/jsdt/core/tests/future/compiler/regression/CastTest.java
1. WARNING: UnusedImport

The import java.io.File is never used

CastTest.java :

13 : import java.io.File;

2. WARNING: UnusedImport

The import java.io.IOException is never used

CastTest.java :

14 : import java.io.IOException;

3. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.ToolFactory is never used

CastTest.java :

19 : import org.eclipse.wst.jsdt.core.ToolFactory;

4. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.tests.util.Util is never used

CastTest.java :

21 : import org.eclipse.wst.jsdt.core.tests.util.Util;

Source File: org/eclipse/wst/jsdt/core/tests/util/Util.java
1. WARNING: DiscouragedReference

Discouraged access: The type Resource is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/eclipse/plugins/org.eclipse.core.resources_3.4.2.R34x_v20090126.jar

Util.java :

19 : import org.eclipse.core.internal.resources.Resource;

2. WARNING: UnusedImport

The import org.eclipse.core.internal.resources.Resource is never used

Util.java :

19 : import org.eclipse.core.internal.resources.Resource;

3. WARNING: UnusedImport

The import org.eclipse.core.runtime.Platform is never used

Util.java :

25 : import org.eclipse.core.runtime.Platform;

4. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.JavaScriptCore is never used

Util.java :

26 : import org.eclipse.wst.jsdt.core.JavaScriptCore;

5. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

Util.java :

678 : URL resource = clazz.getClassLoader().getResource(inputName);