Skip to content

XJC class visibility too restrictive #1314

@bertramn

Description

@bertramn

Is it possible to relax the visibility of core XJC code model classes? codemodel is generally useful but with package private constructors on things like JAnnotationUse this library is rather useless.

Here is another example where we cannot effectively use the classes to write custom XJC compiler extensions. If we want to replace a field on a class model we cannot set its parent as CPropertyInfo.setParent is only visible at package level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions