Skip to content

Property renderer#8

Merged
rpelisse merged 3 commits into
pmd:masterfrom
adangel:property-renderer
Nov 14, 2012
Merged

Property renderer#8
rpelisse merged 3 commits into
pmd:masterfrom
adangel:property-renderer

Conversation

@adangel

@adangel adangel commented Nov 4, 2012

Copy link
Copy Markdown
Member

This one tries to finish the PropertyDescriptor work. The renderers now use the new PropertyDescriptor instead of the old properties map.

The old style properties should still work and are marked as deprecated. It is magically mapped to the new style properties, see defineProperty in AbstractRenderer.

 * Provides also a default fall back to StringProperty
 * Use the new PropertyDescriptor for PMD command line help text
@buildhive

Copy link
Copy Markdown

PMD » pmd #13 SUCCESS
This pull request looks good
(what's this?)

rpelisse added a commit that referenced this pull request Nov 14, 2012
Great job on Property renderer ! Thanks !
@rpelisse rpelisse merged commit 4a5afbc into pmd:master Nov 14, 2012
aaronhurst-google pushed a commit to aaronhurst-google/pmd that referenced this pull request Oct 11, 2022
* Build expression statements
** Build assignment expressions
** Build array expressions
** Build literal expressions
** Build cast expressions
** Build operator expressions
** Build `this`/`super` expressions
** Build type reference expressions
** Build field/variable expressions
** Build method call expressions

* Build ternary expressions
* Refactor `AbstractApexNode`
** Add default implementations for some methods
** Add empty constructor
** Implement `AbstractApexNode.getDefiningType`

* Fix `ASTLiteralExpression.getImage`

* Implement reference types
** Implement `ASTReferenceExpression.isSObjectType`
** Implement `ASTReferenceExpression.hasRealLoc`
** Fix `ASTEmptyReferenceExpression.getDefiningType`

* Implement `ASTMethodCallExpression.getFullMethodName`

* Update `ASTLiteralExpression.getImage`

* Replace `Triple` with `data class`

* Fix `BITWISE_XOR`

* Replace `Identifier.asCodeString` with `getString`

* Fix call expressions
** Only the `receiver` of `CallExpression`s should be flattened

* Fix `referenceTypeOf`
Reference type should only be `STORE` when the variable is the target of
assignment.

* Rename `ASTMethodCallExpression.components`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants