Commit Graph

4667 Commits

Author SHA1 Message Date
59537fb15c Merge branch 'master' into experimental-apex-parser 2024-02-13 20:12:39 +01:00
ee1d72955d [doc] Update release notes - Apex: Replaced Jorje with fully open source front-end
Fixes #3766
2024-02-13 20:12:28 +01:00
dbe6053af4 [apex] Remove module pmd-apex-jorje 2024-02-13 19:18:16 +01:00
204232c238 [apex] Remove ASTBridgeMethodCreator
Update release notes/migration guide
2024-02-13 18:43:09 +01:00
526d9684c5 [apex] Remove namespace implementations
Fixes TODO(b/243905954)
2024-02-12 20:17:53 +01:00
19907a74d9 [apex] Finish ASTReferenceExpression
- removed method getContext() - always returned null
  Fixes TODO(b/243906211)
- Verify that getReferenceType() returns the correct values
  Fixes TODO(b/239648780)
2024-02-10 21:01:52 +01:00
dbde030d8f [core] Remove @DeprecatedUntil700 2024-02-10 13:10:53 +01:00
1b4acab7c4 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-10 12:36:58 +01:00
b0818362e7 [ant] Add javadoc, internalize ReportException 2024-02-10 11:57:11 +01:00
dc4d195d77 [doc] Fix javadoc for moved classes 2024-02-10 11:57:11 +01:00
5705847594 [core] Consolidate internal api in properties
PropertyTypeId - moved to internal
PropertyDescriptor#getTypeId
2024-02-10 11:56:58 +01:00
68d4561544 [core] Consolidate internal api in XPath Attribute
Attribute#replacementIfDeprecated
2024-02-10 10:51:19 +01:00
5e92b5907e [core] Consolidate internal api in FileCollector
FileCollector#newCollector
2024-02-10 10:47:07 +01:00
3a635da9c2 [core] Consolidate internal api in PMDConfiguration
PMDConfiguration#setAnalysisCache
PMDConfiguration#getAnalysisCache
2024-02-10 10:38:26 +01:00
2cc9ae9d7e [core] Consolidate internal api in LexException 2024-02-10 10:05:56 +01:00
7c5bf74402 [core] Consolidate internal api in n.s.p.lang.rule
RuleSet#applies
RuleSetLoader#loadRuleSetsWithoutException
RuleSetLoadException ctors
2024-02-10 09:58:53 +01:00
72edaee08a [core] Internalize ParametricRuleViolation 2024-02-09 22:02:36 +01:00
bc5be45566 Merge branch 'master' into issue-4348-internal-api 2024-02-09 21:31:05 +01:00
19496ef198 Merge pull request #4808 from adangel:issue-3905-tree-export-api
[core] Promote Tree Export API as stable #4808
2024-02-09 16:56:56 +01:00
5931461ca9 Merge pull request #4804 from adangel:issue-4309-xpath-cleanups
[core] XPath cleanups #4804
2024-02-09 16:23:58 +01:00
8950cec263 [doc] Fix javadoc links after moving reporting 2024-02-09 15:49:54 +01:00
6a328d6cd0 Merge pull request #4803 from adangel:issue-3903-reporting-package
[core] Consolidate n.s.pmd.reporting package #4803
2024-02-09 15:32:55 +01:00
a9c0ee0cd7 [doc] Fix javadoc links after moving Rule 2024-02-09 14:47:15 +01:00
2a3128fb86 Merge pull request #4799 from adangel:issue-3917-rule-package
[core] Consolidate n.s.pmd.lang.rule package #4799
2024-02-09 14:39:03 +01:00
e0eb36b195 [apex] FieldDeclarationsShouldBeAtStartRule - remove STATIC_INITIALIZER_METHOD_NAME 2024-02-09 12:16:38 +01:00
b9f2ca7432 [apex] ASTMethod - remove #isSynthetic
- keep CONSTRUCTOR_ID and STATIC_INIT_ID private
- update migration documentation
2024-02-09 12:02:35 +01:00
da26d5cdb3 [doc] Update release notes (#4349) 2024-02-09 08:48:09 +01:00
0d40878b0a Promote experimental APIs as stable
- HTML support and Kotlin support no more experimental
- The only left over experimental APIs are java preview features
2024-02-09 08:46:48 +01:00
05f4a23eca [doc] Fix migration doc after renaming Java AST classes 2024-02-08 18:28:35 +01:00
ec374a071f [doc] Migrating java MethodDeclaration @Image 2024-02-08 18:24:49 +01:00
5599a8fd65 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-08 18:23:41 +01:00
b6adbf5bb5 [java] Remove deprecated classes and methods
AbstractPackageNameModuleDirective#getImage
AbstractTypeDeclaration#getImage
ASTAnnotation#getAnnotationName
ASTClassType#ASTClassType(String)
ASTClassType#getImage
ASTClassType#isReferenceToClassSameCompilationUnit
ASTFieldDeclaration#getVariableName
ASTLiteral#is_xxx_Literal
ASTMethodDeclaration#getMethodName
ASTMethodReference#getImage
ASTModuleName#getImage
ASTPrimitiveType#getImage
ASTType#getTypeImage
ASTType#getArrayDepth
ASTType#isPrimitiveType #isArrayType #isClassOrInterfaceType
ASTTypeDeclaration#getImage
ASTUnaryExpression#isPrefix
ASTVariableId#getImage
ASTVariableId#getVariableName
JavaComment#getImage
JavaNode#jjtAccept
JavaParserVisitor
JavaParserVisitorAdapter
ModifierOwner#isFinal #isAbstract ... #isPublic ...
TypeNode#getType
2024-02-08 17:54:19 +01:00
77beab517a [core] Remove deprecated methods in RuleSetLoader and RuleViolation
RuleSetLoader#toFactory
RuleViolation#getPackageName
RuleViolation#getClassName
RuleViolation#getMethodName
RuleViolation#getVariableName
2024-02-08 13:47:53 +01:00
d1ff6b89e7 [core] Remove deprecated method Report#merge 2024-02-08 13:33:08 +01:00
28f2cf8e40 [core] Remove deprecated methods in AbstractConfiguration and PMDConfiguration
AbstractConfiguration#setIgnoreFilePath
AbstractConfiguration#setInputFilePath
AbstractConfiguration#setInputPaths
AbstractConfiguration#setInputUri
PMDConfiguration#prependClasspath
PMDConfiguration#getRuleSets
PMDConfiguration#setRuleSets
PMDConfiguration#setReportFile
PMDConfiguration#getReportFile
2024-02-08 11:16:00 +01:00
0543cf0819 [core] Remove deprecated methods in CollectionUtil
CollectionUtil#invertedMapFrom
CollectionUtil#mapFrom
2024-02-08 10:54:07 +01:00
bc5ba3a54f [core] Remove deprecated DataSource classes
DataSource
FileDataSource
ReaderDataSource
ZipDataSource
2024-02-08 10:36:11 +01:00
5c02b62623 [core] Remove deprecated members in Reportable
Reportable#getBeginLine
Reportable#getBeginColumn
Reportable#getEndLine
Reportable#getEndColumn
2024-02-08 10:10:09 +01:00
50cbfe6834 [core] Remove deprecated members in AbstractPropertySource
AbstractPropertySource#propertyDescriptors (private now)
AbstractPropertySource#propertyValuesByDescriptor (private now)
AbstractPropertySource#copyPropertyDescriptors
AbstractPropertySource#copyPropertyValues
2024-02-08 09:53:48 +01:00
9e5115479d [core] Remove deprecated methods in Language, LanguageRegistry
Language#getTerseName
LanguageModuleBase#getTerseName
LanguageRegistry#getLanguage
LanguageRegistry#findLanguageByTerseName
LanguageRegistry#findByExtension
2024-02-08 09:53:34 +01:00
90ab50ca29 [core] Remove XPathRule#XPATH_DESCRIPTOR 2024-02-08 09:00:33 +01:00
cdc70c633a [core] Remove deprecated methods in RuleReference
RuleReference#setRuleSetReference
RuleReference#hasOverriddenProperty
2024-02-08 08:29:55 +01:00
1900aa79c4 [core] Remove deprecated methods in AbstractRule
AbstractRule#deepCopyValuesTo
AbstractRule#addRuleChainVisit
AbstractRule#addViolation
AbstractRule#addViolationWithMessage
2024-02-08 08:25:45 +01:00
f95431f336 [core] Remove deprecated AbstractDelegateRule 2024-02-06 21:33:33 +01:00
3ec38df9b0 [core] Remove deprecated XPathVersions 2024-02-06 21:33:08 +01:00
41938cacea Use latest pmd-designer 7.0.0-SNAPSHOT 2024-02-04 14:53:03 +01:00
5e4b7f5eb5 Merge pull request #4798 from adangel:textcolor-renderer
[core] TextColorRenderer: Remove property color #4798
2024-02-02 20:02:02 +01:00
fa97cff7ff Merge pull request #4797 from adangel:lexexception-cpdlexer
[core] Rename TokenMgrError to LexException, Tokenizer to CpdLexer #4797
2024-02-02 19:59:41 +01:00
a78e17b7a6 Merge pull request #4796 from adangel:remove-deprecated-and-release-rulesets
Remove deprecated and release rulesets #4796
2024-02-02 19:57:04 +01:00
a76ec3410c Merge pull request #4795 from adangel:remove-ruleset-factory-compatibility
[core] Remove ruleset compatibility filter (RuleSetFactoryCompatibility) and CLI option --no-ruleset-compatibility #4795
2024-02-02 19:53:51 +01:00