< prev index next >

core/JemmyCore/src/org/jemmy/dock/DefaultWrapper.java

Print this page




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package org.jemmy.dock;
  27 
  28 import java.lang.annotation.Documented;
  29 import java.lang.annotation.ElementType;
  30 import java.lang.annotation.Target;
  31 
  32 /**
  33  * Putting this on a public static method allows to generate constructors which
  34  * do not take parent as a parameter, taking whatever is coming from this method
  35  * instead. An annotated method should take one parameter - class of the controls
  36  * to by looked for and should return parent for that type.
  37  * @see Parent
  38  * @author shura
  39  */
  40 @Target(ElementType.METHOD)
  41 @Documented
  42 public @interface DefaultWrapper {
  43 }


  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package org.jemmy.dock;
  27 
  28 import java.lang.annotation.Documented;
  29 import java.lang.annotation.ElementType;
  30 import java.lang.annotation.Target;
  31 
  32 /**
  33  * Putting this on a public static method allows to generate constructors which
  34  * do not take parent as a parameter, taking whatever is coming from this method
  35  * instead. An annotated method should take one parameter - class of the controls
  36  * to by looked for and should return parent for that type.

  37  * @author shura
  38  */
  39 @Target(ElementType.METHOD)
  40 @Documented
  41 public @interface DefaultWrapper {
  42 }
< prev index next >