Compiler Report

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

Number of source files: 1189 Number of classfiles: 1437

Problems: 64 (Errors: 0 Warnings: 64 )

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 :

1346 : 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: 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/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/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/TypeDeclaration.java
1. WARNING: LocalVariableIsNeverUsed

The local variable old is never read

TypeDeclaration.java :

858 : boolean old = this.staticInitializerScope.insideTypeAnnotation;

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 :

930 : private boolean connectSuperInterfaces() {

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: 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: LocalVariableIsNeverUsed

The local variable foundInImport is never read

Scope.java :

2824 : boolean foundInImport = false;

2. WARNING: LocalVariableIsNeverUsed

The local variable type is never read

Scope.java :

2825 : 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;

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

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

Parser.java :

6349 : private void consumeForInitExpression() {

2. WARNING: UnusedPrivateMethod

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

Parser.java :

6466 : private void comsumeDUMMY() {

3. WARNING: LocalVariableIsNeverUsed

The local variable prevAct is never read

Parser.java :

8826 : int prevAct = START_STATE,

4. WARNING: UnusedPrivateMethod

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

Parser.java :

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

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/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/JavaModelManager.java
1. WARNING: LocalVariableIsNeverUsed

The local variable element is never read

JavaModelManager.java :

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

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

The local variable rscPath is never read

JavaProject.java :

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

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/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;

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: 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/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));