This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; @NamedQueries({ @NamedQuery(name = MyEntity.Q_ALL, query = "SELECT e FROM MyEntity e") }) public final class MyEntity { public static final String Q_ALL = "All"; } * Rename Refactoring is not offered within the annotation (MyEntity.Q_ALL in @NamedQuery) * Rename Refactoring in the class does not rename in the annoation (Q_ALL) * Find Usages within the class does not find usages in the annotation