From bd5f5819c8a4f82079c58ee73bbce8d7eb0281dd Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 1 Feb 2024 18:44:11 +0100 Subject: [PATCH] [scala] Rename ScalaParserVisitor(Adapter) -> ScalaVisitor(Base) --- docs/pages/release_notes.md | 5 +++++ .../java/net/sourceforge/pmd/lang/scala/ast/ASTCase.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTCtorPrimary.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTCtorSecondary.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTDeclDef.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTDeclType.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVal.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVar.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTDefnClass.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTDefnDef.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTDefnMacro.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTDefnObject.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTDefnTrait.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTDefnType.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVal.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVar.java | 2 +- .../pmd/lang/scala/ast/ASTEnumeratorGenerator.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTEnumeratorGuard.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTEnumeratorVal.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTImport.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTImporteeName.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTImporteeRename.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTImporteeUnimport.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTImporteeWildcard.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTImporter.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTInit.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTLitBoolean.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTLitByte.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTLitChar.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTLitDouble.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTLitFloat.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTLitInt.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTLitLong.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTLitNull.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTLitShort.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTLitString.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTLitSymbol.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTLitUnit.java | 2 +- .../pmd/lang/scala/ast/ASTMemberParamClauseGroup.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModAbstract.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModAnnot.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTModCase.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTModContravariant.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModCovariant.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModFinal.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModImplicit.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModInline.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTModLazy.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModOverride.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModPrivate.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModProtected.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModSealed.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModValParam.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTModVarParam.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTNameAnonymous.java | 2 +- .../pmd/lang/scala/ast/ASTNameIndeterminate.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTPatAlternative.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTPatArgClause.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTPatBind.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTPatExtract.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTPatExtractInfix.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTPatInterpolate.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTPatSeqWildcard.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTPatTuple.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTPatTyped.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTPatVar.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTPatWildcard.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTPatXml.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTPkg.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTPkgObject.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTQuasi.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTSelf.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTSource.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTemplate.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermAnnotate.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermApply.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTermApplyInfix.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTermApplyType.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTermApplyUnary.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTermArgClause.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermAscribe.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermAssign.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermBlock.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTermDo.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTermEta.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTermFor.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermForYield.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermFunction.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTermIf.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTermInterpolate.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermMatch.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermName.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTermNew.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTermNewAnonymous.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermParam.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTermParamClause.java | 2 +- .../pmd/lang/scala/ast/ASTTermPartialFunction.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTermPlaceholder.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermRepeated.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermReturn.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermSelect.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermSuper.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermThis.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermThrow.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTermTry.java | 2 +- .../pmd/lang/scala/ast/ASTTermTryWithHandler.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermTuple.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTermWhile.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTermXml.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTypeAnd.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeAnnotate.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeApply.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTypeApplyInfix.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTypeArgClause.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeBounds.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeByName.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTypeExistential.java | 2 +- .../pmd/lang/scala/ast/ASTTypeFuncParamClause.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeFunction.java | 2 +- .../pmd/lang/scala/ast/ASTTypeImplicitFunction.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeLambda.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeMethod.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeName.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTypeOr.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeParam.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTypeParamClause.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTypePlaceholder.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeProject.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeRefine.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeRepeated.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeSelect.java | 2 +- .../sourceforge/pmd/lang/scala/ast/ASTTypeSingleton.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeTuple.java | 2 +- .../java/net/sourceforge/pmd/lang/scala/ast/ASTTypeVar.java | 2 +- .../net/sourceforge/pmd/lang/scala/ast/ASTTypeWith.java | 2 +- .../sourceforge/pmd/lang/scala/ast/AbstractScalaNode.java | 6 +++--- .../ast/{ScalaParserVisitor.java => ScalaVisitor.java} | 2 +- ...ScalaParserVisitorAdapter.java => ScalaVisitorBase.java} | 2 +- .../java/net/sourceforge/pmd/lang/scala/rule/ScalaRule.java | 4 ++-- 139 files changed, 146 insertions(+), 141 deletions(-) rename pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/{ScalaParserVisitor.java => ScalaVisitor.java} (99%) rename pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/{ScalaParserVisitorAdapter.java => ScalaVisitorBase.java} (81%) diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index 2138b1e39c..587315dad9 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -249,6 +249,11 @@ The following previously deprecated classes have been removed: need to be adjusted. * The node `ASTClassOrInterfaceBody` has been renamed to {% jdoc java::lang.ast.ASTClassBody %}. XPath rules need to be adjusted. +* pmd-scala + * The interface `ScalaParserVisitor` has been renamed to {%jdoc scala::lang.scala.ast.ScalaVisitor %} in order + to align the naming scheme for the different language modules. + * The class `ScalaParserVisitorAdapter` has been renamed to {%jdoc scala::lang.scala.ast.ScalaVisitorBase %} in order + to align the naming scheme for the different language modules. #### External Contributions * [#4640](https://github.com/pmd/pmd/pull/4640): \[cli] Launch script fails if run via "bash pmd" - [Shai Bennathan](https://github.com/shai-bennathan) (@shai-bennathan) diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCase.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCase.java index 3157a6a4aa..324bc67094 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCase.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCase.java @@ -16,7 +16,7 @@ public final class ASTCase extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCtorPrimary.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCtorPrimary.java index 97fe26ddca..b0aa4eed98 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCtorPrimary.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCtorPrimary.java @@ -16,7 +16,7 @@ public final class ASTCtorPrimary extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCtorSecondary.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCtorSecondary.java index bd88016d33..a7678675e7 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCtorSecondary.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCtorSecondary.java @@ -16,7 +16,7 @@ public final class ASTCtorSecondary extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclDef.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclDef.java index 8ce54d93b1..3331d784df 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclDef.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclDef.java @@ -16,7 +16,7 @@ public final class ASTDeclDef extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclType.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclType.java index 7da0477667..6dc14dab66 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclType.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclType.java @@ -16,7 +16,7 @@ public final class ASTDeclType extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVal.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVal.java index 3e58a1605b..c69b6d2e9d 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVal.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVal.java @@ -16,7 +16,7 @@ public final class ASTDeclVal extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVar.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVar.java index b1865c2885..5b6b29406d 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVar.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVar.java @@ -16,7 +16,7 @@ public final class ASTDeclVar extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnClass.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnClass.java index 4075fe7a38..170a20bed8 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnClass.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnClass.java @@ -16,7 +16,7 @@ public final class ASTDefnClass extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnDef.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnDef.java index 54c1120bc5..e770e679e5 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnDef.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnDef.java @@ -16,7 +16,7 @@ public final class ASTDefnDef extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnMacro.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnMacro.java index 6432159e94..7cf5292218 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnMacro.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnMacro.java @@ -16,7 +16,7 @@ public final class ASTDefnMacro extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnObject.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnObject.java index 9a2149d423..fb49098910 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnObject.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnObject.java @@ -16,7 +16,7 @@ public final class ASTDefnObject extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnTrait.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnTrait.java index 9321d71a37..fadeb359a5 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnTrait.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnTrait.java @@ -16,7 +16,7 @@ public final class ASTDefnTrait extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnType.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnType.java index 8bebab284f..26c22874dc 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnType.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnType.java @@ -16,7 +16,7 @@ public final class ASTDefnType extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVal.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVal.java index 2bf097e8fe..48796661e4 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVal.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVal.java @@ -16,7 +16,7 @@ public final class ASTDefnVal extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVar.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVar.java index 502d8437b7..993a585928 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVar.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVar.java @@ -16,7 +16,7 @@ public final class ASTDefnVar extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGenerator.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGenerator.java index 19ebca749c..3c8631ac77 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGenerator.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGenerator.java @@ -16,7 +16,7 @@ public final class ASTEnumeratorGenerator extends AbstractScalaNode R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGuard.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGuard.java index e171284792..be21c5eb59 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGuard.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGuard.java @@ -16,7 +16,7 @@ public final class ASTEnumeratorGuard extends AbstractScalaNode R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorVal.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorVal.java index 09b8a9924a..5db4bd66bf 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorVal.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorVal.java @@ -16,7 +16,7 @@ public final class ASTEnumeratorVal extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImport.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImport.java index 90749d2240..329b018e56 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImport.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImport.java @@ -16,7 +16,7 @@ public final class ASTImport extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeName.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeName.java index 87eb949e9e..7dd2a0488a 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeName.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeName.java @@ -16,7 +16,7 @@ public final class ASTImporteeName extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeRename.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeRename.java index 4b80bd6cae..56d4c8c45d 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeRename.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeRename.java @@ -16,7 +16,7 @@ public final class ASTImporteeRename extends AbstractScalaNode } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeUnimport.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeUnimport.java index 6d5de96062..4935f1836d 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeUnimport.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeUnimport.java @@ -16,7 +16,7 @@ public final class ASTImporteeUnimport extends AbstractScalaNode R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeWildcard.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeWildcard.java index 5b0464ffe6..8461202085 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeWildcard.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeWildcard.java @@ -16,7 +16,7 @@ public final class ASTImporteeWildcard extends AbstractScalaNode R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporter.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporter.java index 6b07a81f7c..23ac910aa0 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporter.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporter.java @@ -16,7 +16,7 @@ public final class ASTImporter extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTInit.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTInit.java index c459e051f1..1ce8f93ef3 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTInit.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTInit.java @@ -16,7 +16,7 @@ public final class ASTInit extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitBoolean.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitBoolean.java index e15ba1e3d5..402d486f07 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitBoolean.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitBoolean.java @@ -16,7 +16,7 @@ public final class ASTLitBoolean extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitByte.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitByte.java index 8c8e4d73ba..a242febff7 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitByte.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitByte.java @@ -16,7 +16,7 @@ public final class ASTLitByte extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitChar.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitChar.java index 85ea9ae940..7c72afa0af 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitChar.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitChar.java @@ -16,7 +16,7 @@ public final class ASTLitChar extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitDouble.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitDouble.java index bcc328db61..3b957243be 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitDouble.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitDouble.java @@ -16,7 +16,7 @@ public final class ASTLitDouble extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitFloat.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitFloat.java index 8a58620747..b6188453c1 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitFloat.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitFloat.java @@ -16,7 +16,7 @@ public final class ASTLitFloat extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitInt.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitInt.java index 8dc3cde2d1..34b50cb6a6 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitInt.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitInt.java @@ -16,7 +16,7 @@ public final class ASTLitInt extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitLong.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitLong.java index 7fc2a5cea8..06ebf8609f 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitLong.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitLong.java @@ -16,7 +16,7 @@ public final class ASTLitLong extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitNull.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitNull.java index dc966c9b97..8cc59b6bb8 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitNull.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitNull.java @@ -16,7 +16,7 @@ public final class ASTLitNull extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitShort.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitShort.java index 22d7e3d898..f510805719 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitShort.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitShort.java @@ -16,7 +16,7 @@ public final class ASTLitShort extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitString.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitString.java index fd55565cd4..f2037f6033 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitString.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitString.java @@ -16,7 +16,7 @@ public final class ASTLitString extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitSymbol.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitSymbol.java index 113560d02b..c705947a5f 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitSymbol.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitSymbol.java @@ -16,7 +16,7 @@ public final class ASTLitSymbol extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitUnit.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitUnit.java index 559e902a57..a3897b9d20 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitUnit.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitUnit.java @@ -16,7 +16,7 @@ public final class ASTLitUnit extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTMemberParamClauseGroup.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTMemberParamClauseGroup.java index 0ef6b67e2e..3c386b4cc9 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTMemberParamClauseGroup.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTMemberParamClauseGroup.java @@ -16,7 +16,7 @@ public final class ASTMemberParamClauseGroup extends AbstractScalaNode R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAbstract.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAbstract.java index 3c0d4e093e..830a4cf721 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAbstract.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAbstract.java @@ -16,7 +16,7 @@ public final class ASTModAbstract extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAnnot.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAnnot.java index 147bef1d57..834461a42b 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAnnot.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAnnot.java @@ -16,7 +16,7 @@ public final class ASTModAnnot extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCase.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCase.java index be57e5aca3..4989558785 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCase.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCase.java @@ -16,7 +16,7 @@ public final class ASTModCase extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModContravariant.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModContravariant.java index 4b04b06638..89a14cee5f 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModContravariant.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModContravariant.java @@ -16,7 +16,7 @@ public final class ASTModContravariant extends AbstractScalaNode R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCovariant.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCovariant.java index 78ceaa095c..aee89d0ff1 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCovariant.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCovariant.java @@ -16,7 +16,7 @@ public final class ASTModCovariant extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModFinal.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModFinal.java index 51237b8eee..c04c80b636 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModFinal.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModFinal.java @@ -16,7 +16,7 @@ public final class ASTModFinal extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModImplicit.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModImplicit.java index ba4e06b382..d84ca5e878 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModImplicit.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModImplicit.java @@ -16,7 +16,7 @@ public final class ASTModImplicit extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModInline.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModInline.java index 1d8a1335fb..2eab9c6470 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModInline.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModInline.java @@ -16,7 +16,7 @@ public final class ASTModInline extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModLazy.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModLazy.java index 93333e0c6d..42ff086c3e 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModLazy.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModLazy.java @@ -16,7 +16,7 @@ public final class ASTModLazy extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModOverride.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModOverride.java index d2a5ce6425..ca6522bab5 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModOverride.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModOverride.java @@ -17,7 +17,7 @@ public final class ASTModOverride extends AbstractScalaNode { // java.lang package is required or else PMD can't see this Override @java.lang.Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModPrivate.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModPrivate.java index 9435ca9eed..3495d02508 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModPrivate.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModPrivate.java @@ -16,7 +16,7 @@ public final class ASTModPrivate extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModProtected.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModProtected.java index e32fbaaad9..e51c6a5775 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModProtected.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModProtected.java @@ -16,7 +16,7 @@ public final class ASTModProtected extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModSealed.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModSealed.java index 13ccd7e2a9..77109e14d1 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModSealed.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModSealed.java @@ -16,7 +16,7 @@ public final class ASTModSealed extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModValParam.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModValParam.java index 8d480303f8..b762f615f5 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModValParam.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModValParam.java @@ -16,7 +16,7 @@ public final class ASTModValParam extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModVarParam.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModVarParam.java index c4e1d1b083..a758f29fb0 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModVarParam.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModVarParam.java @@ -16,7 +16,7 @@ public final class ASTModVarParam extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameAnonymous.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameAnonymous.java index c35925b927..9d3e8a4cbc 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameAnonymous.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameAnonymous.java @@ -16,7 +16,7 @@ public final class ASTNameAnonymous extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameIndeterminate.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameIndeterminate.java index 5aa220a8a1..82af6c1636 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameIndeterminate.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameIndeterminate.java @@ -16,7 +16,7 @@ public final class ASTNameIndeterminate extends AbstractScalaNode R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatAlternative.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatAlternative.java index b6ffc9c3bf..c904863ff4 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatAlternative.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatAlternative.java @@ -16,7 +16,7 @@ public final class ASTPatAlternative extends AbstractScalaNode } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatArgClause.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatArgClause.java index 3344e572f9..89889e3ecb 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatArgClause.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatArgClause.java @@ -16,7 +16,7 @@ public final class ASTPatArgClause extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatBind.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatBind.java index c1549dcda8..205e08eed4 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatBind.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatBind.java @@ -16,7 +16,7 @@ public final class ASTPatBind extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtract.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtract.java index 2ad3e09598..35d132a750 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtract.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtract.java @@ -16,7 +16,7 @@ public final class ASTPatExtract extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtractInfix.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtractInfix.java index 59d5a676f1..3b2fe92581 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtractInfix.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtractInfix.java @@ -16,7 +16,7 @@ public final class ASTPatExtractInfix extends AbstractScalaNode R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatInterpolate.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatInterpolate.java index ef137a4c0f..d9369c82ba 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatInterpolate.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatInterpolate.java @@ -16,7 +16,7 @@ public final class ASTPatInterpolate extends AbstractScalaNode } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatSeqWildcard.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatSeqWildcard.java index 57a594e23f..cc7bf1ce4a 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatSeqWildcard.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatSeqWildcard.java @@ -16,7 +16,7 @@ public final class ASTPatSeqWildcard extends AbstractScalaNode } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTuple.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTuple.java index 0d33c2a0e9..f2b7e852fd 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTuple.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTuple.java @@ -16,7 +16,7 @@ public final class ASTPatTuple extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTyped.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTyped.java index b479fa58fe..b520e1e3b4 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTyped.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTyped.java @@ -16,7 +16,7 @@ public final class ASTPatTyped extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatVar.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatVar.java index 981d6e2456..dd9ff284a5 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatVar.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatVar.java @@ -16,7 +16,7 @@ public final class ASTPatVar extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatWildcard.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatWildcard.java index f8efc06814..cfa9d36313 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatWildcard.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatWildcard.java @@ -16,7 +16,7 @@ public final class ASTPatWildcard extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatXml.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatXml.java index 01717c6ada..8d3aed4465 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatXml.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatXml.java @@ -16,7 +16,7 @@ public final class ASTPatXml extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPkg.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPkg.java index a960bef86b..d25d68730f 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPkg.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPkg.java @@ -16,7 +16,7 @@ public final class ASTPkg extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPkgObject.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPkgObject.java index 4b6bdd91ea..4233db02f9 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPkgObject.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPkgObject.java @@ -16,7 +16,7 @@ public final class ASTPkgObject extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTQuasi.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTQuasi.java index 78eecbfb1c..6a10fd07b8 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTQuasi.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTQuasi.java @@ -16,7 +16,7 @@ public final class ASTQuasi extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSelf.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSelf.java index 1f9fdbce27..1b27d6e4fa 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSelf.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSelf.java @@ -16,7 +16,7 @@ public final class ASTSelf extends AbstractScalaNode { } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSource.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSource.java index 522d5b99c0..e3aab4d52d 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSource.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSource.java @@ -32,7 +32,7 @@ public final class ASTSource extends AbstractScalaNode implements RootNo } @Override - protected R acceptVisitor(ScalaParserVisitor visitor, P data) { + protected R acceptVisitor(ScalaVisitor visitor, P data) { return visitor.visit(this, data); } } diff --git a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTemplate.java b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTemplate.java index 8351440f5b..79a89d2caa 100644 --- a/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTemplate.java +++ b/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTemplate.java @@ -16,7 +16,7 @@ public final class ASTTemplate extends AbstractScalaNode