Skip to content

Expand managedOverride for none #981

Closed
@jpobst

Description

@jpobst

In #701, we created the managedOverride metadata which allows a user to override which of virtual/override keywords are placed on a method:

<attr path="//method[@name='example']" name="managedOverride">override</attr>
<attr path="//method[@name='example']" name="managedOverride">virtual</attr>

However, sometimes the desired fix is "none of the above". For example, there may not be a method to override, however the class is sealed so virtual is not a valid option either. Both keywords must be omitted.

We should add support for a third none option:

<attr path="//method[@name='example']" name="managedOverride">none</attr>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementProposed change to current functionalitygeneratorIssues binding a Java library (generator, class-parse, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions