Skip to content

Commit

Permalink
Debug annotation: explicitly specify RetentionPolicy for consistency …
Browse files Browse the repository at this point in the history
…with other classes
  • Loading branch information
chashnikov committed Nov 1, 2019
1 parent ca898f2 commit 56422f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/src/main/java/org/jetbrains/annotations/Debug.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import org.intellij.lang.annotations.Language;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
Expand All @@ -14,6 +16,7 @@ public final class Debug {
* Allows to change the presentation of an object in debuggers
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.CLASS)
public @interface Renderer {
/**
* Expression to be evaluated and used as the textual representation of the object.<br>
Expand Down

0 comments on commit 56422f9

Please sign in to comment.