-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[all] Breaking API changes for 7.0.0 #881
Labels
in:pmd-internals
Affects PMD's internals
Milestone
Comments
adangel
added a commit
that referenced
this issue
Mar 12, 2018
adangel
added a commit
that referenced
this issue
Sep 11, 2018
1 task
adangel
added a commit
to adangel/pmd
that referenced
this issue
Jan 18, 2023
adangel
added a commit
to adangel/pmd
that referenced
this issue
Jan 18, 2023
adangel
added a commit
to adangel/pmd
that referenced
this issue
Jan 18, 2023
adangel
added a commit
to adangel/pmd
that referenced
this issue
Jan 18, 2023
It was only used be the old ui viewer, which was removed with pmd#1431 already
adangel
added a commit
to adangel/pmd
that referenced
this issue
Jan 19, 2023
It was only used be the old ui viewer, which was removed with pmd#1431 already
jsotuyod
added a commit
that referenced
this issue
Jan 24, 2023
…vals [core] Remove deprecated classes/methods (finish #881)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
List of breaking API changes and deprecated APIs to be removed for 7.0.0:
JavaQualifiedName
out of thenet.sourceforge.pmd.lang.java.ast
, as it's not part of the AST in any way.getFormalParameters()
in interfaceASTMethodOrConstructorDeclaration
Object getNextToken();
inn.s.p.lang.TokenManager
toGenericToken
or evenT
(with<T extends GenericToken>
). See [core] Refactor CPD token filtering #1039Deprecated APIs:
AbstractNode.hasDecendantOfAnyType
n.s.pmd.util.viewer.gui
(old ast viewer)n.s.pmd.util.designer
(old designer)PMD.VERSION
RuleSetFactory(ClassLoader, RulePriority, boolean, boolean)
Rule.usesDFA
,Rule.usesTypeResolution
,Rule.usesMultifile
,Rule.usesRuleChain
Rule.setUsesDFA
,Rule.setUsesTypeResolution
,Rule.setUsesMultifile
AbstractRule
andAbstractDelegateRule
n.s.pmd.benchmark
:StringUtil
members:startsWithAny
isNotEmpty
isEmpty
isMissing
areSemanticEquals
replaceString
(2 overloads)substringsOf
(2 overloads)asStringOn
(2 overloads)lpad
CollectionUtil
members (IIRC some of these implementations should be moved to the eclipse plugin)arraysAreEqual
valuesAreTransitivelyEqual
areEqual
areSemanticEquals
addWithoutDuplicates
(2 overloads)EnumeratedProperty<E>(String, String, String[], E[], int, float)
EnumeratedProperty<E>(String, String, String[], E[], int, Class<E>, float)
PMDParameters. transformParametersIntoConfiguration
net.sourceforge.pmd.pmd.dcd.graph.MemberNode.equals(...)
ASTConstructorDeclaration.getParameters()
Node
's<T> void findDescendantsOfType(Class<T> targetType, List<T> results, boolean crossFindBoundaries)
Node
's<T> void findDescendantsOfType(Class<T> targetType, List<T> results, boolean crossFindBoundaries)
public <T> List<T> findDescendantsOfType(final Class<T> targetType, final boolean crossBoundaries)
toNode
net.sourceforge.pmd.util.log.ConsoleLogHandler
entirely (see [core] Log only once all messages #1045)net.sourceforge.pmd.lang.java.ast.ASTFormalParameter::setVarargs()
package-privatesetXX
method of AST nodes that's only used by the parser should be made package privatenet.sourceforge.pmd.lang.java.xpath.TypeOfFunction
entirelytypeof
fromnet.sourceforge.pmd.lang.java.xpath.JavaFunctions
isA
,isEither
andisNeither
fromnet.sourceforge.pmd.lang.java.typeresolution.TypeHelper
CommentUtil
(see [java] Deprecated CommentUtil, move implementation to AST Comment #1198, [java] Update comment rules for java #2802)AbstractCommentRule.tagsIndicesIn()
(see [java] Deprecated CommentUtil, move implementation to AST Comment #1198, [java] Update comment rules for java #2802)ASTImportDeclaration
should no longer be aTypeNode
ASTImportDeclaration
'ssetImportOnDemand
andsetStatic
should be made package-privateASTConditionalExpression.setTernary
andASTConditionalExpression.isTernary
net.sourceforge.pmd.lang.dfa.report
(see [core] Deprecate ReportTree #1283)Open
net.sourceforge.pmd.cli.PMDParameters.RulePriorityConverter
entirely (see [core] Fix JCommander help for -min option #1147)RuleSetWriter.RULESET_NS_URI
net.sourceforge.pmd.lang.rule.RuleReference.RuleReference()
(default constructor)pmd-core/src/main/resources/net/sourceforge/pmd/util/viewer/resources/viewer_strings.properties
Remaining tasks:
The text was updated successfully, but these errors were encountered: