[
https://issues.apache.org/jira/browse/BCEL-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14697863#comment-14697863
]
Sebb commented on BCEL-233:
---------------------------
Surely you can create the class with the correct flags initially?
Does it really need to be mutable?
> The access_flags field in AccessFlags class should be final
> -----------------------------------------------------------
>
> Key: BCEL-233
> URL: https://issues.apache.org/jira/browse/BCEL-233
> Project: Commons BCEL
> Issue Type: Improvement
> Reporter: Sebb
> Fix For: 6.0
>
>
> The access_flags field in the AccessFlags class should be final.
> It is currently not set by any other classes outside their constructors.
> The public setters - e.g. isPrivate(boolean) - are not used and should be
> deleted. [Apart from that, their names are really confusing.]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)