delete

fun delete(pattern: String)

Deletes any classes or resources that match the provided pattern.

The pattern will match class names or resource paths, with optional wildcards:

  • * will match a single package component or path part.

  • ** will match against the remainder of any valid fully-qualified class name or resource path.