public final class TypesEvent extends EventObject
ClassIndexListener
about
a change of declared types in the ClassIndex
source
Modifier and Type | Method and Description |
---|---|
ElementHandle<ModuleElement> |
getModule()
Returns the affected module in case of module-info change.
|
URL |
getRoot()
Returns an
URL of the affected root. |
Iterable<? extends ElementHandle<TypeElement>> |
getTypes()
Returns the affected declared types.
|
String |
toString() |
getSource
@NonNull public URL getRoot()
URL
of the affected root.@NonNull public Iterable<? extends ElementHandle<TypeElement>> getTypes()
Iterable
of TypeElement
handles@CheckForNull public ElementHandle<ModuleElement> getModule()
ModuleElement
handles@NonNull public String toString()
toString
in class EventObject