public interface ClassIndexListener extends EventListener
ClassIndex
.
When attached to a ClassIndex
it listens for addition,
removal and modification of declared types.
Modifier and Type | Method and Description |
---|---|
void |
rootsAdded(RootsEvent event)
Called when new roots are added
into the
ClassPath for which the ClassIndex
was created. |
void |
rootsRemoved(RootsEvent event)
Called when root are removed
from the
ClassPath for which the ClassIndex
was created. |
void |
typesAdded(TypesEvent event)
Called when the new declared types are added
into the
ClassIndex |
void |
typesChanged(TypesEvent event)
Called when some declared types are changed.
|
void |
typesRemoved(TypesEvent event)
Called when declared types are removed
from the
ClassIndex |
void typesAdded(TypesEvent event)
ClassIndex
event
- specifying the added typesvoid typesRemoved(TypesEvent event)
ClassIndex
event
- specifying the removed typesvoid typesChanged(TypesEvent event)
event
- specifying the changed typesvoid rootsAdded(RootsEvent event)
ClassPath
for which the ClassIndex
was created.event
- specifying the added rootsvoid rootsRemoved(RootsEvent event)
ClassPath
for which the ClassIndex
was created.event
- specifying the removed roots