---
title: "Delete"
description: "Mechanism to ensures that an element is not used."
kind: "annotation interface"
id: "com.oracle.svm.core.annotate.Delete"
module: "nativeimage"
version: "25.6.0-elide.4"
canonical: "https://graalvm.elide.help/25.6.0-elide.4/api/nativeimage/com/oracle/svm/core/annotate/Delete.html"
---

# @ Delete

[nativeimage](../../../../../index.md) › [com.oracle.svm.core.annotate](index.md) · Every page: [llms.txt](../../../../../llms.txt)

Annotation interface in [`com.oracle.svm.core.annotate`](index.md). Since 22.3.

```java
@Retention(RUNTIME)
@Target({TYPE, METHOD, CONSTRUCTOR, FIELD})
public @interface Delete
```

Mechanism to ensures that an element is not used.

The element can also be annotated with [`TargetElement`](TargetElement.md) to specify additional properties. See [`TargetClass`](TargetClass.md) for an overview of the annotation system.

## Elements

### value()
<a id="value()"></a>`String value() default ""`. Since 22.3. Documents the reason why the annotated element is deleted. Default: `""`. Cite: `com/oracle/svm/core/annotate/Delete.html#value()`
