Compiler Report

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

Number of source files: 246 Number of classfiles: 375

Problems: 32 (Errors: 0 Warnings: 32 )

Source File: org/eclipse/jpt/common/core/JptResourceModelListener.java
1. WARNING: UnusedImport

The import org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl is never used

JptResourceModelListener.java :

13 : import org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl;

Source File: org/eclipse/jpt/common/core/JptResourceType.java
1. WARNING: UnusedImport

The import org.eclipse.core.runtime.content.IContentType is never used

JptResourceType.java :

12 : import org.eclipse.core.runtime.content.IContentType;

Source File: org/eclipse/jpt/common/core/internal/InternalJptWorkspace.java
1. WARNING: UnusedImport

The import org.eclipse.jpt.common.core.internal.plugin.JptCommonCorePlugin is never used

InternalJptWorkspace.java :

15 : import org.eclipse.jpt.common.core.internal.plugin.JptCommonCorePlugin;

Source File: org/eclipse/jpt/common/core/internal/operations/JptFileCreationDataModelProperties.java
1. WARNING: UnusedImport

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

JptFileCreationDataModelProperties.java :

13 : import org.eclipse.core.resources.IProject;

2. WARNING: UnusedImport

The import org.eclipse.core.runtime.IPath is never used

JptFileCreationDataModelProperties.java :

14 : import org.eclipse.core.runtime.IPath;

Source File: org/eclipse/jpt/common/core/internal/resource/java/AbstractJavaResourceModel.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

AbstractJavaResourceModel.java :

82 : protected void aspectChanged(@SuppressWarnings("unused") String aspectName) {

Source File: org/eclipse/jpt/common/core/internal/resource/java/NullAnnotation.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

NullAnnotation.java :

58 : public void moveAnnotation(@SuppressWarnings("unused") int index) {

Source File: org/eclipse/jpt/common/core/internal/resource/java/binary/BinaryAnnotation.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

BinaryAnnotation.java :

76 : public void moveAnnotation(@SuppressWarnings("unused") int index) {

Source File: org/eclipse/jpt/common/core/internal/resource/xml/AbstractJptXmlResourceProvider.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

AbstractJptXmlResourceProvider.java :

189 : protected void populateRoot(@SuppressWarnings("unused") Object config) {

Source File: org/eclipse/jpt/common/core/internal/utility/JptPlugin.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("restriction")

JptPlugin.java :

641 : @SuppressWarnings("restriction")

Source File: org/eclipse/jpt/common/core/internal/utility/command/SingleUseQueueingJobCommandContext.java
1. WARNING: UnusedImport

The import org.eclipse.jpt.common.core.utility.command.JobCommand is never used

SingleUseQueueingJobCommandContext.java :

12 : import org.eclipse.jpt.common.core.utility.command.JobCommand;

Source File: org/eclipse/jpt/common/core/internal/utility/jdt/AbstractExpressionConverter.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

AbstractExpressionConverter.java :

47 : protected Expression convertNull(@SuppressWarnings("unused") AST ast) {

Source File: org/eclipse/jpt/common/core/internal/utility/jdt/AbstractNestedDeclarationAnnotationAdapter.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

AbstractNestedDeclarationAnnotationAdapter.java :

251 : protected void removeElementAndNormalize(ModifiedDeclaration declaration, @SuppressWarnings("unused") SingleMemberAnnotation outer) {

2. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

AbstractNestedDeclarationAnnotationAdapter.java :

257 : protected void removeElementAndNormalize(@SuppressWarnings("unused") ModifiedDeclaration declaration, @SuppressWarnings("unused") MarkerAnnotation outer) {

3. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

AbstractNestedDeclarationAnnotationAdapter.java :

257 : protected void removeElementAndNormalize(@SuppressWarnings("unused") ModifiedDeclaration declaration, @SuppressWarnings("unused") MarkerAnnotation outer) {

4. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

AbstractNestedDeclarationAnnotationAdapter.java :

352 : protected void modifyAnnotation(ModifiedDeclaration declaration, @SuppressWarnings("unused") MarkerAnnotation outer, Annotation inner) {

5. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

AbstractNestedDeclarationAnnotationAdapter.java :

393 : protected void modifyAnnotation(@SuppressWarnings("unused") ModifiedDeclaration declaration, NormalAnnotation outer, Annotation inner) {

Source File: org/eclipse/jpt/common/core/internal/utility/jdt/ExpressionDeclarationAnnotationElementAdapter.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

ExpressionDeclarationAnnotationElementAdapter.java :

129 : protected E expressionMarkerAnnotation(@SuppressWarnings("unused") MarkerAnnotation annotation) {

2. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

ExpressionDeclarationAnnotationElementAdapter.java :

210 : protected void setValueMarkerAnnotation(Expression value, @SuppressWarnings("unused") MarkerAnnotation annotation, ModifiedDeclaration declaration) {

3. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

ExpressionDeclarationAnnotationElementAdapter.java :

231 : protected void setValueNormalAnnotation(Expression value, NormalAnnotation annotation, @SuppressWarnings("unused") ModifiedDeclaration declaration) {

4. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

ExpressionDeclarationAnnotationElementAdapter.java :

261 : protected void removeElementNoAnnotation(@SuppressWarnings("unused") ModifiedDeclaration declaration) {

5. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

ExpressionDeclarationAnnotationElementAdapter.java :

265 : protected void removeElementMarkerAnnotation(@SuppressWarnings("unused") MarkerAnnotation annotation, @SuppressWarnings("unused") ModifiedDeclaration declaration) {

6. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

ExpressionDeclarationAnnotationElementAdapter.java :

265 : protected void removeElementMarkerAnnotation(@SuppressWarnings("unused") MarkerAnnotation annotation, @SuppressWarnings("unused") ModifiedDeclaration declaration) {

7. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

ExpressionDeclarationAnnotationElementAdapter.java :

269 : protected void removeElementSingleMemberAnnotation(@SuppressWarnings("unused") SingleMemberAnnotation annotation, ModifiedDeclaration declaration) {

Source File: org/eclipse/jpt/common/core/internal/utility/jdt/GenericVisitor.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

GenericVisitor.java :

114 : protected boolean visit_(@SuppressWarnings("unused") ASTNode node) {

2. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

GenericVisitor.java :

118 : protected void endVisit_(@SuppressWarnings("unused") ASTNode node) {

Source File: org/eclipse/jpt/common/core/internal/utility/jdt/JDTAnnotatedElement.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("null")

JDTAnnotatedElement.java :

132 : @SuppressWarnings("null") // erroneous compiler warning - 'buffer' will NOT be null

Source File: org/eclipse/jpt/common/core/resource/ResourceLocatorManager.java
1. WARNING: UnusedImport

The import org.eclipse.jpt.common.core.libval.LibraryValidator is never used

ResourceLocatorManager.java :

14 : import org.eclipse.jpt.common.core.libval.LibraryValidator;

Source File: org/eclipse/jpt/common/core/resource/java/JavaResourceAbstractType.java
1. WARNING: UnusedImport

The import org.eclipse.jdt.core.dom.AbstractTypeDeclaration is never used

JavaResourceAbstractType.java :

14 : import org.eclipse.jdt.core.dom.AbstractTypeDeclaration;

Source File: org/eclipse/jpt/common/core/resource/java/JavaResourceAnnotatedElement.java
1. WARNING: UnusedImport

The import org.eclipse.jpt.common.core.AnnotationProvider is never used

JavaResourceAnnotatedElement.java :

13 : import org.eclipse.jpt.common.core.AnnotationProvider;

Source File: org/eclipse/jpt/common/core/resource/java/JavaResourcePackageFragment.java
1. WARNING: UnusedImport

The import org.eclipse.jpt.common.core.AnnotationProvider is never used

JavaResourcePackageFragment.java :

12 : import org.eclipse.jpt.common.core.AnnotationProvider;

Source File: org/eclipse/jpt/common/core/resource/xml/EBaseObjectImpl.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("unused")

EBaseObjectImpl.java :

149 : protected void addInsignificantXmlFeatureIdsTo(@SuppressWarnings("unused") Set<Integer> insignificantXmlFeatureIds) {