Compiler Report

Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1

Number of source files: 1877 Number of classfiles: 3817

Problems: 122 (Errors: 0 Warnings: 122 )

Source File: org/eclipse/wst/jsdt/internal/corext/codemanipulation/AddCustomConstructorOperation.java
1. WARNING: LocalVariableIsNeverUsed

The local variable parent is never read

AddCustomConstructorOperation.java :

177 : final IJavaScriptElement parent= fType.getParent();

Source File: org/eclipse/wst/jsdt/internal/corext/codemanipulation/AddDelegateMethodsOperation.java
1. WARNING: LocalVariableIsNeverUsed

The local variable parent is never read

AddDelegateMethodsOperation.java :

163 : final IJavaScriptElement parent= fType.getParent();

Source File: org/eclipse/wst/jsdt/internal/corext/codemanipulation/StubUtility2.java
1. WARNING: LocalVariableIsNeverUsed

The local variable version is never read

StubUtility2.java :

70 : String version= binding.getJavaElement().getJavaScriptProject().getOption(JavaScriptCore.COMPILER_COMPLIANCE, true);

Source File: org/eclipse/wst/jsdt/internal/corext/dom/ASTFlattener.java
1. WARNING: LocalVariableIsNeverUsed

The local variable prev is never read

ASTFlattener.java :

1392 : BodyDeclaration prev= null;

Source File: org/eclipse/wst/jsdt/internal/corext/dom/ASTNodes.java
1. WARNING: LocalVariableIsNeverUsed

The local variable parent is never read

ASTNodes.java :

801 : final IJavaScriptElement parent= type.getParent();

Source File: org/eclipse/wst/jsdt/internal/corext/dom/fragments/ASTFragmentFactory.java
1. WARNING: UnusedPrivateMethod

The method clearFragment() from the type ASTFragmentFactory.FragmentFactory is never used locally

ASTFragmentFactory.java :

188 : protected final void clearFragment() {

Source File: org/eclipse/wst/jsdt/internal/corext/fix/CleanUpRefactoring.java
1. WARNING: UnusedPrivateConstructor

The constructor CleanUpRefactoring.ParseListElement(IJavaScriptUnit) is never used locally

CleanUpRefactoring.java :

118 : public ParseListElement(IJavaScriptUnit unit) {

Source File: org/eclipse/wst/jsdt/internal/corext/fix/CodeStyleFix.java
1. WARNING: UnusedPrivateField

The field CodeStyleFix.CodeStyleVisitor.fImportRewrite is never read locally

CodeStyleFix.java :

63 : private final ImportRewrite fImportRewrite;

2. WARNING: UnusedPrivateMethod

The method getQualifier(IVariableBinding, ImportRewrite, SimpleName) from the type CodeStyleFix is never used locally

CodeStyleFix.java :

655 : private static String getQualifier(IVariableBinding binding, ImportRewrite imports, SimpleName name) {

3. WARNING: UnusedPrivateMethod

The method getName(JavaScriptUnit, IProblemLocation) from the type CodeStyleFix is never used locally

CodeStyleFix.java :

699 : private static SimpleName getName(JavaScriptUnit compilationUnit, IProblemLocation problem) {

Source File: org/eclipse/wst/jsdt/internal/corext/fix/ConvertLoopFix.java
1. WARNING: UnusedPrivateField

The field ConvertLoopFix.ControlStatementFinder.fResult is never read locally

ConvertLoopFix.java :

30 : private final List/*<IFixRewriteOperation>*/fResult;

2. WARNING: UnusedPrivateField

The field ConvertLoopFix.ControlStatementFinder.fMakeFinal is never read locally

ConvertLoopFix.java :

34 : private final boolean fMakeFinal;

Source File: org/eclipse/wst/jsdt/internal/corext/fix/Java50Fix.java
1. WARNING: UnusedPrivateField

The field Java50Fix.OVERRIDE is never read locally

Java50Fix.java :

63 : private static final String OVERRIDE= "Override"; //$NON-NLS-1$

2. WARNING: UnusedPrivateField

The field Java50Fix.DEPRECATED is never read locally

Java50Fix.java :

64 : private static final String DEPRECATED= "Deprecated"; //$NON-NLS-1$

3. WARNING: UnusedPrivateMethod

The method getDeclaringNode(ASTNode) from the type Java50Fix is never used locally

Java50Fix.java :

421 : private static ASTNode getDeclaringNode(ASTNode selectedNode) {

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

Dead code

TypeContextChecker.java :

116 : RefactoringStatus[] results= new MethodTypesSyntaxChecker(fMethod, fParameterInfos, fReturnTypeInfo).checkSyntax();

2. WARNING: DeadCode

Dead code

TypeContextChecker.java :

362 : int parameterCount= fParameterInfos.size();

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) {

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/generics/ParametricStructureComputer.java
1. WARNING: DeadCode

Dead code

ParametricStructureComputer.java :

341 : if (false) { if (v1 instanceof CollectionElementVariable2) { // if v1's container no longer has structure, remove structure from elemContainer CollectionElementVariable2 ev1= (CollectionElementVariable2) v1; ConstraintVariable2 v1Container= ev1.getParentConstraintVariable(); if (elemStructure(v1Container) == ParametricStructure.NONE) setStructureAndPush(elemContainer, ParametricStructure.NONE); return; } }

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

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

3053 : private IType getDestinationAsType() throws JavaScriptModelException {

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

Dead code

ChangeSignatureRefactoring.java :

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

2. WARNING: DeadCode

Dead code

ChangeSignatureRefactoring.java :

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

3. WARNING: DeadCode

Dead code

ChangeSignatureRefactoring.java :

979 : else if (JavaScriptCore.IS_ECMASCRIPT4 && getMethod().getDeclaringType().isInterface())

4. WARNING: DeadCode

Dead code

ChangeSignatureRefactoring.java :

980 : return false;

5. WARNING: UnusedPrivateField

The field ChangeSignatureRefactoring.BUG_89686 is never read locally

ChangeSignatureRefactoring.java :

1507 : private static final boolean BUG_89686= true; //see bug 83693: Search for References to methods/constructors: do ranges include parameter lists?

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

The local variable binding is never read

ExtractInterfaceProcessor.java :

608 : ITypeBinding binding= null;

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

The local variable ast is never read

HierarchyProcessor.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable modifier is never read

HierarchyProcessor.java :

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

3. WARNING: LocalVariableIsNeverUsed

The local variable modifiers is never read

HierarchyProcessor.java :

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

4. WARNING: LocalVariableIsNeverUsed

The local variable ast is never read

HierarchyProcessor.java :

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

5. WARNING: LocalVariableIsNeverUsed

The local variable modifier is never read

HierarchyProcessor.java :

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

6. WARNING: LocalVariableIsNeverUsed

The local variable modifiers is never read

HierarchyProcessor.java :

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

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

The local variable project is never read

PushDownRefactoringProcessor.java :

794 : 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/ui/JavaScriptPlugin.java
1. WARNING: UnusedPrivateField

The field JavaScriptPlugin.fPropertiesFileDocumentProvider is never read locally

JavaScriptPlugin.java :

204 : private IDocumentProvider fPropertiesFileDocumentProvider;

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

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

FilteredTypesSelectionDialog.java :

931 : public void setFullyQualifyDuplicates(boolean value) {

2. WARNING: UnusedPrivateMethod

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

FilteredTypesSelectionDialog.java :

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

3. WARNING: UnusedPrivateMethod

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

FilteredTypesSelectionDialog.java :

1062 : public ImageDescriptor getImageDescriptor(Object element) {

4. WARNING: UnusedPrivateMethod

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

FilteredTypesSelectionDialog.java :

1177 : public ITypeInfoFilterExtension getFilterExtension() {

5. WARNING: UnusedPrivateMethod

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

FilteredTypesSelectionDialog.java :

1206 : public boolean matchesCachedResult(TypeNameMatch type) {

6. WARNING: UnusedPrivateMethod

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

FilteredTypesSelectionDialog.java :

1212 : public boolean matchesHistoryElement(TypeNameMatch type) {

7. WARNING: UnusedPrivateMethod

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

FilteredTypesSelectionDialog.java :

1415 : public void cancel() {

Source File: org/eclipse/wst/jsdt/internal/ui/dialogs/OverrideMethodDialog.java
1. WARNING: UnusedPrivateConstructor

The constructor OverrideMethodDialog.OverrideMethodComparator(ITypeBinding) is never used locally

OverrideMethodDialog.java :

197 : public OverrideMethodComparator(ITypeBinding curr) {

2. WARNING: UnusedPrivateMethod

The method getSuperType(ITypeBinding, String) from the type OverrideMethodDialog is never used locally

OverrideMethodDialog.java :

250 : private static ITypeBinding getSuperType(final ITypeBinding binding, final String name) {

3. WARNING: NullLocalVariableReference

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

OverrideMethodDialog.java :

321 : comparator.sort(null, typesArrays);

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$

2. WARNING: DeadCode

Dead code

TypeInfoViewer.java :

861 : fTable= new Table(parent, SWT.V_SCROLL | SWT.H_SCROLL | SWT.BORDER | SWT.FLAT | flags | (VIRTUAL ? SWT.VIRTUAL : SWT.NONE));

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

Dead code

JavadocView.java :

291 : if (WARNING_DIALOG_ENABLED && !doNotWarn) {

2. WARNING: DeadCode

Dead code

JavadocView.java :

291 : 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/javaeditor/ClassFileEditor.java
1. WARNING: UnusedPrivateField

The field ClassFileEditor.SourceAttachmentForm.fFile is never read locally

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 field CompilationUnitEditor.BracketLevel.fOffset is never read locally

CompilationUnitEditor.java :

281 : int fOffset;

2. WARNING: UnusedPrivateField

The field CompilationUnitEditor.BracketLevel.fLength is never read locally

CompilationUnitEditor.java :

282 : int fLength;

3. WARNING: UnusedPrivateMethod

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

CompilationUnitEditor.java :

367 : public String getCategory() {

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

The field JavaMoveLinesAction.SharedState.fIsChanging is never read locally

JavaMoveLinesAction.java :

62 : boolean fIsChanging= false;

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

The field NLSKeyHyperlink.fKeyName is never read locally

NLSKeyHyperlink.java :

38 : private final String fKeyName;

2. WARNING: LocalVariableIsNeverUsed

The local variable editor is never read

NLSKeyHyperlink.java :

84 : IEditorPart editor;

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

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

PackageExplorerContentProvider.java :

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

2. WARNING: NullLocalVariableReference

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

PackageExplorerContentProvider.java :

571 : Object[] children = container.getChildren();

3. WARNING: DeadCode

Dead code

PackageExplorerContentProvider.java :

1020 : 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/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 :

807 : public Object findFileByName(String name) {

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

198 : private static final String[] PROPERTIES= JavaScriptCore.IS_ECMASCRIPT4?PROPERTIES_WITH_RETURN:PROPERTIES_NO_RETURN;

6. WARNING: DeadCode

Dead code

ChangeParametersControl.java :

203 : private static final int TYPE_PROP= JavaScriptCore.IS_ECMASCRIPT4?0:-1;

7. WARNING: DeadCode

Dead code

ChangeParametersControl.java :

204 : private static final int NEWNAME_PROP= JavaScriptCore.IS_ECMASCRIPT4?1:0;

8. WARNING: DeadCode

Dead code

ChangeParametersControl.java :

205 : private static final int DEFAULT_PROP= JavaScriptCore.IS_ECMASCRIPT4?2:1;

9. 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/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/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/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/ASTResolving.java
1. WARNING: UnusedPrivateMethod

The method getReducedDimensionBinding(ITypeBinding, int) from the type ASTResolving is never used locally

ASTResolving.java :

335 : private static ITypeBinding getReducedDimensionBinding(ITypeBinding arrayBinding, int dimsToReduce) {

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/LocalCorrectionsSubProcessor.java
1. WARNING: UnusedPrivateField

The field LocalCorrectionsSubProcessor.ADD_FIELD_QUALIFICATION_ID is never read locally

LocalCorrectionsSubProcessor.java :

120 : private static final String ADD_FIELD_QUALIFICATION_ID= "org.eclipse.wst.jsdt.ui.correction.qualifyField"; //$NON-NLS-1$

2. WARNING: DeadCode

Dead code

LocalCorrectionsSubProcessor.java :

525 : 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/NewCUCompletionUsingWizardProposal.java
1. WARNING: NullLocalVariableReference

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

NewCUCompletionUsingWizardProposal.java :

191 : wizard.init(JavaScriptPlugin.getDefault().getWorkbench(), new StructuredSelection(fCompilationUnit));

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 :

1225 : 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/java/JavaReconcilingStrategy.java
1. WARNING: DeadCode

Dead code

JavaReconcilingStrategy.java :

92 : | (ASTProvider.SHARED_AST_STATEMENT_RECOVERY ? IJavaScriptUnit.ENABLE_STATEMENTS_RECOVERY : 0)

2. WARNING: DeadCode

Dead code

JavaReconcilingStrategy.java :

93 : | (ASTProvider.SHARED_BINDING_RECOVERY ? IJavaScriptUnit.ENABLE_BINDINGS_RECOVERY : 0);

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

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

LazyGenericTypeProposal.java :

164 : String getProposals() {

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

The method showContextMenu(Menu) from the type AnnotationExpansionControl.Item is never used locally

AnnotationExpansionControl.java :

141 : public void showContextMenu(Menu menu) {

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 local variable versionableElement is never read

OAADocReader.java :

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

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

The field DefaultSpellingEngine.PROPERTIES_CONTENT_TYPE is never read locally

DefaultSpellingEngine.java :

47 : private static final IContentType PROPERTIES_CONTENT_TYPE= Platform.getContentTypeManager().getContentType("org.eclipse.wst.jsdt.core.javaProperties"); //$NON-NLS-1$

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

The local variable fWorkspaceRoot is never read

BuildPathsBlock.java :

812 : IWorkspaceRoot fWorkspaceRoot= JavaScriptPlugin.getWorkspace().getRoot();

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

The field SourceContainerWorkbookPage.IDX_ADDVAR is never read locally

SourceContainerWorkbookPage.java :

142 : private final int IDX_ADDVAR= 5;

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/actions/AddGetterSetterAction.java
1. WARNING: UnusedPrivateMethod

The method getViewer() from the type AddGetterSetterAction.AddGetterSetterContentProvider is never used locally

AddGetterSetterAction.java :

791 : public Viewer getViewer() {

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

The local variable compUnit is never read

CompletionProposalLabelProvider.java :

590 : char[] compUnit = proposal.getDeclarationTypeName();

2. WARNING: LocalVariableIsNeverUsed

The local variable propType is never read

CompletionProposalLabelProvider.java :

591 : char[] propType = proposal.getName();

3. WARNING: LocalVariableIsNeverUsed

The local variable project is never read

CompletionProposalLabelProvider.java :

592 : IJavaScriptProject project = proposal.getJavaProject();

4. WARNING: LocalVariableIsNeverUsed

The local variable compUnit is never read

CompletionProposalLabelProvider.java :

663 : char[] compUnit = proposal.getDeclarationTypeName();

5. WARNING: LocalVariableIsNeverUsed

The local variable propType is never read

CompletionProposalLabelProvider.java :

664 : char[] propType = proposal.getName();

6. WARNING: LocalVariableIsNeverUsed

The local variable project is never read

CompletionProposalLabelProvider.java :

665 : IJavaScriptProject project = proposal.getJavaProject();

7. WARNING: LocalVariableIsNeverUsed

The local variable compUnit is never read

CompletionProposalLabelProvider.java :

685 : char[] compUnit = proposal.getDeclarationTypeName();

8. WARNING: LocalVariableIsNeverUsed

The local variable propType is never read

CompletionProposalLabelProvider.java :

686 : char[] propType = proposal.getName();

9. WARNING: LocalVariableIsNeverUsed

The local variable project is never read

CompletionProposalLabelProvider.java :

687 : IJavaScriptProject project = proposal.getJavaProject();