Author: alexsmirnov
Date: 2009-12-29 16:36:21 -0500 (Tue, 29 Dec 2009)
New Revision: 16228
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Alias.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attribute.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attributes.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Behavior.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Component.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Converter.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/DefaultValue.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/DisplayName.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Event.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/EventName.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/EventNames.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Facet.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Facets.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Family.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Fires.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Generate.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Icon.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Renderer.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/RendererTemplate.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/RendererTemplates.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Signature.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/SuggestedValue.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Test.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/TestType.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/package-info.java
Log:
Fix checkstyle errors
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Alias.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Alias.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Alias.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -30,13 +30,15 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0">Attribute aliases. CDK will generate
getters/setters for these aliases which
- * delegate calls to the original attribute methods. </p>
- *
+ * <p class="changed_added_4_0">
+ * Attribute aliases. CDK will generate getters/setters for these aliases which delegate
calls to the original attribute
+ * methods.
+ * </p>
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.METHOD, ElementType.FIELD})
+@Target( { ElementType.METHOD, ElementType.FIELD })
@Inherited
public @interface Alias {
@@ -44,8 +46,9 @@
/**
* <p class="changed_added_4_0">
- * Attribute aliases. This is mandatory parameter</p>
- *
+ * Attribute aliases. This is mandatory parameter
+ * </p>
+ *
* @return attribute aliases.
*/
public String[] value();
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attribute.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attribute.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attribute.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-
package org.richfaces.cdk.annotations;
import java.lang.annotation.ElementType;
@@ -32,39 +30,50 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @author asmirnov(a)exadel.com
- *
+ *
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.FIELD, ElementType.METHOD})
+@Target( { ElementType.FIELD, ElementType.METHOD })
@Inherited
public @interface Attribute {
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @return
*/
boolean literal() default false;
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @return
*/
boolean hidden() default false;
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @return
*/
boolean readOnly() default false;
-// boolean transient() default false;
+ // boolean transient() default false;
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @return
*/
boolean passThrough() default false;
+
boolean required() default false;
}
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attributes.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attributes.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attributes.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -32,7 +32,7 @@
/**
* <p class="changed_added_4_0">
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -44,12 +44,11 @@
/**
* <p class="changed_added_4_0">
- * To avoid copy/paste routine for standard or other useful attributes, their
definitions could be
- * stored in faces-config.xml extensions and reused from different
- * components.
+ * To avoid copy/paste routine for standard or other useful attributes, their
definitions could be stored in
+ * faces-config.xml extensions and reused from different components.
* </p>
- *
- * @return URL's of the XML files that contain attribute definitions.
+ *
+ * @return URL's of the XML files that contain attribute definitions.
*/
public String[] value();
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Behavior.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Behavior.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Behavior.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -32,7 +32,7 @@
/**
* <p class="changed_added_4_0">
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -44,12 +44,12 @@
/**
* <p class="changed_added_4_0">
- * behavior-id with which instances of implementation class can be created b JSF
Application implementation.
- * If this value an empty, behavior-id will be inferred from class name. </p>
- *
+ * behavior-id with which instances of implementation class can be created b JSF
Application implementation. If this
+ * value an empty, behavior-id will be inferred from class name.
+ * </p>
+ *
* @return converter type.
*/
public String value();
-
}
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Component.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Component.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Component.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -31,15 +31,13 @@
/**
* <p class="changed_added_4_0">
- * That annotation marks class as JSF component. The difference with JSF 2.0
- * @{@link javax.faces.component.FacesComponent} annotation is what this one
could marks abstaract
- * class from which a real UI-component implementation will be generated. The
- * value of default {@link #value()} attribute is taken to be
- * <em>component type</em>. The fully qualified class name becomes a
component
- * class unless that class is abstract or final component class is defined by
- * the {@link Generate} annotation value.
+ * That annotation marks class as JSF component. The difference with JSF 2.0 @
+ * {@link javax.faces.component.FacesComponent} annotation is what this one could marks
abstaract class from which a
+ * real UI-component implementation will be generated. The value of default {@link
#value()} attribute is taken to be
+ * <em>component type</em>. The fully qualified class name becomes a
component class unless that class is abstract or
+ * final component class is defined by the {@link Generate} annotation value.
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -48,20 +46,21 @@
public @interface Component {
/**
- * <p class="changed_added_4_0">Annotation class name to use as key
for annotation processor class.</p>
+ * <p class="changed_added_4_0">
+ * Annotation class name to use as key for annotation processor class.
+ * </p>
*/
public static final String NAME =
"org.richfaces.cdk.annotations.Component";
/**
* <p class="changed_added_4_0">
- * Type of the component. Currently this is mandatory parameter because CDK
- * uses <em>component-type</em> as primary key for components library
model.
+ * Type of the component. Currently this is mandatory parameter because CDK uses
<em>component-type</em> as primary
+ * key for components library model.
* </p>
* <p class="todo">
- * TODO if this value is an empty, component type will be inferred from
- * class name.
+ * TODO if this value is an empty, component type will be inferred from class name.
* </p>
- *
+ *
* @return component type.
*/
public String value() default "";
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Converter.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Converter.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Converter.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -32,7 +32,7 @@
/**
* <p class="changed_added_4_0">
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -46,7 +46,7 @@
* <p class="changed_added_4_0">
* Type of the renderer. If this value an empty, component type will be inferred from
class name.
* </p>
- *
+ *
* @return converter type.
*/
public String id() default "";
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/DefaultValue.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/DefaultValue.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/DefaultValue.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-
package org.richfaces.cdk.annotations;
import java.lang.annotation.ElementType;
@@ -32,12 +30,14 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @author asmirnov(a)exadel.com
- *
+ *
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.METHOD, ElementType.FIELD})
+@Target( { ElementType.METHOD, ElementType.FIELD })
@Inherited
public @interface DefaultValue {
String value();
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/DisplayName.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/DisplayName.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/DisplayName.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -30,13 +30,14 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0">Defines name that would be used in IDE to
display.
+ * <p class="changed_added_4_0">
+ * Defines name that would be used in IDE to display.
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.TYPE, ElementType.METHOD})
+@Target( { ElementType.TYPE, ElementType.METHOD })
@Inherited
public @interface DisplayName {
@@ -46,11 +47,9 @@
* <p class="changed_added_4_0">
* IDE display name.
* </p>
- *
+ *
* @return Icon url.
*/
public String value();
-
-
}
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Event.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Event.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Event.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -30,14 +30,15 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0">This annotation tells CDK to generate
event-related classes:
+ * <p class="changed_added_4_0">
+ * This annotation tells CDK to generate event-related classes:
* <ul>
* <li>Event listener interface</li>
* <li>Event source interface</li>
* <li>Event tag handler and binding wrapper.</li>
* </ul>
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -51,7 +52,7 @@
* <p class="changed_added_4_0">
* Name of the listener interface class.
* </p>
- *
+ *
* @return name of generated listener interface..
*/
public String listener() default "";
@@ -60,7 +61,7 @@
* <p class="changed_added_4_0">
* Name of the listener interface class.
* </p>
- *
+ *
* @return name of generated source interface..
*/
public String source() default "";
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/EventName.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/EventName.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/EventName.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-
package org.richfaces.cdk.annotations;
import java.lang.annotation.ElementType;
@@ -32,23 +30,29 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @author asmirnov(a)exadel.com
- *
+ *
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.METHOD, ElementType.FIELD})
+@Target( { ElementType.METHOD, ElementType.FIELD })
@Inherited
public @interface EventName {
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @return
*/
public String value() default "";
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @return
*/
public boolean defaultEvent() default false;
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/EventNames.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/EventNames.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/EventNames.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-
package org.richfaces.cdk.annotations;
import java.lang.annotation.ElementType;
@@ -32,17 +30,21 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @author asmirnov(a)exadel.com
- *
+ *
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.METHOD, ElementType.FIELD})
+@Target( { ElementType.METHOD, ElementType.FIELD })
@Inherited
public @interface EventNames {
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @return
*/
public EventName[] value();
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Facet.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Facet.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Facet.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -30,8 +30,9 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0"></p>
- *
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -42,8 +43,10 @@
public static final String NAME = "org.richfaces.cdk.annotations.Facet";
/**
- * <p class="changed_added_4_0">The name of that facet.</p>
- *
+ * <p class="changed_added_4_0">
+ * The name of that facet.
+ * </p>
+ *
* @return
*/
String value() default "";
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Facets.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Facets.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Facets.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -32,7 +32,7 @@
/**
* <p class="changed_added_4_0">
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -44,11 +44,10 @@
/**
* <p class="changed_added_4_0">
- * To avoid copy/paste routine for standard or other useful attributes, their
definitions could be
- * stored in faces-config.xml extensions and reused from different
- * components.
+ * To avoid copy/paste routine for standard or other useful attributes, their
definitions could be stored in
+ * faces-config.xml extensions and reused from different components.
* </p>
- *
+ *
* @return references to XML files that contain attributes definitions.
*/
public Facet[] value();
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Family.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Family.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Family.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -30,8 +30,10 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0">Defines family of the JSF component or
renderer.</p>
- *
+ * <p class="changed_added_4_0">
+ * Defines family of the JSF component or renderer.
+ * </p>
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -40,15 +42,19 @@
public @interface Family {
/**
- * <p class="changed_added_4_0">Annotation class name to use as key
for annotation processor class.</p>
+ * <p class="changed_added_4_0">
+ * Annotation class name to use as key for annotation processor class.
+ * </p>
*/
public static final String NAME = "org.richfaces.cdk.annotations.Family";
/**
* <p class="changed_added_4_0">
- * The value of this annotation attribute is taken to be
<em>component-family</em> for annotated JSF component or renderer class. If
this value an empty, it will be inferred from component type or
<code>COMPONENT_FAMILY</code> constant.
+ * The value of this annotation attribute is taken to be
<em>component-family</em> for annotated JSF component or
+ * renderer class. If this value an empty, it will be inferred from component type or
<code>COMPONENT_FAMILY</code>
+ * constant.
* </p>
- *
+ *
* @return component family.
*/
public String value() default "";
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Fires.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Fires.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Fires.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-
package org.richfaces.cdk.annotations;
import java.lang.annotation.ElementType;
@@ -34,8 +32,10 @@
import javax.faces.event.FacesEvent;
/**
- * <p class="changed_added_4_0">This annotation defines events that are
fired by component.</p>
- *
+ * <p class="changed_added_4_0">
+ * This annotation defines events that are fired by component.
+ * </p>
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -44,9 +44,10 @@
public @interface Fires {
/**
- * <p class="changed_added_4_0">Array of all {@link FacesEvent}
inherited classes that could be fired
- * by component.</p>
- *
+ * <p class="changed_added_4_0">
+ * Array of all {@link FacesEvent} inherited classes that could be fired by
component.
+ * </p>
+ *
* @return
*/
public Class<? extends FacesEvent>[] value();
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Generate.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Generate.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Generate.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -31,14 +31,14 @@
/**
* <p class="changed_added_4_0">
- * The presence of this annotation tells CDK to generate class or method
- * implementation even though target does not have the {@code abstract} modifier.
+ * The presence of this annotation tells CDK to generate class or method implementation
even though target does not have
+ * the {@code abstract} modifier.
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.TYPE, ElementType.METHOD})
+@Target( { ElementType.TYPE, ElementType.METHOD })
@Inherited
public @interface Generate {
@@ -50,7 +50,7 @@
* <p class="changed_added_4_0">
* Name of the generated class. If this value was an empty, name will be inferred by
CDK.
* </p>
- *
+ *
* @return generated object type.
*/
public String value() default "";
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Icon.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Icon.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Icon.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -30,13 +30,14 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0">Icon used that would be used in IDE to
display.
+ * <p class="changed_added_4_0">
+ * Icon used that would be used in IDE to display.
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Target( { ElementType.TYPE, ElementType.METHOD, ElementType.FIELD })
@Inherited
public @interface Icon {
@@ -46,12 +47,11 @@
* <p class="changed_added_4_0">
* URL that defines IDE icon.
* </p>
- *
+ *
* @return Icon url.
*/
public String small() default "";
public String large() default "";
-
}
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Renderer.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Renderer.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Renderer.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -30,9 +30,10 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0">The presence of this annotation in the
JSF component class associated particular
- * renderer with component. </p>
- *
+ * <p class="changed_added_4_0">
+ * The presence of this annotation in the JSF component class associated particular
renderer with component.
+ * </p>
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -47,10 +48,9 @@
* The value of this annotation attribute is taken to be JSF
<em>renderer-type</em>. If this value was empty,
* component type will be inferred from by the CDK.
* </p>
- *
+ *
* @return JSF <em>renderer-type</em>.
*/
public String value() default "";
-
}
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/RendererTemplate.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/RendererTemplate.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/RendererTemplate.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -32,7 +32,7 @@
/**
* <p class="changed_added_4_0">
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -46,10 +46,9 @@
* <p class="changed_added_4_0">
* Reference to renderer template used with that component.
* </p>
- *
+ *
* @return template url.
*/
public String value();
-
}
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/RendererTemplates.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/RendererTemplates.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/RendererTemplates.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -32,7 +32,7 @@
/**
* <p class="changed_added_4_0">
* </p>
- *
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
@@ -44,11 +44,10 @@
/**
* <p class="changed_added_4_0">
- * To avoid copy/paste routine for standard or other useful attributes, their
definitions could be
- * stored in faces-config.xml extensions and reused from different
- * components.
+ * To avoid copy/paste routine for standard or other useful attributes, their
definitions could be stored in
+ * faces-config.xml extensions and reused from different components.
* </p>
- *
+ *
* @return references to XML files that contain attributes definitions.
*/
public RendererTemplate[] value();
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Signature.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Signature.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Signature.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-
package org.richfaces.cdk.annotations;
import java.lang.annotation.ElementType;
@@ -32,23 +30,32 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0">This annotation defines a Java method
signature for attributes that hold EL {@code MethodExpression} values.</p>
+ * <p class="changed_added_4_0">
+ * This annotation defines a Java method signature for attributes that hold EL {@code
MethodExpression} values.
+ * </p>
+ *
* @author asmirnov(a)exadel.com
- *
+ *
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.METHOD, ElementType.FIELD})
+@Target( { ElementType.METHOD, ElementType.FIELD })
@Inherited
public @interface Signature {
/**
- * <p class="changed_added_4_0">Method return type. Default is {@code
Object}</p>
+ * <p class="changed_added_4_0">
+ * Method return type. Default is {@code Object}
+ * </p>
+ *
* @return
*/
public Class<?> returnType() default Object.class;
/**
- * <p class="changed_added_4_0">Method parameters. Default is
no-argument method.</p>
+ * <p class="changed_added_4_0">
+ * Method parameters. Default is no-argument method.
+ * </p>
+ *
* @return
*/
public Class<?>[] parameters() default {};
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/SuggestedValue.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/SuggestedValue.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/SuggestedValue.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-
package org.richfaces.cdk.annotations;
import java.lang.annotation.ElementType;
@@ -32,12 +30,14 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
+ *
* @author asmirnov(a)exadel.com
- *
+ *
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.METHOD, ElementType.FIELD})
+@Target( { ElementType.METHOD, ElementType.FIELD })
@Inherited
public @interface SuggestedValue {
String value();
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Test.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Test.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Test.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -30,14 +30,17 @@
import java.lang.annotation.Target;
/**
- * <p class="changed_added_4_0">Mark component class or method for
automated testing.</p>
- * <p class="todo">TODO: introduce additional parameters to refine
generated test.
+ * <p class="changed_added_4_0">
+ * Mark component class or method for automated testing.
* </p>
- *
+ * <p class="todo">
+ * TODO: introduce additional parameters to refine generated test.
+ * </p>
+ *
* @author asmirnov(a)exadel.com
*/
@Retention(RetentionPolicy.CLASS)
-(a)Target({ElementType.TYPE, ElementType.METHOD})
+@Target( { ElementType.TYPE, ElementType.METHOD })
@Inherited
public @interface Test {
@@ -45,26 +48,30 @@
/**
* <p class="changed_added_4_0">
- * Name of the generated unit test class. Currently that is mandatory</p>
- * <p class="todo">TODO: if this value is an empty, class will be
inferred from the base class name.
+ * Name of the generated unit test class. Currently that is mandatory
* </p>
- *
+ * <p class="todo">
+ * TODO: if this value is an empty, class will be inferred from the base class name.
+ * </p>
+ *
* @return name of the generated test class.
*/
public String testClass();
/**
- * <p class="changed_added_4_0">The value of this annotation
attribute is taken to be a name of the generated
- * test method.</p>
- *
+ * <p class="changed_added_4_0">
+ * The value of this annotation attribute is taken to be a name of the generated test
method.
+ * </p>
+ *
* @return
*/
public String testMethod() default "";
/**
- * <p class="changed_added_4_0">The value of this annotation
attribute tells CDK what kind of tests should be
- * generated.</p>
- *
+ * <p class="changed_added_4_0">
+ * The value of this annotation attribute tells CDK what kind of tests should be
generated.
+ * </p>
+ *
* @return
*/
public TestType type() default TestType.ALL;
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/TestType.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/TestType.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/TestType.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -21,29 +21,35 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-
package org.richfaces.cdk.annotations;
/**
- * <p class="changed_added_4_0">Types of automatically generated
tests.</p>
+ * <p class="changed_added_4_0">
+ * Types of automatically generated tests.
+ * </p>
+ *
* @author asmirnov(a)exadel.com
- *
+ *
*/
public enum TestType {
/**
- * <p class="changed_added_4_0">Generate tests for JSF
<b>RENDER_RESPONSE</b> phase.</p>
+ * <p class="changed_added_4_0">
+ * Generate tests for JSF <b>RENDER_RESPONSE</b> phase.
+ * </p>
*/
RENDER,
/**
- * <p class="changed_added_4_0"></p>
+ * <p class="changed_added_4_0">
+ * </p>
*/
DECODE,
/**
- * <p class="changed_added_4_0">Generate all possible
tests.</p>
+ * <p class="changed_added_4_0">
+ * Generate all possible tests.
+ * </p>
*/
ALL
}
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/package-info.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/package-info.java 2009-12-29
19:23:05 UTC (rev 16227)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/package-info.java 2009-12-29
21:36:21 UTC (rev 16228)
@@ -1,4 +1,3 @@
-
/**
* <h1>Java annotations used by the CDK.</h1>
* <h2>Class-level annotations:</h2>
@@ -32,3 +31,4 @@
*
*/
package org.richfaces.cdk.annotations;
+