public interface UsedDetector
Element
as used. Allows to suppress the standard NetBeans
unused element detection and to prevent the "unused" hint being displayed on given elements.
Can be used by various framework libraries that sometimes honor annotations
(i.e. injections or bindings) even on private methods.Modifier and Type | Interface and Description |
---|---|
static interface |
UsedDetector.Factory
Factory to create
UsedDetector instances. |
Modifier and Type | Method and Description |
---|---|
boolean |
isUsed(Element el,
TreePath path)
Checks whether given element should be marked as "used".
|