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 * @propertyDescription PropertyDescription 30 */ CC()31 public void CC() {} 32 33 /** 34 * 35 */ B()36 public void B() {} 37 38 /** 39 * Method A documentation 40 * @treatAsPrivate 41 */ A()42 public void A() {} 43 44 /** 45 * Field i 46 * @defaultValue 1.0 47 */ 48 public int i; 49 50 51 /** 52 * Defines the direction/speed at which the {@code Timeline} is expected to 53 * be played. This is the second line. 54 * @defaultValue 11 55 * @since JavaFX 8.0 56 */ 57 private DoubleProperty rate; 58 setRate(double value)59 public final void setRate(double value) {} 60 getRate()61 public final double getRate() { return 1.0d; } 62 rateProperty()63 public final DoubleProperty rateProperty() { return null; } 64 65 private BooleanProperty paused; 66 setPaused(boolean value)67 public final void setPaused(boolean value) {} 68 isPaused()69 public final double isPaused() { return 3.14d; } 70 71 /** 72 * Defines if paused. The second line. 73 * @defaultValue false 74 * @return foo 75 */ pausedProperty()76 public final BooleanProperty pausedProperty() { return null; } 77 78 class DoubleProperty {} 79 80 class BooleanProperty {} 81 setTestMethodProperty()82 public final BooleanProperty setTestMethodProperty() { return null; } 83 84 private class Inner { testMethodProperty()85 private BooleanProperty testMethodProperty() {} 86 87 /** 88 * Defines the direction/speed at which the {@code Timeline} is expected to 89 * be played. This is the second line. 90 * @defaultValue 11 91 */ 92 private DoubleProperty rate; 93 setRate(double value)94 public final void setRate(double value) {} 95 getRate()96 public final double getRate() { return 3.14d; } 97 rateProperty()98 public final DoubleProperty rateProperty() { return null; } 99 } 100 } 101