Compiler log for org.eclipse.jdt.core.manipulation_1.21.100.v20240318-2056 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 28, INFOS: 0

errors others warnings infos forbidden warnings discouraged warnings

ERRORS

top others warnings infos forbidden warnings discouraged warnings

OTHER WARNINGS

top errors infos forbidden warnings discouraged warnings

/common/org/eclipse/jdt/internal/core/manipulation/JavaManipulationPlugin.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /common/org/eclipse/jdt/internal/core/manipulation/JavaManipulationPlugin.java
 (at line 19)
import org.osgi.service.packageadmin.PackageAdmin;
The type PackageAdmin is deprecated
2. WARNING in /common/org/eclipse/jdt/internal/core/manipulation/JavaManipulationPlugin.java
 (at line 177)
ServiceReference<PackageAdmin> serviceRef= fBundleContext.getServiceReference(PackageAdmin.class);
The type PackageAdmin is deprecated
3. WARNING in /common/org/eclipse/jdt/internal/core/manipulation/JavaManipulationPlugin.java
 (at line 177)
ServiceReference<PackageAdmin> serviceRef= fBundleContext.getServiceReference(PackageAdmin.class);
The type PackageAdmin is deprecated
4. WARNING in /common/org/eclipse/jdt/internal/core/manipulation/JavaManipulationPlugin.java
 (at line 178)
PackageAdmin admin= fBundleContext.getService(serviceRef);
The type PackageAdmin is deprecated
5. WARNING in /common/org/eclipse/jdt/internal/core/manipulation/JavaManipulationPlugin.java
 (at line 179)
bundles= admin.getBundles(bundleName, version);
The method getBundles(String, String) from the type PackageAdmin is deprecated

/common/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsBaseSubProcessor.java : 1 warning :

OTHER WARNINGS
1. WARNING in /common/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsBaseSubProcessor.java
 (at line 278)
} else if (locationInParent == SwitchCase.EXPRESSION_PROPERTY || locationInParent == SwitchCase.EXPRESSIONS2_PROPERTY) {
The field SwitchCase.EXPRESSION_PROPERTY is deprecated

/core extension/org/eclipse/jdt/internal/core/manipulation/dom/ASTResolving.java : 1 warning :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/core/manipulation/dom/ASTResolving.java
 (at line 410)
if (node.equals(switchCase.getExpression()) || (ASTHelper.isSwitchCaseExpressionsSupportedInAST(switchCase.getAST()) && switchCase.expressions().contains(node))) {
The method getExpression() from the type SwitchCase is deprecated

/core extension/org/eclipse/jdt/internal/core/manipulation/dom/NecessaryParenthesesChecker.java : 1 warning :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/core/manipulation/dom/NecessaryParenthesesChecker.java
 (at line 85)
|| locationInParent == SwitchCase.EXPRESSION_PROPERTY
The field SwitchCase.EXPRESSION_PROPERTY is deprecated

/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CalleeAnalyzerVisitor.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/corext/callhierarchy/CalleeAnalyzerVisitor.java
 (at line 309)
IMethod inThisType= Bindings.findMethod(method, type);
The method findMethod(IMethodBinding, IType) from the type Bindings is deprecated
2. WARNING in /core extension/org/eclipse/jdt/internal/corext/callhierarchy/CalleeAnalyzerVisitor.java
 (at line 313)
IMethod m= Bindings.findMethod(method, superType);
The method findMethod(IMethodBinding, IType) from the type Bindings is deprecated

/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2Core.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2Core.java
 (at line 691)
if (Bindings.areOverriddenMethods(curr, method) || Bindings.isSubsignature(curr, method))
The method areOverriddenMethods(IMethodBinding, IMethodBinding) from the type Bindings is deprecated
2. WARNING in /core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2Core.java
 (at line 799)
if (Bindings.areOverriddenMethods(methods.get(offset), methodBinding))
The method areOverriddenMethods(IMethodBinding, IMethodBinding) from the type Bindings is deprecated
3. WARNING in /core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2Core.java
 (at line 1050)
if (Bindings.isVisibleInHierarchy(method, binding.getPackage()) && (!accountExisting || !Bindings.containsSignatureEquivalentConstructor(methods, method)))
The method containsSignatureEquivalentConstructor(IMethodBinding[], IMethodBinding) from the type Bindings is deprecated
4. WARNING in /core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2Core.java
 (at line 1062)
if ((proposeDefault || !accountExisting || existingConstructors == null || existingConstructors.isEmpty()) && (!accountExisting || !Bindings.containsSignatureEquivalentConstructor(methods, method)))
The method containsSignatureEquivalentConstructor(IMethodBinding[], IMethodBinding) from the type Bindings is deprecated

/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
 (at line 834)
node.getRightOperand().accept(this);
The method getRightOperand() from the type PatternInstanceofExpression is deprecated
2. WARNING in /core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
 (at line 1679)
node.getExpression().accept(this);
The method getExpression() from the type SwitchCase is deprecated

/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java
 (at line 380)
if (locationInParent == SwitchCase.EXPRESSION_PROPERTY || locationInParent == SwitchCase.EXPRESSIONS2_PROPERTY) {
The field SwitchCase.EXPRESSION_PROPERTY is deprecated
2. WARNING in /core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java
 (at line 478)
if (locationInParent == SwitchCase.EXPRESSION_PROPERTY || locationInParent == SwitchCase.EXPRESSIONS2_PROPERTY) {
The field SwitchCase.EXPRESSION_PROPERTY is deprecated
3. WARNING in /core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java
 (at line 726)
Expression expression= node.getExpression();
The method getExpression() from the type SwitchCase is deprecated

/core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFixCore.java : 1 warning :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFixCore.java
 (at line 172)
if (parentDescription == VariableDeclarationFragment.NAME_PROPERTY || parentDescription == SwitchCase.EXPRESSION_PROPERTY || parentDescription == SwitchCase.EXPRESSIONS2_PROPERTY)
The field SwitchCase.EXPRESSION_PROPERTY is deprecated

/core extension/org/eclipse/jdt/internal/corext/fix/PatternMatchingForInstanceofFixCore.java : 1 warning :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/corext/fix/PatternMatchingForInstanceofFixCore.java
 (at line 226)
newInstanceof.setRightOperand(newSVDecl);
The method setRightOperand(SingleVariableDeclaration) from the type PatternInstanceofExpression is deprecated

/core extension/org/eclipse/jdt/internal/corext/refactoring/Checks.java : 1 warning :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/corext/refactoring/Checks.java
 (at line 405)
Expression expression= caze.getExpression();
The method getExpression() from the type SwitchCase is deprecated

/core extension/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java : 1 warning :

OTHER WARNINGS
1. WARNING in /core extension/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java
 (at line 865)
&& (!(parent instanceof SingleVariableDeclaration) || (((ast.apiLevel() == AST.JLS20 && ast.isPreviewEnabled() || ast.apiLevel() > AST.JLS20) && !(parent.getParent() instanceof Pattern)) || (ast.apiLevel() < AST.JLS20 && parent.getLocationInParent() != PatternInstanceofExpression.RIGHT_OPERAND_PROPERTY)))
The field PatternInstanceofExpression.RIGHT_OPERAND_PROPERTY is deprecated

/refactoring/org/eclipse/jdt/internal/corext/refactoring/binary/AbstractCodeCreationOperation.java : 1 warning :

OTHER WARNINGS
1. WARNING in /refactoring/org/eclipse/jdt/internal/corext/refactoring/binary/AbstractCodeCreationOperation.java
 (at line 151)
final IClassFile[] files= fragment.getClassFiles(); // safe, but implies this operation cannot create module-info CU, which it probably should.
The method getClassFiles() from the type IPackageFragment is deprecated

/refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java : 1 warning :

OTHER WARNINGS
1. WARNING in /refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java
 (at line 266)
} else if (node.getLocationInParent() == SwitchCase.EXPRESSION_PROPERTY || node.getLocationInParent() == SwitchCase.EXPRESSIONS2_PROPERTY) {
The field SwitchCase.EXPRESSION_PROPERTY is deprecated

/refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/TypeOccurrenceCollector.java : 1 warning :

OTHER WARNINGS
1. WARNING in /refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/TypeOccurrenceCollector.java
 (at line 75)
if (token == ITerminalSymbols.TokenNameIdentifier) { // type reference can occur in module-info.java and collide with a restricted keyword.
The field ITerminalSymbols.TokenNameIdentifier is deprecated

/refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/MoveCuUpdateCreator.java : 1 warning :

OTHER WARNINGS
1. WARNING in /refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/MoveCuUpdateCreator.java
 (at line 376)
if (tokenType == ITerminalSymbols.TokenNameIdentifier) // TODO: could we be in the context of module-info.java, conflicting with restricted keywords?
The field ITerminalSymbols.TokenNameIdentifier is deprecated

/refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchAnalyzer.java : 1 warning :

OTHER WARNINGS
1. WARNING in /refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchAnalyzer.java
 (at line 99)
SingleVariableDeclaration svd= node.getRightOperand();
The method getRightOperand() from the type PatternInstanceofExpression is deprecated

INFO WARNINGS

errors others warnings forbidden warnings discouraged warnings

FORBIDDEN ACCESS WARNINGS

top errors infos others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors infos others warnings forbidden warnings