Create guides for using code annotations and decorators
Create annotation documentation for:
**Language/Framework:** {{LANGUAGE}}
**Annotation System:** {{ANNOTATION_SYSTEM}}
**Annotations:**
{{ANNOTATIONS}}
Generate comprehensive annotation documentation:
# {{LANGUAGE}} Annotations Guide
## Overview
- What annotations/decorators do
- How they work
- When to use them
## Built-in Annotations
### @AnnotationName
**Purpose:** What this annotation does
**Target:** Class/Method/Field/Parameter
**Parameters:**
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
**Example:**
```{{LANGUAGE}}
@AnnotationName(param = "value")
public class MyClass {
// ...
}
```
**Behavior:**
- What happens at compile time
- What happens at runtime
**Common Use Cases:**
- Use case 1
- Use case 2
---
[Repeat for all annotations]
## Combining Annotations
### Valid Combinations
```{{LANGUAGE}}
@Annotation1
@Annotation2
public void method() {}
```
### Invalid Combinations
Annotations that conflict
## Custom Annotations
### Creating a Custom Annotation
```{{LANGUAGE}}
// Definition
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MyAnnotation {
String value() default "";
}
// Usage
@MyAnnotation("example")
public void method() {}
```
### Processing Annotations
How to read annotation values
## Best Practices
- When to use annotations
- When not to use annotations
- Performance considerations
## Troubleshooting
### Common Issues
| Issue | Cause | Solution |
|-------|-------|----------|
## Reference Table
| Annotation | Purpose | Target |
|------------|---------|--------|
## See Also
- Related documentation
- Framework docsOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{LANGUAGE][{ANNOTATION_SYSTEM][{ANNOTATIONS][
// ...
]{
String value() default "";
}