public interface ClassReleaser
Allows to remove metadata associated by Groovy (or Java) with a class, which is often necessary to get on-the-fly garbage collection.
Modifier and Type | Method and Description |
---|---|
void |
release(Class<?> clazz)
release class metadata when done using it.
|
void release(Class<?> clazz)
Allows to remove metadata associated by Groovy (or Java) with a class, which is often necessary to get on-the-fly garbage collection.
clazz
- The class to release.