Skip to content

Commit

Permalink
add required static modifiers #222
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsh committed Dec 31, 2020
1 parent 419612b commit 3a2ad79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ my_named ::= part1 part2 part3 {
````
public class SamplePsiImplUtil {
// methods from PsiNamedElement interface with an extra MyName parameter
@Nullable @NonNls String getName(MyNamed o) { ... }
PsiElement setName(MyNamed o, @NonNls @NotNull String name) throws IncorrectOperationException { ... }
public static @Nullable String getName(MyNamed o) { ... }
public static PsiElement setName(MyNamed o, @NotNull String name) throws IncorrectOperationException { ... }
}
````

Expand Down

0 comments on commit 3a2ad79

Please sign in to comment.