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 )
The import org.eclipse.core.resources.IResourceChangeEvent is never used
JavaScriptCore.java :
83 : import org.eclipse.core.resources.IResourceChangeEvent;
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];
The local variable indexInAnnotations is never read
ASTConverter.java :
4248 : int indexInAnnotations = 0;
The local variable annotations is never read
ASTConverter.java :
4372 : org.eclipse.wst.jsdt.internal.compiler.ast.Annotation[] annotations = argument.annotations;
The local variable indexInAnnotations is never read
ASTConverter.java :
4373 : int indexInAnnotations = 0;
The local variable annotations is never read
ASTConverter.java :
4439 : org.eclipse.wst.jsdt.internal.compiler.ast.Annotation[] annotations = localDeclaration.annotations;
The local variable indexInAnnotations is never read
ASTConverter.java :
4440 : int indexInAnnotations = 0;
The local variable annotations is never read
ASTConverter.java :
4533 : org.eclipse.wst.jsdt.internal.compiler.ast.Annotation[] annotations = localDeclaration.annotations;
The local variable indexInAnnotations is never read
ASTConverter.java :
4534 : int indexInAnnotations = 0;
The local variable annotations is never read
ASTConverter.java :
4606 : org.eclipse.wst.jsdt.internal.compiler.ast.Annotation[] annotations = localDeclaration.annotations;
The local variable indexInAnnotations is never read
ASTConverter.java :
4607 : int indexInAnnotations = 0;
Null pointer access: The variable toType can only be null at this location
InferEngine.java :
1346 : toType.methods=inClass.methods;
The method computeTargetedElement(CompletionOnAnnotationOfType) from the type CompletionEngine is never used locally
CompletionEngine.java :
2696 : private long computeTargetedElement(CompletionOnAnnotationOfType fakeNode) {
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) {
The method findImportsOfStaticFields(char[], ReferenceBinding) from the type CompletionEngine is never used locally
CompletionEngine.java :
4480 : private void findImportsOfStaticFields(char[] fieldName, ReferenceBinding ref) {
The method findImportsOfStaticMethods(char[], ReferenceBinding) from the type CompletionEngine is never used locally
CompletionEngine.java :
4536 : private void findImportsOfStaticMethods(char[] methodName, ReferenceBinding ref) {
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) {
The local variable isStatic is never read
CompletionEngine.java :
8160 : boolean isStatic = true;
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) {
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) {
The local variable types is never read
CompletionJavadocParser.java :
476 : TypeReference[]types=null;
The local variable packageName is never read
SourceElementParser.java :
1047 : char[][] packageName = parsedUnit.compilationResult.getPackageName();
The local variable argHasError is never read
AllocationExpression.java :
255 : boolean argHasError = false;
The field Clinit.assertionSyntheticFieldBinding is never read locally
Clinit.java :
33 : private FieldBinding assertionSyntheticFieldBinding = null;
The field Clinit.classLiteralSyntheticField is never read locally
Clinit.java :
34 : private FieldBinding classLiteralSyntheticField = null;
The local variable old is never read
TypeDeclaration.java :
858 : boolean old = this.staticInitializerScope.insideTypeAnnotation;
The method connectSuperInterfaces() from the type ClassScope is never used locally
ClassScope.java :
930 : private boolean connectSuperInterfaces() {
The local variable previousBinding is never read
MetatdataTypeBinding.java :
79 : FieldBinding previousBinding = (FieldBinding) knownFieldNames.get(fieldName);
The local variable argCount is never read
MetatdataTypeBinding.java :
305 : int argCount = argumentTypes.length;
The local variable isEnumSpecialMethod is never read
MetatdataTypeBinding.java :
728 : boolean isEnumSpecialMethod = isEnum()
The local variable name is never read
MultipleTypeBinding.java :
27 : char [][] name={};
The local variable foundInImport is never read
Scope.java :
2824 : boolean foundInImport = false;
The local variable type is never read
Scope.java :
2825 : Binding type = null;
The local variable argCount is never read
SourceTypeBinding.java :
876 : int argCount = argumentTypes.length;
The method consumeForInitExpression() from the type Parser is never used locally
Parser.java :
6349 : private void consumeForInitExpression() {
The method comsumeDUMMY() from the type Parser is never used locally
Parser.java :
6466 : private void comsumeDUMMY() {
The local variable prevAct is never read
Parser.java :
8826 : int prevAct = START_STATE,
The method visit(TypeDeclaration, Scope) from the type MethodVisitor is never used locally
Parser.java :
9710 : public boolean visit(TypeDeclaration typeDeclaration, Scope scope) {
The local variable resolveBindings is never read
ClassFile.java :
137 : boolean resolveBindings;
The local variable pkg is never read
ClassFile.java :
330 : JavaElement pkg = (JavaElement) getParent();
The local variable potentialNestedOutput is never read
ClasspathEntry.java :
1316 : IPath potentialNestedOutput = null; // for error reporting purpose
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));
The local variable prereqProject is never read
ClasspathEntry.java :
1708 : IJavaScriptProject prereqProject = JavaScriptCore.create(prereqProjectRsc);
The local variable resolveBindings is never read
CompilationUnit.java :
157 : boolean resolveBindings;
The local variable element is never read
JavaModelManager.java :
3009 : IJavaScriptElement element = (IJavaScriptElement)entry.getKey();
The local variable rscPath is never read
JavaProject.java :
3093 : IFolder rscPath = this.project.getFolder(JavaProject.SHARED_PROPERTIES_DIRECTORY);
The local variable segmentCount is never read
AbstractImageBuilder.java :
171 : final int segmentCount = sourceLocation.sourceFolder.getFullPath().segmentCount();
The local variable isOutputFolder is never read
AbstractImageBuilder.java :
173 : final boolean isOutputFolder = sourceLocation.sourceFolder.equals(outputFolder);
The local variable definedTypeNames is never read
IncrementalImageBuilder.java :
322 : char[][] definedTypeNames = newState.getDefinedTypeNamesFor(typeLocator);
The field ASTRewriteAnalyzer.ModifierRewriter.annotationSeparation is never read locally
ASTRewriteAnalyzer.java :
1260 : private final Prefix annotationSeparation;
The local variable curr is never read
ASTRewriteAnalyzer.java :
1270 : ASTNode curr= getNewNode(nodeIndex);
The local variable pos is never read
ASTRewriteAnalyzer.java :
2554 : int pos= rewriteJavadoc(node, PackageDeclaration.JAVADOC_PROPERTY);
The field ImportRewriteAnalyzer.isRewriteExisting is never read locally
ImportRewriteAnalyzer.java :
67 : private boolean isRewriteExisting=true;
The local variable enclosingTypeNames is never read
BasicSearchEngine.java :
802 : char[][] enclosingTypeNames;
The local variable enclosingTypeNames is never read
BasicSearchEngine.java :
854 : char[][] enclosingTypeNames;
The local variable kind is never read
BasicSearchEngine.java :
862 : int kind;
The local variable root is never read
HierarchyScope.java :
84 : IPackageFragmentRoot root = (IPackageFragmentRoot)type.getPackageFragment().getParent();
The local variable workspaceRoot is never read
HierarchyScope.java :
118 : IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
The local variable root is never read
HierarchyScope.java :
126 : IPackageFragmentRoot root =
The local variable offset is never read
MatchLocator.java :
2610 : int offset = 0;//element.g;
The local variable separatorIndex is never read
HandleFactory.java :
85 : int separatorIndex;
The method getJarPkgFragmentRoot(String, IJavaScriptSearchScope) from the type HandleFactory is never used locally
HandleFactory.java :
261 : private IPackageFragmentRoot getJarPkgFragmentRoot(String jarPathString, IJavaScriptSearchScope scope) {
The type MessageBundleHandler is never used locally
MetadataReader.java :
801 : class MessageBundleHandler extends DefaultHandler
The local variable inputSource is never read
MetadataReader.java :
843 : InputSource inputSource = new InputSource(new FileReader(file));