test/jdk/javadoc/doclet/testBaseClass/Bar.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 25,30 ****
--- 25,47 ----
/** First line of comments for Bar
* Second line of comments for Bar
*/
public class Bar extends Foo {
+
+ /**
+ * A public method.
+ */
+ public void aPublicMethod(){}
+ /**
+ * A protected method.
+ */
+ protected void aProtectedMethod(){}
+ /**
+ * A private method.
+ */
+ private void aPrivateMethod(){}
+ /**
+ * A package protected method.
+ */
+ void aPackagePrivateMethod(){}
} // end class Bar