diff options
Diffstat (limited to 'core/testdata/format/dac/deprecation/DeprecatedBar.kt')
-rw-r--r-- | core/testdata/format/dac/deprecation/DeprecatedBar.kt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/core/testdata/format/dac/deprecation/DeprecatedBar.kt b/core/testdata/format/dac/deprecation/DeprecatedBar.kt new file mode 100644 index 000000000..8eb729299 --- /dev/null +++ b/core/testdata/format/dac/deprecation/DeprecatedBar.kt @@ -0,0 +1,17 @@ +class Bar { + fun replacementBarMethod(): Bar { return Bar() } + + fun badBarMethod(): DeprecatedBar { return DeprecatedBar() } + + /** + * @deprecated Use {@link #replacementBarMethod()} instead. + */ + @Deprecated + fun goodBarMethod(): DeprecatedBar { return DeprecatedBar() } +} + +/** + * @deprecated Use {@link #Bar} instead. + */ +@Deprecated +class DeprecatedBar
\ No newline at end of file |