-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Look at annotations on method returns and params (#160)
Also, make sure this works for anonymous inner classes.
- Loading branch information
1 parent
ed064ec
commit 9586f4e
Showing
3 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...rser/generators/workspace/com/gazelle/java/javaparser/generators/AnonymousInnerClass.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package workspace.com.gazelle.java.javaparser.generators; | ||
|
||
import java.util.HashMap; | ||
|
||
public class AnonymousInnerClass { | ||
public static final HashMap<String, String> map = new HashMap<>() { | ||
@javax.annotation.Nullable | ||
@Override | ||
public boolean containsValue(@org.jetbrains.annotations.Nullable Object value) { | ||
return true; | ||
} | ||
}; | ||
} |