org.sonar.check
Annotation Type RuleProperty


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface RuleProperty

Since:
2.3

Optional Element Summary
 String defaultValue
          Optional default value.
 String description
          Optional description
 String key
          The default key is the field name, read by reflection.
 

key

public abstract String key
The default key is the field name, read by reflection. Overriding this key can be useful when obfuscating the code.

Default:
""

description

public abstract String description
Optional description

Default:
""

defaultValue

public abstract String defaultValue
Optional default value.

Default:
""


Copyright © 2009-2011 SonarSource. All Rights Reserved.