equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
40 * This code and its internal interfaces are subject to change or |
40 * This code and its internal interfaces are subject to change or |
41 * deletion without notice.</b> |
41 * deletion without notice.</b> |
42 * |
42 * |
43 * @author Neal Gafter |
43 * @author Neal Gafter |
44 */ |
44 */ |
45 @Deprecated |
45 @Deprecated(since="9", forRemoval=true) |
|
46 @SuppressWarnings("removal") |
46 public class JavadocClassFinder extends ClassFinder { |
47 public class JavadocClassFinder extends ClassFinder { |
47 |
48 |
48 public static JavadocClassFinder instance(Context context) { |
49 public static JavadocClassFinder instance(Context context) { |
49 ClassFinder instance = context.get(classFinderKey); |
50 ClassFinder instance = context.get(classFinderKey); |
50 if (instance == null) |
51 if (instance == null) |