Compiler Report

Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1

Number of source files: 1189 Number of classfiles: 1437

Problems: 210 (Errors: 0 Warnings: 210 )

Source File: org/eclipse/wst/jsdt/core/JavaScriptCore.java
1. WARNING: UnusedImport

The import org.eclipse.core.resources.IResourceChangeEvent is never used

JavaScriptCore.java :

83 : import org.eclipse.core.resources.IResourceChangeEvent;

Source File: org/eclipse/wst/jsdt/core/dom/ASTConverter.java
1. WARNING: LocalVariableIsNeverUsed

The local variable local is never read

ASTConverter.java :

320 : org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration local = (org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration) stmts[index];

2. WARNING: LocalVariableIsNeverUsed

The local variable indexInAnnotations is never read

ASTConverter.java :

4248 : int indexInAnnotations = 0;

3. WARNING: LocalVariableIsNeverUsed

The local variable annotations is never read

ASTConverter.java :

4372 : org.eclipse.wst.jsdt.internal.compiler.ast.Annotation[] annotations = argument.annotations;

4. WARNING: LocalVariableIsNeverUsed

The local variable indexInAnnotations is never read

ASTConverter.java :

4373 : int indexInAnnotations = 0;

5. WARNING: LocalVariableIsNeverUsed

The local variable annotations is never read

ASTConverter.java :

4439 : org.eclipse.wst.jsdt.internal.compiler.ast.Annotation[] annotations = localDeclaration.annotations;

6. WARNING: LocalVariableIsNeverUsed

The local variable indexInAnnotations is never read

ASTConverter.java :

4440 : int indexInAnnotations = 0;

7. WARNING: LocalVariableIsNeverUsed

The local variable annotations is never read

ASTConverter.java :

4533 : org.eclipse.wst.jsdt.internal.compiler.ast.Annotation[] annotations = localDeclaration.annotations;

8. WARNING: LocalVariableIsNeverUsed

The local variable indexInAnnotations is never read

ASTConverter.java :

4534 : int indexInAnnotations = 0;

9. WARNING: LocalVariableIsNeverUsed

The local variable annotations is never read

ASTConverter.java :

4606 : org.eclipse.wst.jsdt.internal.compiler.ast.Annotation[] annotations = localDeclaration.annotations;

10. WARNING: LocalVariableIsNeverUsed

The local variable indexInAnnotations is never read

ASTConverter.java :

4607 : int indexInAnnotations = 0;

Source File: org/eclipse/wst/jsdt/core/infer/InferEngine.java
1. WARNING: NullLocalVariableReference

Null pointer access: The variable toType can only be null at this location

InferEngine.java :

1347 : toType.methods=inClass.methods;

Source File: org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java
1. WARNING: UnusedPrivateMethod

The method computeTargetedElement(CompletionOnAnnotationOfType) from the type CompletionEngine is never used locally

CompletionEngine.java :

2696 : private long computeTargetedElement(CompletionOnAnnotationOfType fakeNode) {

2. WARNING: UnusedPrivateMethod

The method findAnnotationAttributes(char[], MemberValuePair[], ReferenceBinding) from the type CompletionEngine is never used locally

CompletionEngine.java :

2746 : private void findAnnotationAttributes(char[] token, MemberValuePair[] attributesFound, ReferenceBinding annotation) {

3. WARNING: UnusedPrivateMethod

The method findImportsOfStaticFields(char[], ReferenceBinding) from the type CompletionEngine is never used locally

CompletionEngine.java :

4480 : private void findImportsOfStaticFields(char[] fieldName, ReferenceBinding ref) {

4. WARNING: UnusedPrivateMethod

The method findImportsOfStaticMethods(char[], ReferenceBinding) from the type CompletionEngine is never used locally

CompletionEngine.java :

4536 : private void findImportsOfStaticMethods(char[] methodName, ReferenceBinding ref) {

5. WARNING: UnusedPrivateMethod

The method findLocalMethodsOfStaticImports(char[], MethodBinding[], Scope, ObjectVector, ReferenceBinding, InvocationSite) from the type CompletionEngine is never used locally

CompletionEngine.java :

5960 : private void findLocalMethodsOfStaticImports( char[] methodName, MethodBinding[] methods, Scope scope, ObjectVector methodsFound, ReferenceBinding receiverType, InvocationSite invocationSite) {

6. WARNING: DeadCode

Dead code

CompletionEngine.java :

7127 : if (token.length == 0 && NO_TYPE_COMPLETION_ON_EMPTY_TOKEN) { if(!assistNodeIsConstructor && (this.assistNodeInJavadoc & CompletionOnJavadoc.EXCEPTION) == 0) { return; } skip = true; }

7. WARNING: LocalVariableIsNeverUsed

The local variable isStatic is never read

CompletionEngine.java :

8160 : boolean isStatic = true;

Source File: org/eclipse/wst/jsdt/internal/codeassist/SelectionEngine.java
1. WARNING: UnusedPrivateMethod

The method selectStaticFieldFromStaticImport(CompilationUnitDeclaration, char[], ReferenceBinding) from the type SelectionEngine is never used locally

SelectionEngine.java :

912 : private void selectStaticFieldFromStaticImport(CompilationUnitDeclaration parsedUnit, char[] lastToken, ReferenceBinding ref) {

2. WARNING: UnusedPrivateMethod

The method selectStaticMethodFromStaticImport(CompilationUnitDeclaration, char[], ReferenceBinding) from the type SelectionEngine is never used locally

SelectionEngine.java :

934 : private void selectStaticMethodFromStaticImport(CompilationUnitDeclaration parsedUnit, char[] lastToken, ReferenceBinding ref) {

Source File: org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionJavadocParser.java
1. WARNING: LocalVariableIsNeverUsed

The local variable types is never read

CompletionJavadocParser.java :

476 : TypeReference[]types=null;

Source File: org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionParser.java
1. WARNING: DeadCode

Dead code

CompletionParser.java :

689 : if(false){// Not Possible selector == THIS_CONSTRUCTOR || selector == SUPER_CONSTRUCTOR) { ExplicitConstructorCall call = new ExplicitConstructorCall( (selector == THIS_CONSTRUCTOR) ? ExplicitConstructorCall.This : ExplicitConstructorCall.Super ); call.arguments = new Expression[] {expression}; call.sourceStart = expression.sourceStart; call.sourceEnd = expression.sourceEnd; assistNodeParent = call; } else {

2. WARNING: DeadCode

Dead code

CompletionParser.java :

3618 : if(false){//!isInsideMethod()) { if (isInsideFieldInitialization()) { return new CompletionOnSingleNameReference( assistName, position, new char[][]{Keywords.FALSE, Keywords.TRUE}, false, isInsideAttributeValue()); } return new CompletionOnSingleNameReference(assistName, position, isInsideAttributeValue()); } else {

Source File: org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionScanner.java
1. WARNING: DeadCode

Dead code

CompletionScanner.java :

784 : this.eofPosition=this.cursorLocation+1;

Source File: org/eclipse/wst/jsdt/internal/compiler/SourceElementParser.java
1. WARNING: LocalVariableIsNeverUsed

The local variable packageName is never read

SourceElementParser.java :

1047 : char[][] packageName = parsedUnit.compilationResult.getPackageName();

Source File: org/eclipse/wst/jsdt/internal/compiler/ast/AllocationExpression.java
1. WARNING: LocalVariableIsNeverUsed

The local variable argHasError is never read

AllocationExpression.java :

255 : boolean argHasError = false;

Source File: org/eclipse/wst/jsdt/internal/compiler/ast/Annotation.java
1. WARNING: LocalVariableIsNeverUsed

The local variable foundValue is never read

Annotation.java :

265 : boolean foundValue = false;

Source File: org/eclipse/wst/jsdt/internal/compiler/ast/Block.java
1. WARNING: DeadCode

Dead code

Block.java :

80 : (!JavaScriptCore.IS_ECMASCRIPT4 || explicitDeclarations == 0)

2. WARNING: DeadCode

Dead code

Block.java :

82 : : new BlockScope(upperScope, explicitDeclarations);

Source File: org/eclipse/wst/jsdt/internal/compiler/ast/Clinit.java
1. WARNING: UnusedPrivateField

The field Clinit.assertionSyntheticFieldBinding is never read locally

Clinit.java :

33 : private FieldBinding assertionSyntheticFieldBinding = null;

2. WARNING: UnusedPrivateField

The field Clinit.classLiteralSyntheticField is never read locally

Clinit.java :

34 : private FieldBinding classLiteralSyntheticField = null;

Source File: org/eclipse/wst/jsdt/internal/compiler/ast/SwitchStatement.java
1. WARNING: DeadCode

Dead code

SwitchStatement.java :

172 : scope = !JavaScriptCore.IS_ECMASCRIPT4 ? upperScope : new BlockScope(upperScope);

Source File: org/eclipse/wst/jsdt/internal/compiler/ast/TryStatement.java
1. WARNING: DeadCode

Dead code

TryStatement.java :

354 : finallyScope = JavaScriptCore.IS_ECMASCRIPT4 ? new BlockScope(this.scope, false) : this.scope; // don't add it yet to parent scope

2. WARNING: DeadCode

Dead code

TryStatement.java :

408 : if (JavaScriptCore.IS_ECMASCRIPT4 && finallyScope != null){

3. WARNING: DeadCode

Dead code

TryStatement.java :

408 : if (JavaScriptCore.IS_ECMASCRIPT4 && finallyScope != null){ finallyScope.shiftScopes[i+1] = catchScope; }

4. WARNING: DeadCode

Dead code

TryStatement.java :

435 : if (JavaScriptCore.IS_ECMASCRIPT4 && finallyScope != null){

5. WARNING: DeadCode

Dead code

TryStatement.java :

435 : if (JavaScriptCore.IS_ECMASCRIPT4 && finallyScope != null){ // add finallyScope as last subscope, so it can be shifted behind try/catch subscopes. // the shifting is necessary to achieve no overlay in between the finally scope and its // sibling in term of local variable positions. this.scope.addSubscope(finallyScope); }

Source File: org/eclipse/wst/jsdt/internal/compiler/ast/TypeDeclaration.java
1. WARNING: LocalVariableIsNeverUsed

The local variable old is never read

TypeDeclaration.java :

854 : boolean old = this.staticInitializerScope.insideTypeAnnotation;

2. WARNING: LocalVariableIsNeverUsed

The local variable hasEnumConstants is never read

TypeDeclaration.java :

929 : boolean hasEnumConstants = false;

3. WARNING: LocalVariableIsNeverUsed

The local variable hasEnumConstantsWithoutBody is never read

TypeDeclaration.java :

930 : boolean hasEnumConstantsWithoutBody = false;

Source File: org/eclipse/wst/jsdt/internal/compiler/flow/NullInfoRegistry.java
1. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

127 : if (coverageTestFlag && coverageTestId == 290) {

2. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

127 : if (coverageTestFlag && coverageTestId == 290) { this.nullBit1 = 0; }

3. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

152 : if (coverageTestFlag && coverageTestId == 300) {

4. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

152 : if (coverageTestFlag && coverageTestId == 300) { this.extra[5][vectorIndex] = ~0; }

5. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

168 : if (coverageTestFlag && coverageTestId == 290) {

6. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

168 : if (coverageTestFlag && coverageTestId == 290) { this.nullBit1 = 0; }

7. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

193 : if (coverageTestFlag && coverageTestId == 300) {

8. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

193 : if (coverageTestFlag && coverageTestId == 300) { this.extra[5][vectorIndex] = ~0; }

9. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

210 : if (coverageTestFlag && coverageTestId == 290) {

10. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

210 : if (coverageTestFlag && coverageTestId == 290) { this.nullBit1 = 0; }

11. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

235 : if (coverageTestFlag && coverageTestId == 300) {

12. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

235 : if (coverageTestFlag && coverageTestId == 300) { this.extra[5][vectorIndex] = ~0; }

13. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

251 : if (coverageTestFlag && coverageTestId == 290) {

14. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

251 : if (coverageTestFlag && coverageTestId == 290) { this.nullBit1 = 0; }

15. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

276 : if (coverageTestFlag && coverageTestId == 300) {

16. WARNING: DeadCode

Dead code

NullInfoRegistry.java :

276 : if (coverageTestFlag && coverageTestId == 300) { this.extra[5][vectorIndex] = ~0; }

Source File: org/eclipse/wst/jsdt/internal/compiler/flow/UnconditionalFlowInfo.java
1. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

115 : if (coverageTestFlag && coverageTestId == 1) {

2. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

115 : if (coverageTestFlag && coverageTestId == 1) { this.nullBit4 = ~0; }

3. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

148 : if (coverageTestFlag && coverageTestId == 2) {

4. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

148 : if (coverageTestFlag && coverageTestId == 2) { this.nullBit4 = ~0; }

5. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

170 : if (coverageTestFlag && coverageTestId == 3) {

6. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

170 : if (coverageTestFlag && coverageTestId == 3) { throw new AssertionFailedException("COVERAGE 3"); //$NON-NLS-1$ }

7. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

176 : if (coverageTestFlag && coverageTestId == 4) {

8. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

176 : if (coverageTestFlag && coverageTestId == 4) { throw new AssertionFailedException("COVERAGE 4"); //$NON-NLS-1$ }

9. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

196 : if (coverageTestFlag && coverageTestId == 5) {

10. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

196 : if (coverageTestFlag && coverageTestId == 5) { this.extra[5][otherLength - 1] = ~0; }

11. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

204 : if (coverageTestFlag && coverageTestId == 6) {

12. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

204 : if (coverageTestFlag && coverageTestId == 6) { throw new AssertionFailedException("COVERAGE 6"); //$NON-NLS-1$ }

13. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

259 : if (coverageTestFlag && coverageTestId == 7) {

14. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

259 : if (coverageTestFlag && coverageTestId == 7) { this.extra[5][i] = ~0; }

15. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

267 : if (coverageTestFlag && coverageTestId == 8) {

16. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

267 : if (coverageTestFlag && coverageTestId == 8) { this.extra[5][i] = ~0; }

17. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

372 : if (coverageTestFlag && coverageTestId == 9) {

18. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

372 : if (coverageTestFlag && coverageTestId == 9) { this.nullBit4 = ~0; }

19. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

385 : if (coverageTestFlag && coverageTestId == 10) {

20. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

385 : if (coverageTestFlag && coverageTestId == 10) { this.nullBit4 = ~0; }

21. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

400 : if (coverageTestFlag && coverageTestId == 11) {

22. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

400 : if (coverageTestFlag && coverageTestId == 11) { throw new AssertionFailedException("COVERAGE 11"); //$NON-NLS-1$ }

23. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

415 : if (coverageTestFlag && coverageTestId == 12) {

24. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

415 : if (coverageTestFlag && coverageTestId == 12) { throw new AssertionFailedException("COVERAGE 12"); //$NON-NLS-1$ }

25. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

448 : if (coverageTestFlag && coverageTestId == 13) {

26. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

448 : if (coverageTestFlag && coverageTestId == 13) { this.nullBit4 = ~0; }

27. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

462 : if (coverageTestFlag && coverageTestId == 14) {

28. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

462 : if (coverageTestFlag && coverageTestId == 14) { this.extra[5][i] = ~0; }

29. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

978 : if (coverageTestFlag && coverageTestId == 15) {

30. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

978 : if (coverageTestFlag && coverageTestId == 15) { this.nullBit4 = ~0; }

31. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

991 : if (coverageTestFlag && coverageTestId == 16) {

32. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

991 : if (coverageTestFlag && coverageTestId == 16) { throw new AssertionFailedException("COVERAGE 16"); //$NON-NLS-1$ }

33. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1004 : if (coverageTestFlag && coverageTestId == 17) {

34. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1004 : if (coverageTestFlag && coverageTestId == 17) { throw new AssertionFailedException("COVERAGE 17"); //$NON-NLS-1$ }

35. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1030 : if (coverageTestFlag && coverageTestId == 18) {

36. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1030 : if (coverageTestFlag && coverageTestId == 18) { this.extra[5][vectorIndex] = ~0; }

37. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1064 : if (coverageTestFlag && coverageTestId == 19) {

38. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1064 : if (coverageTestFlag && coverageTestId == 19) { this.nullBit4 = ~0; }

39. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1078 : if (coverageTestFlag && coverageTestId == 20) {

40. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1078 : if (coverageTestFlag && coverageTestId == 20) { throw new AssertionFailedException("COVERAGE 20"); //$NON-NLS-1$ }

41. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1091 : if (coverageTestFlag && coverageTestId == 21) {

42. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1091 : if (coverageTestFlag && coverageTestId == 21) { throw new AssertionFailedException("COVERAGE 21"); //$NON-NLS-1$ }

43. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1185 : if (coverageTestFlag && coverageTestId == 22) {

44. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1185 : if (coverageTestFlag && coverageTestId == 22) { this.nullBit1 = 0; }

45. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1197 : if (coverageTestFlag && coverageTestId == 23) {

46. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1197 : if (coverageTestFlag && coverageTestId == 23) { this.extra[2][vectorIndex] = 0; }

47. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1218 : if (coverageTestFlag && coverageTestId == 24) {

48. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1218 : if (coverageTestFlag && coverageTestId == 24) { this.nullBit4 = ~0; }

49. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1230 : if (coverageTestFlag && coverageTestId == 25) {

50. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1230 : if (coverageTestFlag && coverageTestId == 25) { this.extra[5][vectorIndex] = ~0; }

51. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1258 : if (coverageTestFlag && coverageTestId == 26) {

52. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1258 : if (coverageTestFlag && coverageTestId == 26) { this.nullBit4 = 0; }

53. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1270 : if (coverageTestFlag && coverageTestId == 27) {

54. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1270 : if (coverageTestFlag && coverageTestId == 27) { this.extra[5][vectorIndex] = 0; }

55. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1279 : if (coverageTestFlag && coverageTestId == 28) {

56. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1279 : if (coverageTestFlag && coverageTestId == 28) { throw new AssertionFailedException("COVERAGE 28"); //$NON-NLS-1$ }

57. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1285 : if (coverageTestFlag && coverageTestId == 29) {

58. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1285 : if (coverageTestFlag && coverageTestId == 29) { throw new AssertionFailedException("COVERAGE 29"); //$NON-NLS-1$ }

59. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1334 : if (coverageTestFlag && coverageTestId == 30) {

60. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1334 : if (coverageTestFlag && coverageTestId == 30) { this.nullBit4 = ~0; }

61. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1343 : if (coverageTestFlag && coverageTestId == 31) {

62. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1343 : if (coverageTestFlag && coverageTestId == 31) { this.nullBit4 = ~0; }

63. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1352 : if (coverageTestFlag && coverageTestId == 32) {

64. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1352 : if (coverageTestFlag && coverageTestId == 32) { this.nullBit4 = ~0; }

65. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1379 : if (coverageTestFlag && coverageTestId == 33) {

66. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1379 : if (coverageTestFlag && coverageTestId == 33) { throw new AssertionFailedException("COVERAGE 33"); //$NON-NLS-1$ }

67. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1387 : if (coverageTestFlag && coverageTestId == 34) {

68. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1387 : if (coverageTestFlag && coverageTestId == 34) { throw new AssertionFailedException("COVERAGE 34"); //$NON-NLS-1$ }

69. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1394 : if (coverageTestFlag && coverageTestId == 35) {

70. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1394 : if (coverageTestFlag && coverageTestId == 35) { throw new AssertionFailedException("COVERAGE 35"); //$NON-NLS-1$ }

71. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1409 : if (coverageTestFlag && coverageTestId == 36) {

72. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1409 : if (coverageTestFlag && coverageTestId == 36) { throw new AssertionFailedException("COVERAGE 36"); //$NON-NLS-1$ }

73. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1468 : if (coverageTestFlag && coverageTestId == 37) {

74. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1468 : if (coverageTestFlag && coverageTestId == 37) { this.extra[5][i] = ~0; }

75. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1481 : if (coverageTestFlag && coverageTestId == 38) {

76. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1481 : if (coverageTestFlag && coverageTestId == 38) { this.extra[5][i] = ~0; }

77. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1495 : if (coverageTestFlag && coverageTestId == 39) {

78. WARNING: DeadCode

Dead code

UnconditionalFlowInfo.java :

1495 : if (coverageTestFlag && coverageTestId == 39) { this.extra[5][i] = ~0; }

Source File: org/eclipse/wst/jsdt/internal/compiler/lookup/ClassScope.java
1. WARNING: UnusedPrivateMethod

The method connectSuperInterfaces() from the type ClassScope is never used locally

ClassScope.java :

898 : private boolean connectSuperInterfaces() {

Source File: org/eclipse/wst/jsdt/internal/compiler/lookup/FieldBinding.java
1. WARNING: DeadCode

Dead code

FieldBinding.java :

69 : SourceTypeBinding invocationType = scope.enclosingSourceType();

Source File: org/eclipse/wst/jsdt/internal/compiler/lookup/MetatdataTypeBinding.java
1. WARNING: LocalVariableIsNeverUsed

The local variable previousBinding is never read

MetatdataTypeBinding.java :

79 : FieldBinding previousBinding = (FieldBinding) knownFieldNames.get(fieldName);

2. WARNING: LocalVariableIsNeverUsed

The local variable argCount is never read

MetatdataTypeBinding.java :

305 : int argCount = argumentTypes.length;

3. WARNING: DeadCode

Dead code

MetatdataTypeBinding.java :

310 : for (int imethod = (int)range, end = (int)(range >> 32); imethod <= end; imethod++) {

4. WARNING: DeadCode

Dead code

MetatdataTypeBinding.java :

338 : for (int imethod = (int)range, end = (int)(range >> 32); imethod <= end; imethod++) {

5. WARNING: DeadCode

Dead code

MetatdataTypeBinding.java :

368 : for (int imethod = (int)range, end = (int)(range >> 32); imethod <= end; imethod++) {

6. WARNING: DeadCode

Dead code

MetatdataTypeBinding.java :

439 : if (JavaScriptCore.IS_ECMASCRIPT4 && isInterface()) {

7. WARNING: DeadCode

Dead code

MetatdataTypeBinding.java :

439 : if (JavaScriptCore.IS_ECMASCRIPT4 && isInterface()) { if (this.superInterfaces.length == 1) { if (refScope != null) refScope.recordTypeReference(this.superInterfaces[0]); return this.superInterfaces[0].getExactMethod(selector, argumentTypes, refScope); } /* BC- Added cycle check BUG 200501 */ } else if (this.superclass != null && this.superclass!=this) {

8. WARNING: LocalVariableIsNeverUsed

The local variable isEnumSpecialMethod is never read

MetatdataTypeBinding.java :

728 : boolean isEnumSpecialMethod = isEnum()

Source File: org/eclipse/wst/jsdt/internal/compiler/lookup/MultipleTypeBinding.java
1. WARNING: LocalVariableIsNeverUsed

The local variable name is never read

MultipleTypeBinding.java :

27 : char [][] name={};

Source File: org/eclipse/wst/jsdt/internal/compiler/lookup/Scope.java
1. WARNING: DeadCode

Dead code

Scope.java :

938 : if (JavaScriptCore.IS_ECMASCRIPT4 && interfacesToVisit != null) {

2. WARNING: DeadCode

Dead code

Scope.java :

938 : if (JavaScriptCore.IS_ECMASCRIPT4 && interfacesToVisit != null) { ProblemFieldBinding ambiguous = null; done : for (int i = 0; i < nextPosition; i++) { ReferenceBinding anInterface = interfacesToVisit[i]; unitScope.recordTypeReference(anInterface); if ((field = anInterface.getField(fieldName, true /*resolve*/)) != null) { if (visibleField == null) { visibleField = field; } else { ambiguous = new ProblemFieldBinding(visibleField /* closest match*/, visibleField.declaringClass, fieldName, ProblemReasons.Ambiguous); break done; } } else { ReferenceBinding[] itsInterfaces = anInterface.superInterfaces(); if (itsInterfaces != null && itsInterfaces != Binding.NO_SUPERINTERFACES) { int itsLength = itsInterfaces.length; if (nextPosition + itsLength >= interfacesToVisit.length) System.arraycopy(interfacesToVisit, 0, interfacesToVisit = new ReferenceBinding[nextPosition + itsLength + 5], 0, nextPosition); nextInterface : for (int a = 0; a < itsLength; a++) { ReferenceBinding next = itsInterfaces[a]; for (int b = 0; b < nextPosition; b++) if (next == interfacesToVisit[b]) continue nextInterface; interfacesToVisit[nextPosition++] = next; } } } } if (ambiguous != null) return ambiguous; }

3. WARNING: LocalVariableIsNeverUsed

The local variable foundInImport is never read

Scope.java :

2812 : boolean foundInImport = false;

4. WARNING: LocalVariableIsNeverUsed

The local variable type is never read

Scope.java :

2813 : Binding type = null;

Source File: org/eclipse/wst/jsdt/internal/compiler/lookup/SourceTypeBinding.java
1. WARNING: LocalVariableIsNeverUsed

The local variable argCount is never read

SourceTypeBinding.java :

876 : int argCount = argumentTypes.length;

2. WARNING: DeadCode

Dead code

SourceTypeBinding.java :

881 : for (int imethod = (int)range, end = (int)(range >> 32); imethod <= end; imethod++) {

3. WARNING: DeadCode

Dead code

SourceTypeBinding.java :

903 : for (int imethod = (int)range, end = (int)(range >> 32); imethod <= end; imethod++) {

4. WARNING: DeadCode

Dead code

SourceTypeBinding.java :

941 : for (int imethod = (int)range, end = (int)(range >> 32); imethod <= end; imethod++) {

5. WARNING: DeadCode

Dead code

SourceTypeBinding.java :

1007 : if (JavaScriptCore.IS_ECMASCRIPT4 && isInterface()) {

6. WARNING: DeadCode

Dead code

SourceTypeBinding.java :

1007 : if (JavaScriptCore.IS_ECMASCRIPT4 && isInterface()) { if (this.superInterfaces.length == 1) { if (refScope != null) refScope.recordTypeReference(this.superInterfaces[0]); return this.superInterfaces[0].getExactMethod(selector, argumentTypes, refScope); } /* BC- Added cycle check BUG 200501 */ } else if (this.superclass != null && this.superclass!=this) {

7. WARNING: LocalVariableIsNeverUsed

The local variable isEnumSpecialMethod is never read

SourceTypeBinding.java :

1433 : boolean isEnumSpecialMethod = isEnum()

Source File: org/eclipse/wst/jsdt/internal/compiler/parser/Parser.java
1. WARNING: DeadCode

Dead code

Parser.java :

1103 : if (false){ // experimenting restart recovery from scratch this.compilationUnit.currentPackage = null; this.compilationUnit.imports = null; this.compilationUnit.types = null; this.compilationUnit.statements = null; this.currentToken = 0; this.listLength = 0; this.listTypeParameterLength = 0; this.endPosition = 0; this.endStatementPosition = 0; return element; }

2. WARNING: DeadCode

Dead code

Parser.java :

4569 : } else { this.lastCheckPoint = md.sourceStart; this.restartRecovery = true; }

3. WARNING: DeadCode

Dead code

Parser.java :

4628 : || (this.scanner.getLineNumber(md.returnType.sourceStart) == this.scanner.getLineNumber(md.sourceStart))){

4. WARNING: DeadCode

Dead code

Parser.java :

4636 : } else { this.lastCheckPoint = md.sourceStart; this.restartRecovery = true; }

5. WARNING: UnusedPrivateMethod

The method consumeForInitExpression() from the type Parser is never used locally

Parser.java :

6305 : private void consumeForInitExpression() {

6. WARNING: UnusedPrivateMethod

The method comsumeDUMMY() from the type Parser is never used locally

Parser.java :

6422 : private void comsumeDUMMY() {

7. WARNING: LocalVariableIsNeverUsed

The local variable prevAct is never read

Parser.java :

8768 : int prevAct = START_STATE,

8. WARNING: DeadCode

Dead code

Parser.java :

8919 : if (DEBUG_AUTOMATON && act <= NUM_RULES) {

9. WARNING: DeadCode

Dead code

Parser.java :

8919 : if (DEBUG_AUTOMATON && act <= NUM_RULES) { System.out.print(" - "); //$NON-NLS-1$ }

10. WARNING: DeadCode

Dead code

Parser.java :

9149 : System.out.println("parsing "+new String(sourceUnit.getFileName())); //$NON-NLS-1$

11. WARNING: UnusedPrivateMethod

The method visit(TypeDeclaration, Scope) from the type MethodVisitor is never used locally

Parser.java :

9652 : public boolean visit(TypeDeclaration typeDeclaration, Scope scope) {

12. WARNING: DeadCode

Dead code

Parser.java :

9767 : { MethodVisitor methodVisitor = new MethodVisitor(); TypeVisitor typeVisitor = new TypeVisitor(); methodVisitor.typeVisitor = typeVisitor; typeVisitor.methodVisitor = methodVisitor; if(this.referenceContext instanceof AbstractMethodDeclaration) { ((AbstractMethodDeclaration)this.referenceContext).traverse(methodVisitor, (Scope)null); }else if(this.referenceContext instanceof CompilationUnitDeclaration) { CompilationUnitDeclaration compilationUnitDeclaration=(CompilationUnitDeclaration)this.referenceContext; if (compilationUnitDeclaration.statements!=null) for (int i = 0; i < compilationUnitDeclaration.statements.length; i++) { if( compilationUnitDeclaration.statements[i] instanceof AbstractMethodDeclaration) ((AbstractMethodDeclaration)compilationUnitDeclaration.statements[i] ).traverse(methodVisitor, (Scope)null); } } else if(this.referenceContext instanceof TypeDeclaration) { TypeDeclaration typeContext = (TypeDeclaration)this.referenceContext; int length = typeContext.fields.length; for (int i = 0; i < length; i++) { final FieldDeclaration fieldDeclaration = typeContext.fields[i]; switch(fieldDeclaration.getKind()) { case AbstractVariableDeclaration.INITIALIZER: methodVisitor.enclosingType = typeContext; ((Initializer) fieldDeclaration).traverse(methodVisitor, (MethodScope)null); break; } } } }

13. WARNING: DeadCode

Dead code

Parser.java :

10057 : } else { return false; }

Source File: org/eclipse/wst/jsdt/internal/compiler/parser/SourceTypeConverter.java
1. WARNING: DeadCode

Dead code

SourceTypeConverter.java :

164 : int start = topLevelTypeInfo.getNameSourceStart();

Source File: org/eclipse/wst/jsdt/internal/compiler/problem/ProblemReporter.java
1. WARNING: LocalVariableIsNeverUsed

The local variable shownMethod is never read

ProblemReporter.java :

3296 : MethodBinding shownMethod = null;

2. WARNING: UnusedPrivateMethod

The method parameterBoundAsString(TypeVariableBinding, boolean) from the type ProblemReporter is never used locally

ProblemReporter.java :

4267 : private String parameterBoundAsString(TypeVariableBinding typeVariable, boolean makeShort) {

Source File: org/eclipse/wst/jsdt/internal/core/ClassFile.java
1. WARNING: LocalVariableIsNeverUsed

The local variable resolveBindings is never read

ClassFile.java :

137 : boolean resolveBindings;

2. WARNING: LocalVariableIsNeverUsed

The local variable pkg is never read

ClassFile.java :

330 : JavaElement pkg = (JavaElement) getParent();

Source File: org/eclipse/wst/jsdt/internal/core/ClasspathEntry.java
1. WARNING: LocalVariableIsNeverUsed

The local variable potentialNestedOutput is never read

ClasspathEntry.java :

1316 : IPath potentialNestedOutput = null; // for error reporting purpose

2. WARNING: LocalVariableIsNeverUsed

The local variable disableCustomOutputLocations is never read

ClasspathEntry.java :

1319 : boolean disableCustomOutputLocations = JavaScriptCore.DISABLED.equals(javaProject.getOption(JavaScriptCore.CORE_ENABLE_CLASSPATH_MULTIPLE_OUTPUT_LOCATIONS, true));

3. WARNING: LocalVariableIsNeverUsed

The local variable prereqProject is never read

ClasspathEntry.java :

1708 : IJavaScriptProject prereqProject = JavaScriptCore.create(prereqProjectRsc);

Source File: org/eclipse/wst/jsdt/internal/core/ClasspathValidation.java
1. WARNING: DeadCode

Dead code

ClasspathValidation.java :

39 : JavaModelManager.PerProjectInfo perProjectInfo;

Source File: org/eclipse/wst/jsdt/internal/core/CompilationUnit.java
1. WARNING: LocalVariableIsNeverUsed

The local variable resolveBindings is never read

CompilationUnit.java :

157 : boolean resolveBindings;

Source File: org/eclipse/wst/jsdt/internal/core/DocumentContextFragmentRoot.java
1. WARNING: DeadCode

Dead code

DocumentContextFragmentRoot.java :

83 : if(DEBUG && !shown) {

2. WARNING: DeadCode

Dead code

DocumentContextFragmentRoot.java :

83 : if(DEBUG && !shown) { shown=false; IJavaScriptProject proj = getJavaScriptProject(); try { IIncludePathEntry[] entries = proj.getResolvedIncludepath(true); System.out.println("DocumentContextFragmentRoot ====>" +"Project Classpath : \n"); //$NON-NLS-1$ //$NON-NLS-2$ for(int i = 0;i<entries.length;i++) { System.out.println("\t" + entries[i].getPath()); //$NON-NLS-1$ } } catch (JavaScriptModelException ex) { // TODO Auto-generated catch block ex.printStackTrace(); } }

Source File: org/eclipse/wst/jsdt/internal/core/JavaModelManager.java
1. WARNING: LocalVariableIsNeverUsed

The local variable element is never read

JavaModelManager.java :

3009 : IJavaScriptElement element = (IJavaScriptElement)entry.getKey();

2. WARNING: DeadCode

Dead code

JavaModelManager.java :

3323 : else { // old code retained for performance comparisons // variables out.writeInt(this.variables.size()); Iterator iterator = this.variables.entrySet().iterator(); while (iterator.hasNext()) { Map.Entry entry = (Map.Entry) iterator.next(); String variableName = (String) entry.getKey(); out.writeUTF(variableName); IPath path = (IPath) entry.getValue(); out.writeUTF(path == null ? CP_ENTRY_IGNORE : path.toPortableString()); } // containers IJavaScriptProject[] projects = getJavaModel().getJavaScriptProjects(); int length = projects.length; out.writeInt(length); for (int i = 0; i < length; i++) { IJavaScriptProject project = projects[i]; // clone while iterating (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=59638) Map projectContainers = containerClone(project); out.writeUTF(project.getElementName()); if (projectContainers == null) { out.writeInt(0); continue; } HashMap containersToSave = new HashMap(); for (iterator = projectContainers.entrySet().iterator(); iterator.hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); IPath containerPath = (IPath) entry.getKey(); IJsGlobalScopeContainer container = (IJsGlobalScopeContainer) entry.getValue(); String containerString = null; try { if (container == null) { // container has not been initialized yet, use previous session value // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=73969) container = getPreviousSessionContainer(containerPath, project); } if (container != null) { IIncludePathEntry[] entries = container.getIncludepathEntries(); containerString = ((JavaProject)project).encodeClasspath( entries, null, false, null/*not interested in unknown elements*/); } } catch(JavaScriptModelException e){ // could not encode entry: will not persist Util.log(e, "Could not persist container " + containerPath + " for project " + project.getElementName()); //$NON-NLS-1$ //$NON-NLS-2$ } if (containerString != null) containersToSave.put(containerPath, containerString); } out.writeInt(containersToSave.size()); iterator = containersToSave.entrySet().iterator(); while (iterator.hasNext()) { Map.Entry entry = (Map.Entry) iterator.next(); IPath containerPath = (IPath) entry.getKey(); out.writeUTF(containerPath.toPortableString()); String containerString = (String) entry.getValue(); out.writeInt(containerString.length()); out.writeBytes(containerString); } } }

Source File: org/eclipse/wst/jsdt/internal/core/JavaProject.java
1. WARNING: DeadCode

Dead code

JavaProject.java :

655 : { // root = new JarPackageFragmentRoot(entryPath, this); }

2. WARNING: LocalVariableIsNeverUsed

The local variable rscPath is never read

JavaProject.java :

3094 : IFolder rscPath = this.project.getFolder(JavaProject.SHARED_PROPERTIES_DIRECTORY);

Source File: org/eclipse/wst/jsdt/internal/core/SearchableEnvironment.java
1. WARNING: DeadCode

Dead code

SearchableEnvironment.java :

78 : if (false){//this.checkAccessRestrictions) { this.searchScope = BasicSearchEngine .createJavaSearchScope(this.nameLookup.packageFragmentRoots ); } else {

Source File: org/eclipse/wst/jsdt/internal/core/builder/AbstractImageBuilder.java
1. WARNING: LocalVariableIsNeverUsed

The local variable segmentCount is never read

AbstractImageBuilder.java :

171 : final int segmentCount = sourceLocation.sourceFolder.getFullPath().segmentCount();

2. WARNING: LocalVariableIsNeverUsed

The local variable isOutputFolder is never read

AbstractImageBuilder.java :

173 : final boolean isOutputFolder = sourceLocation.sourceFolder.equals(outputFolder);

Source File: org/eclipse/wst/jsdt/internal/core/builder/IncrementalImageBuilder.java
1. WARNING: LocalVariableIsNeverUsed

The local variable definedTypeNames is never read

IncrementalImageBuilder.java :

322 : char[][] definedTypeNames = newState.getDefinedTypeNamesFor(typeLocator);

Source File: org/eclipse/wst/jsdt/internal/core/builder/NameEnvironment.java
1. WARNING: DeadCode

Dead code

NameEnvironment.java :

192 : if (target instanceof IResource) { IResource resource = (IResource) target; ClasspathLocation bLocation = null; // if (resource instanceof IFile) { // if (!(org.eclipse.wst.jsdt.internal.compiler.util.Util.isClassFileName(path.lastSegment()))) // continue nextEntry; // AccessRuleSet accessRuleSet = // (JavaScriptCore.IGNORE.equals(javaProject.getOption(JavaScriptCore.COMPILER_PB_FORBIDDEN_REFERENCE, true)) // && JavaScriptCore.IGNORE.equals(javaProject.getOption(JavaScriptCore.COMPILER_PB_DISCOURAGED_REFERENCE, true))) // ? null // : entry.getAccessRuleSet(); // bLocation = ClasspathLocation.forLibrary((IFile) resource, accessRuleSet); // } else if (resource instanceof IContainer) { // AccessRuleSet accessRuleSet = // (JavaScriptCore.IGNORE.equals(javaProject.getOption(JavaScriptCore.COMPILER_PB_FORBIDDEN_REFERENCE, true)) // && JavaScriptCore.IGNORE.equals(javaProject.getOption(JavaScriptCore.COMPILER_PB_DISCOURAGED_REFERENCE, true))) // ? null // : entry.getAccessRuleSet(); // bLocation = ClasspathLocation.forBinaryFolder((IContainer) target, false, accessRuleSet); // is library folder not output folder // } // bLocations.add(bLocation); if (binaryLocationsPerProject != null) { // normal builder mode IProject p = resource.getProject(); // can be the project being built ClasspathLocation[] existingLocations = (ClasspathLocation[]) binaryLocationsPerProject.get(p); if (existingLocations == null) { existingLocations = new ClasspathLocation[] {bLocation}; } else { int size = existingLocations.length; System.arraycopy(existingLocations, 0, existingLocations = new ClasspathLocation[size + 1], 0, size); existingLocations[size] = bLocation; } binaryLocationsPerProject.put(p, existingLocations); } } else if (target instanceof File) { if (!(org.eclipse.wst.jsdt.internal.compiler.util.Util.isClassFileName(path.lastSegment()))) continue nextEntry; AccessRuleSet accessRuleSet = (JavaScriptCore.IGNORE.equals(javaProject.getOption(JavaScriptCore.COMPILER_PB_FORBIDDEN_REFERENCE, true)) && JavaScriptCore.IGNORE.equals(javaProject.getOption(JavaScriptCore.COMPILER_PB_DISCOURAGED_REFERENCE, true))) ? null : entry.getAccessRuleSet(); bLocations.add(ClasspathLocation.forLibrary(path.toString(), accessRuleSet)); }

Source File: org/eclipse/wst/jsdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
1. WARNING: UnusedPrivateField

The field ASTRewriteAnalyzer.ModifierRewriter.annotationSeparation is never read locally

ASTRewriteAnalyzer.java :

1260 : private final Prefix annotationSeparation;

2. WARNING: LocalVariableIsNeverUsed

The local variable curr is never read

ASTRewriteAnalyzer.java :

1270 : ASTNode curr= getNewNode(nodeIndex);

3. WARNING: LocalVariableIsNeverUsed

The local variable pos is never read

ASTRewriteAnalyzer.java :

2554 : int pos= rewriteJavadoc(node, PackageDeclaration.JAVADOC_PROPERTY);

Source File: org/eclipse/wst/jsdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java
1. WARNING: UnusedPrivateField

The field ImportRewriteAnalyzer.isRewriteExisting is never read locally

ImportRewriteAnalyzer.java :

67 : private boolean isRewriteExisting=true;

2. WARNING: UnusedPrivateMethod

The method createOnPlaceholderEntry(String) from the type ImportRewriteAnalyzer.PackageEntry is never used locally

ImportRewriteAnalyzer.java :

851 : public static PackageEntry createOnPlaceholderEntry(String preferenceOrder) {

3. WARNING: UnusedPrivateMethod

The method getLast() from the type ImportRewriteAnalyzer.PackageEntry is never used locally

ImportRewriteAnalyzer.java :

1014 : public ImportDeclEntry getLast() {

Source File: org/eclipse/wst/jsdt/internal/core/search/BasicSearchEngine.java
1. WARNING: LocalVariableIsNeverUsed

The local variable enclosingTypeNames is never read

BasicSearchEngine.java :

802 : char[][] enclosingTypeNames;

2. WARNING: LocalVariableIsNeverUsed

The local variable enclosingTypeNames is never read

BasicSearchEngine.java :

854 : char[][] enclosingTypeNames;

3. WARNING: LocalVariableIsNeverUsed

The local variable kind is never read

BasicSearchEngine.java :

862 : int kind;

Source File: org/eclipse/wst/jsdt/internal/core/search/HierarchyScope.java
1. WARNING: LocalVariableIsNeverUsed

The local variable root is never read

HierarchyScope.java :

84 : IPackageFragmentRoot root = (IPackageFragmentRoot)type.getPackageFragment().getParent();

2. WARNING: LocalVariableIsNeverUsed

The local variable workspaceRoot is never read

HierarchyScope.java :

118 : IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();

3. WARNING: LocalVariableIsNeverUsed

The local variable root is never read

HierarchyScope.java :

126 : IPackageFragmentRoot root =

Source File: org/eclipse/wst/jsdt/internal/core/search/matching/MatchLocator.java
1. WARNING: DeadCode

Dead code

MatchLocator.java :

1040 : : (INameEnvironment) new JavaSearchNameEnvironment(project, this.workingCopies);

2. WARNING: LocalVariableIsNeverUsed

The local variable offset is never read

MatchLocator.java :

2610 : int offset = 0;//element.g;

Source File: org/eclipse/wst/jsdt/internal/core/util/ASTNodeFinder.java
1. WARNING: DeadCode

Dead code

ASTNodeFinder.java :

125 : IJavaScriptElement parent = typeHandle.getParent();

Source File: org/eclipse/wst/jsdt/internal/core/util/HandleFactory.java
1. WARNING: LocalVariableIsNeverUsed

The local variable separatorIndex is never read

HandleFactory.java :

85 : int separatorIndex;

2. WARNING: UnusedPrivateMethod

The method getJarPkgFragmentRoot(String, IJavaScriptSearchScope) from the type HandleFactory is never used locally

HandleFactory.java :

261 : private IPackageFragmentRoot getJarPkgFragmentRoot(String jarPathString, IJavaScriptSearchScope scope) {

Source File: org/eclipse/wst/jsdt/internal/oaametadata/MetadataReader.java
1. WARNING: UnusedPrivateType

The type MessageBundleHandler is never used locally

MetadataReader.java :

801 : class MessageBundleHandler extends DefaultHandler

2. WARNING: LocalVariableIsNeverUsed

The local variable inputSource is never read

MetadataReader.java :

843 : InputSource inputSource = new InputSource(new FileReader(file));