1 /*
2  * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
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
7  * published by the Free Software Foundation.
8  *
9  * This code is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12  * version 2 for more details (a copy is included in the LICENSE file that
13  * accompanied this code).
14  *
15  * You should have received a copy of the GNU General Public License version
16  * 2 along with this work; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  */
23 
24 package pkg1;
25 
26 public class C {
27 
28     /**
29      * @propertySetter Property
30      * @propertyDescription PropertyDescription
31      */
CC()32     public void CC() {}
33 
34     /**
35      * @propertyGetter Property
36      *
37      */
B()38     public void B() {}
39 
40     /**
41      * Method A documentation
42      * @treatAsPrivate
43      */
A()44     public void A() {}
45 
46     /**
47      * Field i
48      * @defaultValue 1.0
49      */
50     public int i;
51 
52 
53     /**
54      * Defines the direction/speed at which the {@code Timeline} is expected to
55      * be played. This is the second line.
56      * @defaultValue 11
57      * @since JavaFX 8.0
58      */
59     private DoubleProperty rate;
60 
setRate(double value)61     public final void setRate(double value) {}
62 
getRate()63     public final double getRate() { return 1.0d; }
64 
rateProperty()65     public final DoubleProperty rateProperty() { return null; }
66 
67     private BooleanProperty paused;
68 
setPaused(boolean value)69     public final void setPaused(boolean value) {}
70 
isPaused()71     public final double isPaused() { return 3.14d; }
72 
73     /**
74      * Defines if paused. The second line.
75      * @defaultValue false
76      * @return foo
77      */
pausedProperty()78     public final BooleanProperty pausedProperty() { return null; }
79 
80     class DoubleProperty {}
81 
82     class BooleanProperty {}
83 
setTestMethodProperty()84     public final BooleanProperty setTestMethodProperty() { return null; }
85 
86     private class Inner {
testMethodProperty()87         private BooleanProperty testMethodProperty() {}
88 
89         /**
90          * Defines the direction/speed at which the {@code Timeline} is expected to
91          * be played. This is the second line.
92          * @defaultValue 11
93          */
94         private DoubleProperty rate;
95 
setRate(double value)96         public final void setRate(double value) {}
97 
getRate()98         public final double getRate() { return 3.14d; }
99 
rateProperty()100         public final DoubleProperty rateProperty() { return null; }
101     }
102 }
103