Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.C58, 3.8.0

Number of source files: 1827 Number of classfiles: 3734

Problems: 152 (Errors: 0 Warnings: 152 )

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java
1. WARNING: UnusedPrivateField

The value of the field PromoteTempToFieldRefactoring.LocalTypeAndVariableUsageAnalyzer.fMethodTypeVariables is not used

PromoteTempToFieldRefactoring.java :

824 : private final List fMethodTypeVariables;

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/code/SourceAnalyzer.java
1. WARNING: UnusedPrivateMethod

The method visist(SuperConstructorInvocation) from the type SourceAnalyzer.UpdateCollector is never used locally

SourceAnalyzer.java :

198 : public boolean visist(SuperConstructorInvocation node) {

2. WARNING: UnusedPrivateMethod

The method addTypeVariableReference(ITypeBinding, SimpleName) from the type SourceAnalyzer.UpdateCollector is never used locally

SourceAnalyzer.java :

273 : private void addTypeVariableReference(ITypeBinding variable, SimpleName name) {

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/code/TargetProvider.java
1. WARNING: UnusedPrivateMethod

The method getDeclaration() from the type TargetProvider.BodyData is never used locally

TargetProvider.java :

220 : public BodyDeclaration getDeclaration() {

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/rename/RenameCompilationUnitProcessor.java
1. WARNING: UnusedPrivateMethod

The method getTypeWithTheSameName() from the type RenameCompilationUnitProcessor is never used locally

RenameCompilationUnitProcessor.java :

344 : private IType getTypeWithTheSameName() {

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/rename/RenameVirtualMethodProcessor.java
1. WARNING: UnusedPrivateMethod

The method relatedTypeDeclaresMethodName(IProgressMonitor, IFunction, String) from the type RenameVirtualMethodProcessor is never used locally

RenameVirtualMethodProcessor.java :

155 : private IFunction[] relatedTypeDeclaresMethodName(IProgressMonitor pm, IFunction method, String newName) throws CoreException {

2. WARNING: UnusedPrivateMethod

The method isSpecialCase() from the type RenameVirtualMethodProcessor is never used locally

RenameVirtualMethodProcessor.java :

171 : private boolean isSpecialCase() throws CoreException {

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
1. WARNING: UnusedPrivateMethod

The method addEmptyCusToDelete() from the type JavaDeleteProcessor is never used locally

JavaDeleteProcessor.java :

775 : private void addEmptyCusToDelete() throws JavaScriptModelException {

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/reorg/MoveCuUpdateCreator.java
1. WARNING: UnusedPrivateMethod

The method isSimpleReference() from the type MoveCuUpdateCreator.TypeReference is never used locally

MoveCuUpdateCreator.java :

401 : public boolean isSimpleReference() {

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
1. WARNING: UnusedPrivateMethod

The method handleType(IType, IPackageFragment, IProgressMonitor) from the type ReorgPolicyFactory.MoveFilesFoldersAndCusPolicy is never used locally

ReorgPolicyFactory.java :

1382 : private void handleType(IType type, IPackageFragment destination, IProgressMonitor pm) {

2. WARNING: UnusedPrivateMethod

The method getDestinationAsType() from the type ReorgPolicyFactory.SubCuElementReorgPolicy is never used locally

ReorgPolicyFactory.java :

3037 : private IType getDestinationAsType() throws JavaScriptModelException {

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
1. WARNING: DeadCode

Dead code

ChangeSignatureRefactoring.java :

856 : buff.append(fReturnTypeInfo.getOldTypeName()) .append(' ');

2. WARNING: DeadCode

Dead code

ChangeSignatureRefactoring.java :

882 : buff.append(getReturnTypeString()).append(' ');

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable i is not used

ChangeSignatureRefactoring.java :

1360 : int i= 0;

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java
1. WARNING: UnusedPrivateMethod

The method findDeclaration(ASTNode, int, int) from the type ChangeTypeRefactoring is never used locally

ChangeTypeRefactoring.java :

977 : private static ASTNode findDeclaration(final ASTNode root, final int start, final int length){

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/structure/HierarchyProcessor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable binding is not used

HierarchyProcessor.java :

134 : final ITypeBinding binding= node.resolveTypeBinding();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable ast is not used

HierarchyProcessor.java :

166 : final AST ast= newField.getAST();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable modifier is not used

HierarchyProcessor.java :

168 : final IExtendedModifier modifier= (IExtendedModifier) oldField.modifiers().get(index);

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable modifiers is not used

HierarchyProcessor.java :

169 : final List modifiers= newField.modifiers();

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable ast is not used

HierarchyProcessor.java :

174 : final AST ast= newMethod.getAST();

6. WARNING: LocalVariableIsNeverUsed

The value of the local variable modifier is not used

HierarchyProcessor.java :

176 : final IExtendedModifier modifier= (IExtendedModifier) oldMethod.modifiers().get(index);

7. WARNING: LocalVariableIsNeverUsed

The value of the local variable modifiers is not used

HierarchyProcessor.java :

177 : final List modifiers= newMethod.modifiers();

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaring is not used

MemberVisibilityAdjustor.java :

507 : IType declaring= referencedMovedElement.getDeclaringType();

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable raw is not used

MoveInnerToTopRefactoring.java :

1106 : boolean raw= false;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable binding is not used

MoveInnerToTopRefactoring.java :

1107 : final ITypeBinding binding= name.resolveTypeBinding();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable raw is not used

MoveInnerToTopRefactoring.java :

1113 : boolean raw= false;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable binding is not used

MoveInnerToTopRefactoring.java :

1114 : final ITypeBinding binding= name.resolveTypeBinding();

5. WARNING: DeadCode

Dead code

MoveInnerToTopRefactoring.java :

1289 : if (declaring != null) { final ASTNode node= ASTNodes.findDeclaration(binding, fSourceRewrite.getRoot()); if (node instanceof AbstractTypeDeclaration) { ModifierRewrite.create(fSourceRewrite.getASTRewrite(), node).setVisibility(Modifier.PUBLIC, null); } }

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable binding is not used

MoveInstanceMethodProcessor.java :

361 : final IBinding binding= node.resolveBinding();

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java
1. WARNING: UnusedPrivateMethod

The method checkFieldsForInterface() from the type MoveStaticMembersProcessor is never used locally

MoveStaticMembersProcessor.java :

441 : private RefactoringStatus checkFieldsForInterface() throws JavaScriptModelException {

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable project is not used

PushDownRefactoringProcessor.java :

792 : final IJavaScriptProject project= rewriter.getCu().getJavaScriptProject();

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/surround/SurroundWithTryCatchRefactoring.java
1. WARNING: DeadCode

Dead code

SurroundWithTryCatchRefactoring.java :

263 : } else { fragment.setInitializer(ASTNodeFactory.newDefaultExpression(ast, binding.getType())); }

Source File: org/eclipse/wst/jsdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java
1. WARNING: UnusedPrivateField

The value of the field TypeEnvironment.fParameterizedTypes is not used

TypeEnvironment.java :

98 : private Map/*<ProjectKeyPair, ParameterizedType>*/ fParameterizedTypes= new HashMap();

2. WARNING: UnusedPrivateMethod

The method createGenericType(ITypeBinding) from the type TypeEnvironment is never used locally

TypeEnvironment.java :

321 : private GenericType createGenericType(ITypeBinding binding) {

3. WARNING: UnusedPrivateMethod

The method createRawType(ITypeBinding) from the type TypeEnvironment is never used locally

TypeEnvironment.java :

334 : private RawType createRawType(ITypeBinding binding) {

4. WARNING: UnusedPrivateMethod

The method createUnboundWildcardType(ITypeBinding) from the type TypeEnvironment is never used locally

TypeEnvironment.java :

347 : private TType createUnboundWildcardType(ITypeBinding binding) {

5. WARNING: UnusedPrivateMethod

The method createCaptureType(ITypeBinding) from the type TypeEnvironment is never used locally

TypeEnvironment.java :

355 : private CaptureType createCaptureType(ITypeBinding binding) {

Source File: org/eclipse/wst/jsdt/internal/corext/template/java/CompilationUnitCompletion.java
1. WARNING: UnusedPrivateField

The value of the field CompilationUnitCompletion.TypeParameterResolver.fHierarchy is not used

CompilationUnitCompletion.java :

351 : private final ITypeHierarchy fHierarchy;

2. WARNING: UnusedPrivateField

The value of the field CompilationUnitCompletion.TypeParameterResolver.fVariable is not used

CompilationUnitCompletion.java :

352 : private final Variable fVariable;

3. WARNING: UnusedPrivateMethod

The method isTrueSubtypeOf(String, String) from the type CompilationUnitCompletion.TypeParameterResolver is never used locally

CompilationUnitCompletion.java :

441 : private boolean isTrueSubtypeOf(String subTypeSignature, String superTypeSignature) {

4. WARNING: UnusedPrivateMethod

The method isConcreteType(String, IType) from the type CompilationUnitCompletion.TypeParameterResolver is never used locally

CompilationUnitCompletion.java :

489 : private boolean isConcreteType(String signature, IType context) throws JavaScriptModelException {

Source File: org/eclipse/wst/jsdt/internal/corext/template/java/SignatureUtil.java
1. WARNING: UnusedPrivateMethod

The method typeEnd(char[], int) from the type SignatureUtil is never used locally

SignatureUtil.java :

137 : private static int typeEnd(char[] signature, int pos) {

Source File: org/eclipse/wst/jsdt/internal/ui/JavaScriptPlugin.java
1. WARNING: UnusedPrivateField

The value of the field JavaScriptPlugin.fPropertiesFileDocumentProvider is not used

JavaScriptPlugin.java :

204 : private IDocumentProvider fPropertiesFileDocumentProvider;

Source File: org/eclipse/wst/jsdt/internal/ui/actions/SurroundWithTemplateMenuAction.java
1. WARNING: DeadCode

Dead code

SurroundWithTemplateMenuAction.java :

164 : if (actions == null) { menu.add(NONE_APPLICABLE_ACTION); } else {

Source File: org/eclipse/wst/jsdt/internal/ui/browsing/PackagesView.java
1. WARNING: UnusedPrivateMethod

The method getState() from the type PackagesView.LayoutAction is never used locally

PackagesView.java :

467 : public int getState() {

2. WARNING: UnusedPrivateMethod

The method setRunnable(Runnable) from the type PackagesView.LayoutAction is never used locally

PackagesView.java :

471 : public void setRunnable(Runnable runnable) {

Source File: org/eclipse/wst/jsdt/internal/ui/dialogs/FilteredTypesSelectionDialog.java
1. WARNING: UnusedPrivateType

The type FilteredTypesSelectionDialog.TypeFiltersPreferencesAction is never used locally

FilteredTypesSelectionDialog.java :

752 : private class TypeFiltersPreferencesAction extends Action {

2. WARNING: UnusedPrivateConstructor

The constructor FilteredTypesSelectionDialog.TypeFiltersPreferencesAction() is never used locally

FilteredTypesSelectionDialog.java :

754 : public TypeFiltersPreferencesAction() {

3. WARNING: UnusedPrivateMethod

The method setFullyQualifyDuplicates(boolean) from the type FilteredTypesSelectionDialog.TypeInfoUtil is never used locally

FilteredTypesSelectionDialog.java :

929 : public void setFullyQualifyDuplicates(boolean value) {

4. WARNING: UnusedPrivateMethod

The method getText(TypeNameMatch, TypeNameMatch, TypeNameMatch) from the type FilteredTypesSelectionDialog.TypeInfoUtil is never used locally

FilteredTypesSelectionDialog.java :

998 : public String getText(TypeNameMatch last, TypeNameMatch current, TypeNameMatch next) {

5. WARNING: UnusedPrivateMethod

The method getImageDescriptor(Object) from the type FilteredTypesSelectionDialog.TypeInfoUtil is never used locally

FilteredTypesSelectionDialog.java :

1060 : public ImageDescriptor getImageDescriptor(Object element) {

6. WARNING: UnusedPrivateMethod

The method getFilterExtension() from the type FilteredTypesSelectionDialog.TypeItemsFilter is never used locally

FilteredTypesSelectionDialog.java :

1178 : public ITypeInfoFilterExtension getFilterExtension() {

7. WARNING: UnusedPrivateMethod

The method getPackagePattern() from the type FilteredTypesSelectionDialog.TypeItemsFilter is never used locally

FilteredTypesSelectionDialog.java :

1190 : public String getPackagePattern() {

8. WARNING: UnusedPrivateMethod

The method getPackageFlags() from the type FilteredTypesSelectionDialog.TypeItemsFilter is never used locally

FilteredTypesSelectionDialog.java :

1196 : public int getPackageFlags() {

9. WARNING: UnusedPrivateMethod

The method matchesCachedResult(TypeNameMatch) from the type FilteredTypesSelectionDialog.TypeItemsFilter is never used locally

FilteredTypesSelectionDialog.java :

1213 : public boolean matchesCachedResult(TypeNameMatch type) {

10. WARNING: UnusedPrivateMethod

The method matchesHistoryElement(TypeNameMatch) from the type FilteredTypesSelectionDialog.TypeItemsFilter is never used locally

FilteredTypesSelectionDialog.java :

1219 : public boolean matchesHistoryElement(TypeNameMatch type) {

11. WARNING: UnusedPrivateMethod

The method cancel() from the type FilteredTypesSelectionDialog.TypeSearchRequestor is never used locally

FilteredTypesSelectionDialog.java :

1432 : public void cancel() {

Source File: org/eclipse/wst/jsdt/internal/ui/dialogs/TypeInfoViewer.java
1. WARNING: DeadCode

Dead code

TypeInfoViewer.java :

598 : System.out.println("Sleeping for: " + sleep); //$NON-NLS-1$

Source File: org/eclipse/wst/jsdt/internal/ui/infoviews/JavadocView.java
1. WARNING: DeadCode

Dead code

JavadocView.java :

292 : if (WARNING_DIALOG_ENABLED && !doNotWarn) {

2. WARNING: DeadCode

Dead code

JavadocView.java :

292 : if (WARNING_DIALOG_ENABLED && !doNotWarn) { String title= InfoViewMessages.JavadocView_error_noBrowser_title; String message= InfoViewMessages.JavadocView_error_noBrowser_message; String toggleMessage= InfoViewMessages.JavadocView_error_noBrowser_doNotWarn; MessageDialogWithToggle dialog= MessageDialogWithToggle.openError(parent.getShell(), title, message, toggleMessage, false, null, null); if (dialog.getReturnCode() == Window.OK) store.setValue(DO_NOT_WARN_PREFERENCE_KEY, dialog.getToggleState()); }

Source File: org/eclipse/wst/jsdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable root is not used

JavadocTreeWizardPage.java :

442 : IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot();

Source File: org/eclipse/wst/jsdt/internal/ui/javaeditor/ClassFileEditor.java
1. WARNING: UnusedPrivateField

The value of the field ClassFileEditor.SourceAttachmentForm.fFile is not used

ClassFileEditor.java :

93 : private final IClassFile fFile;

2. WARNING: UnusedPrivateMethod

The method getPackageFragmentRoot(IClassFile) from the type ClassFileEditor.SourceAttachmentForm is never used locally

ClassFileEditor.java :

117 : private IPackageFragmentRoot getPackageFragmentRoot(IClassFile file) {

3. WARNING: UnusedPrivateMethod

The method applySourceAttachment(Shell, IIncludePathEntry, IJavaScriptProject, IPath) from the type ClassFileEditor.SourceAttachmentForm is never used locally

ClassFileEditor.java :

277 : protected void applySourceAttachment(Shell shell, IIncludePathEntry newEntry, IJavaScriptProject project, IPath containerPath) {

4. WARNING: UnusedPrivateMethod

The method createButton(Composite, String) from the type ClassFileEditor.SourceAttachmentForm is never used locally

ClassFileEditor.java :

373 : private Button createButton(Composite parent, String text) {

Source File: org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitEditor.java
1. WARNING: UnusedPrivateField

The value of the field CompilationUnitEditor.BracketLevel.fOffset is not used

CompilationUnitEditor.java :

282 : int fOffset;

2. WARNING: UnusedPrivateField

The value of the field CompilationUnitEditor.BracketLevel.fLength is not used

CompilationUnitEditor.java :

283 : int fLength;

3. WARNING: UnusedPrivateMethod

The method getCategory() from the type CompilationUnitEditor.ExclusivePositionUpdater is never used locally

CompilationUnitEditor.java :

368 : public String getCategory() {

Source File: org/eclipse/wst/jsdt/internal/ui/javaeditor/JavaMoveLinesAction.java
1. WARNING: UnusedPrivateField

The value of the field JavaMoveLinesAction.SharedState.fIsChanging is not used

JavaMoveLinesAction.java :

62 : boolean fIsChanging= false;

Source File: org/eclipse/wst/jsdt/internal/ui/javaeditor/NLSKeyHyperlink.java
1. WARNING: UnusedPrivateField

The value of the field NLSKeyHyperlink.fKeyName is not used

NLSKeyHyperlink.java :

38 : private final String fKeyName;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable editor is not used

NLSKeyHyperlink.java :

84 : IEditorPart editor;

Source File: org/eclipse/wst/jsdt/internal/ui/javaeditor/ToggleCommentAction.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable lineCount is not used

ToggleCommentAction.java :

127 : int lineCount= 0;

Source File: org/eclipse/wst/jsdt/internal/ui/navigator/JavaNavigatorContentProvider.java
1. WARNING: UnusedPrivateMethod

The method deconvertJavaProjects(PipelinedShapeModification) from the type JavaNavigatorContentProvider is never used locally

JavaNavigatorContentProvider.java :

247 : private void deconvertJavaProjects(PipelinedShapeModification modification) {

2. WARNING: UnusedPrivateMethod

The method convertToJavaElements(PipelinedShapeModification) from the type JavaNavigatorContentProvider is never used locally

JavaNavigatorContentProvider.java :

267 : private boolean convertToJavaElements(PipelinedShapeModification modification) {

Source File: org/eclipse/wst/jsdt/internal/ui/packageview/PackageExplorerContentProvider.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable shouldHide is not used

PackageExplorerContentProvider.java :

657 : boolean shouldHide = false;

2. WARNING: UnusedPrivateMethod

The method getContainerPackageFragmentRootsDeprc(PackageFragmentRootContainer, boolean) from the type PackageExplorerContentProvider is never used locally

PackageExplorerContentProvider.java :

844 : private Object[] getContainerPackageFragmentRootsDeprc(PackageFragmentRootContainer container, boolean createFolder) {

3. WARNING: DeadCode

Dead code

PackageExplorerContentProvider.java :

1344 : for (int i= 0; i < affectedChildren.length; i++)

Source File: org/eclipse/wst/jsdt/internal/ui/packageview/PackageExplorerPart.java
1. WARNING: DeadCode

Dead code

PackageExplorerPart.java :

362 : if (!fInPreserveSelection || !(selection instanceof ITreeSelection)) { super.setSelectionToWidget(selection, reveal); return; }

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/ComplianceConfigurationBlock.java
1. WARNING: UnusedPrivateField

The value of the field ComplianceConfigurationBlock.IDX_ENUM_AS_IDENTIFIER is not used

ComplianceConfigurationBlock.java :

92 : private static final int IDX_ENUM_AS_IDENTIFIER= 1;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable enumAsId is not used

ComplianceConfigurationBlock.java :

505 : String assertAsId, enumAsId, source, target;

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java
1. WARNING: UnusedPrivateMethod

The method isDeleted(Object) from the type JavaEditorHoverConfigurationBlock.JavaEditorTextHoverDescriptorContentProvider is never used locally

JavaEditorHoverConfigurationBlock.java :

139 : public boolean isDeleted(Object element) {

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/JavadocConfigurationBlock.java
1. WARNING: UnusedPrivateMethod

The method findFileByName(String) from the type JavadocConfigurationBlock.ZipDialogContentProvider is never used locally

JavadocConfigurationBlock.java :

804 : public Object findFileByName(String name) {

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/JavadocProblemsConfigurationBlock.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable visibilities is not used

JavadocProblemsConfigurationBlock.java :

110 : String[] visibilities= new String[] { PUBLIC, PROTECTED, DEFAULT, PRIVATE };

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable visibilitiesLabels is not used

JavadocProblemsConfigurationBlock.java :

112 : String[] visibilitiesLabels= new String[] {

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/MembersOrderPreferencePage.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable i is not used

MembersOrderPreferencePage.java :

139 : for (int i= 0; tokenizer.hasMoreTokens(); i++) {

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
1. WARNING: UnusedPrivateMethod

The method getJREVariableEntry() from the type NewJavaProjectPreferencePage is never used locally

NewJavaProjectPreferencePage.java :

279 : private static IIncludePathEntry getJREVariableEntry() {

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/ProblemSeveritiesConfigurationBlock.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable enabledDisabled is not used

ProblemSeveritiesConfigurationBlock.java :

211 : String[] enabledDisabled= new String[] { ENABLED, DISABLED };

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable extraIndent is not used

ProblemSeveritiesConfigurationBlock.java :

231 : int extraIndent= indentStep * 2;

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/formatter/CommentsTabPage.java
1. WARNING: UnusedPrivateMethod

The method getSlaves() from the type CommentsTabPage.Controller is never used locally

CommentsTabPage.java :

79 : public Collection getSlaves() {

Source File: org/eclipse/wst/jsdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
1. WARNING: UnusedPrivateMethod

The method add(LineWrappingTabPage.Category) from the type LineWrappingTabPage.CategoryListener is never used locally

LineWrappingTabPage.java :

128 : public void add(Category category) {

Source File: org/eclipse/wst/jsdt/internal/ui/refactoring/ChangeParametersControl.java
1. WARNING: DeadCode

Dead code

ChangeParametersControl.java :

149 : if (JavaScriptCore.IS_ECMASCRIPT4 && property.equals(PROPERTIES[TYPE_PROP]))

2. WARNING: DeadCode

Dead code

ChangeParametersControl.java :

150 : return fMode.canChangeTypes();

3. WARNING: DeadCode

Dead code

ChangeParametersControl.java :

160 : if (JavaScriptCore.IS_ECMASCRIPT4 && property.equals(PROPERTIES[TYPE_PROP]))

4. WARNING: DeadCode

Dead code

ChangeParametersControl.java :

161 : return ((ParameterInfo) element).getNewTypeName();

5. WARNING: DeadCode

Dead code

ChangeParametersControl.java :

603 : if (fMode.canChangeTypes() && (JavaScriptCore.IS_ECMASCRIPT4) ) { SubjectControlContentAssistant assistant= installParameterTypeContentAssist(editors[TYPE_PROP].getText()); editors[TYPE_PROP].setContentAssistant(assistant); }

Source File: org/eclipse/wst/jsdt/internal/ui/refactoring/ChangeTypeContentProvider.java
1. WARNING: UnusedPrivateField

The value of the field ChangeTypeContentProvider.fGeneralizeType is not used

ChangeTypeContentProvider.java :

26 : private ChangeTypeRefactoring fGeneralizeType;

Source File: org/eclipse/wst/jsdt/internal/ui/refactoring/InlineConstantWizard.java
1. WARNING: UnusedPrivateMethod

The method restoreMessage() from the type InlineConstantWizard.InlineConstantInputPage is never used locally

InlineConstantWizard.java :

139 : protected void restoreMessage() {

Source File: org/eclipse/wst/jsdt/internal/ui/refactoring/reorg/CreateTargetQueries.java
1. WARNING: UnusedPrivateField

The value of the field CreateTargetQueries.fWizard is not used

CreateTargetQueries.java :

21 : private final Wizard fWizard;

2. WARNING: UnusedPrivateField

The value of the field CreateTargetQueries.fShell is not used

CreateTargetQueries.java :

22 : private final Shell fShell;

Source File: org/eclipse/wst/jsdt/internal/ui/refactoring/reorg/RenameInformationPopup.java
1. WARNING: DeadCode

Dead code

RenameInformationPopup.java :

639 : return new int[] { 0, 0, e.x - b, 0, e.x - b, e.y - b, e.x - HAO - b, e.y - b, e.x - HAO - HAW / 2, e.y + HAH - b, e.x - HAO - HAW, e.y - b, 0, e.y - b, 0, 0 };

Source File: org/eclipse/wst/jsdt/internal/ui/search/JavaSearchTableContentProvider.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable addCount is not used

JavaSearchTableContentProvider.java :

46 : int addCount= 0;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable removeCount is not used

JavaSearchTableContentProvider.java :

47 : int removeCount= 0;

Source File: org/eclipse/wst/jsdt/internal/ui/search/SearchUtil.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable flags is not used

SearchUtil.java :

214 : int flags;

2. WARNING: UnusedPrivateMethod

The method isPrimitiveOrString(IField) from the type SearchUtil is never used locally

SearchUtil.java :

225 : private static boolean isPrimitiveOrString(IField field) {

Source File: org/eclipse/wst/jsdt/internal/ui/search/TextSearchTableContentProvider.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable addCount is not used

TextSearchTableContentProvider.java :

54 : int addCount= 0;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable removeCount is not used

TextSearchTableContentProvider.java :

55 : int removeCount= 0;

Source File: org/eclipse/wst/jsdt/internal/ui/text/JavaCommentScanner.java
1. WARNING: UnusedPrivateMethod

The method isCaseSensitive() from the type JavaCommentScanner.TaskTagMatcher is never used locally

JavaCommentScanner.java :

137 : public boolean isCaseSensitive() {

Source File: org/eclipse/wst/jsdt/internal/ui/text/JavaIndenter.java
1. WARNING: DeadCode

Dead code

JavaIndenter.java :

239 : if (DefaultCodeFormatterConstants.TRUE.equals(getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES))) return prefBlockIndent(); else return 0;

2. WARNING: DeadCode

Dead code

JavaIndenter.java :

307 : String option= getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION);

Source File: org/eclipse/wst/jsdt/internal/ui/text/JavaOutlineInformationControl.java
1. WARNING: UnusedPrivateMethod

The method isShowDefiningType() from the type JavaOutlineInformationControl.OutlineLabelProvider is never used locally

JavaOutlineInformationControl.java :

154 : public boolean isShowDefiningType() {

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable caseCount is not used

AdvancedQuickAssistProcessor.java :

2021 : int caseCount = 0;

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/CUCorrectionProposal.java
1. WARNING: DeadCode

Dead code

CUCorrectionProposal.java :

135 : if (false) { throw new CoreException(JavaUIStatus.createError(IStatus.ERROR, "Implementors can throw an exception", null)); //$NON-NLS-1$ }

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/JavadocTagsSubProcessor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable ast is not used

JavadocTagsSubProcessor.java :

236 : AST ast= typeDecl.getAST();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable tagsRewriter is not used

JavadocTagsSubProcessor.java :

238 : ListRewrite tagsRewriter= rewriter.getListRewrite(javadoc, JSdoc.TAGS_PROPERTY);

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
1. WARNING: DeadCode

Dead code

LocalCorrectionsSubProcessor.java :

495 : if (false/*ASTNodes.needsParentheses(expression)*/) { ParenthesizedExpression parents= ast.newParenthesizedExpression(); parents.setExpression(expression); rewrite.replace(inst, parents, null); } else {

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable castTo is not used

ModifierCorrectionSubProcessor.java :

1051 : PrimitiveType castTo= null;

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/NewCUCompletionUsingWizardProposal.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.internal.ui.wizards.NewClassCreationWizard is never used

NewCUCompletionUsingWizardProposal.java :

32 : import org.eclipse.wst.jsdt.internal.ui.wizards.NewClassCreationWizard;

2. WARNING: UnusedPrivateField

The value of the field NewCUCompletionUsingWizardProposal.fCompilationUnit is not used

NewCUCompletionUsingWizardProposal.java :

54 : private IJavaScriptUnit fCompilationUnit;

3. WARNING: UnusedPrivateMethod

The method configureWizardPage(NewElementWizard) from the type NewCUCompletionUsingWizardProposal is never used locally

NewCUCompletionUsingWizardProposal.java :

202 : private NewTypeWizardPage configureWizardPage(NewElementWizard wizard) {

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/QuickAssistProcessor.java
1. WARNING: UnusedPrivateMethod

The method getConvertIterableLoopProposal(IInvocationContext, ASTNode, Collection) from the type QuickAssistProcessor is never used locally

QuickAssistProcessor.java :

1220 : private static boolean getConvertIterableLoopProposal(IInvocationContext context, ASTNode node, Collection resultingCollections) throws CoreException {

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/ReturnTypeSubProcessor.java
1. WARNING: UnusedPrivateMethod

The method returnStatements() from the type ReturnTypeSubProcessor.ReturnStatementCollector is never used locally

ReturnTypeSubProcessor.java :

56 : public Iterator returnStatements() {

Source File: org/eclipse/wst/jsdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable switchExp is not used

UnresolvedElementsSubProcessor.java :

158 : ITypeBinding switchExp= ((SwitchStatement) node.getParent().getParent()).getExpression().resolveTypeBinding();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable root is not used

UnresolvedElementsSubProcessor.java :

728 : JavaScriptUnit root= (JavaScriptUnit) refNode.getRoot();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable binding is not used

UnresolvedElementsSubProcessor.java :

736 : IBinding binding= null;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable rel is not used

UnresolvedElementsSubProcessor.java :

737 : int rel= baseRel;

Source File: org/eclipse/wst/jsdt/internal/ui/text/java/LazyGenericTypeProposal.java
1. WARNING: UnusedPrivateConstructor

The constructor LazyGenericTypeProposal.TypeArgumentProposal(String, boolean, String) is never used locally

LazyGenericTypeProposal.java :

131 : TypeArgumentProposal(String proposal, boolean ambiguous, String typeDisplayName) {

2. WARNING: UnusedPrivateMethod

The method getProposals() from the type LazyGenericTypeProposal.TypeArgumentProposal is never used locally

LazyGenericTypeProposal.java :

145 : String getProposals() {

Source File: org/eclipse/wst/jsdt/internal/ui/text/java/LazyJavaTypeCompletionProposal.java
1. WARNING: UnusedPrivateField

The value of the field LazyJavaTypeCompletionProposal.fImportContext is not used

LazyJavaTypeCompletionProposal.java :

52 : private ContextSensitiveImportRewriteContext fImportContext;

Source File: org/eclipse/wst/jsdt/internal/ui/text/java/TemplateCompletionProposalComputer.java
1. WARNING: DeadCode

Dead code

TemplateCompletionProposalComputer.java :

54 : fJavaTemplateEngine= null;

2. WARNING: DeadCode

Dead code

TemplateCompletionProposalComputer.java :

63 : fJavadocTemplateEngine= null;

Source File: org/eclipse/wst/jsdt/internal/ui/text/javadoc/JavadocLinkTypeCompletionProposal.java
1. WARNING: DeadCode

Dead code

JavadocLinkTypeCompletionProposal.java :

42 : return "{@link " + typeReplacement; //$NON-NLS-1$

Source File: org/eclipse/wst/jsdt/internal/ui/text/javadoc/OAADocReader.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable versionableElement is not used

OAADocReader.java :

38 : VersionableElement versionableElement = (documentation instanceof VersionableElement) ? (VersionableElement) documentation

Source File: org/eclipse/wst/jsdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
1. WARNING: DeadCode

Dead code

TypeHierarchyViewPart.java :

848 : } else if (input != null) { setInputElement(input); } else {

Source File: org/eclipse/wst/jsdt/internal/ui/util/ConvertAction.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable configured is not used

ConvertAction.java :

62 : boolean configured = false;

2. WARNING: UnusedPrivateMethod

The method showPropertiesOn(IProject, IProgressMonitor) from the type ConvertAction is never used locally

ConvertAction.java :

206 : private void showPropertiesOn(final IProject project, final IProgressMonitor monitor) {

Source File: org/eclipse/wst/jsdt/internal/ui/util/TypeNameMatchLabelProvider.java
1. WARNING: UnusedPrivateField

The value of the field TypeNameMatchLabelProvider.ANNOTATION_ICON is not used

TypeNameMatchLabelProvider.java :

32 : private static final Image ANNOTATION_ICON= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_ANNOTATION);

2. WARNING: UnusedPrivateField

The value of the field TypeNameMatchLabelProvider.INTERFACE_ICON is not used

TypeNameMatchLabelProvider.java :

33 : private static final Image INTERFACE_ICON= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_INTERFACE);

3. WARNING: UnusedPrivateField

The value of the field TypeNameMatchLabelProvider.ENUM_ICON is not used

TypeNameMatchLabelProvider.java :

34 : private static final Image ENUM_ICON= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_ENUM);

Source File: org/eclipse/wst/jsdt/internal/ui/viewsupport/ColoredJavaElementLabels.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable key is not used

ColoredJavaElementLabels.java :

536 : BindingKey key= new BindingKey(type.getKey());

Source File: org/eclipse/wst/jsdt/internal/ui/viewsupport/JavaElementImageProvider.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable declType is not used

JavaElementImageProvider.java :

182 : IType declType= method.getDeclaringType();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable declType is not used

JavaElementImageProvider.java :

190 : IType declType= member.getDeclaringType();

Source File: org/eclipse/wst/jsdt/internal/ui/wizards/buildpaths/BuildPathSupport.java
1. WARNING: UnusedPrivateMethod

The method getClasspathEntries() from the type BuildPathSupport.UpdatedJsGlobalScopeContainer is never used locally

BuildPathSupport.java :

152 : public IIncludePathEntry[] getClasspathEntries() {

Source File: org/eclipse/wst/jsdt/internal/ui/wizards/buildpaths/CPUserLibraryElement.java
1. WARNING: UnusedPrivateMethod

The method getClasspathEntries() from the type CPUserLibraryElement.UpdatedJsGlobalScopeContainer is never used locally

CPUserLibraryElement.java :

33 : public IIncludePathEntry[] getClasspathEntries() {

Source File: org/eclipse/wst/jsdt/internal/ui/wizards/buildpaths/newsourcepage/LinkFolderDialog.java
1. WARNING: UnusedPrivateMethod

The method getNameDialogField() from the type LinkFolderDialog.FolderNameField is never used locally

LinkFolderDialog.java :

79 : public StringDialogField getNameDialogField() {

Source File: org/eclipse/wst/jsdt/internal/ui/wizards/dialogfields/ListDialogField.java
1. WARNING: UnusedPrivateMethod

The method isDeleted(Object) from the type ListDialogField.ListViewerAdapter is never used locally

ListDialogField.java :

902 : public boolean isDeleted(Object element) {

Source File: org/eclipse/wst/jsdt/internal/ui/wizards/dialogfields/TreeListDialogField.java
1. WARNING: UnusedPrivateMethod

The method isDeleted(Object) from the type TreeListDialogField.TreeViewerAdapter is never used locally

TreeListDialogField.java :

847 : public boolean isDeleted(Object element) {

Source File: org/eclipse/wst/jsdt/internal/ui/workingsets/WorkingSetModel.java
1. WARNING: UnusedPrivateMethod

The method remove(IWorkingSet) from the type WorkingSetModel.ElementMapper is never used locally

WorkingSetModel.java :

94 : public IAdaptable[] remove(IWorkingSet ws) {

2. WARNING: UnusedPrivateMethod

The method getFirstWorkingSetForResource(IResource) from the type WorkingSetModel.ElementMapper is never used locally

WorkingSetModel.java :

141 : public IWorkingSet getFirstWorkingSetForResource(IResource resource) {

Source File: org/eclipse/wst/jsdt/ui/JavaScriptElementComparator.java
1. WARNING: UnusedPrivateField

The value of the field JavaScriptElementComparator.JAVASCRIPTUNITS is not used

JavaScriptElementComparator.java :

66 : private static final int JAVASCRIPTUNITS= 4;

Source File: org/eclipse/wst/jsdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java
1. WARNING: UnusedPrivateMethod

The method getObjectConstructor(JavaScriptUnit) from the type GenerateNewConstructorUsingFieldsAction is never used locally

GenerateNewConstructorUsingFieldsAction.java :

361 : private IFunctionBinding getObjectConstructor(JavaScriptUnit compilationUnit) {

Source File: org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.java
1. WARNING: UnusedPrivateMethod

The method createPreferenceStore(JavaScriptTextTools) from the type JavaScriptSourceViewerConfiguration is never used locally

JavaScriptSourceViewerConfiguration.java :

264 : private static final IPreferenceStore createPreferenceStore(JavaScriptTextTools javaTextTools) {

Source File: org/eclipse/wst/jsdt/ui/text/java/CompletionProposalLabelProvider.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.internal.corext.template.java.SignatureUtil is never used

CompletionProposalLabelProvider.java :

28 : import org.eclipse.wst.jsdt.internal.corext.template.java.SignatureUtil;