net.sourceforge.pmd.properties
Class NonRuleWithAllPropertyTypes

java.lang.Object
  extended by AbstractRule
      extended by net.sourceforge.pmd.properties.NonRuleWithAllPropertyTypes

public class NonRuleWithAllPropertyTypes
extends AbstractRule

A non-functional rule containing all property types. Used for testing UIs. Steps required to use with Eclipse Plugin: update your chosen ruleset xml file to include this 'rule' compile new PMD jars copy both the pmd5.0.jar and pmd-test-5.0.jar to the eclipse-plugin/lib directory update the /manifest.mf file to ensure it includes the pmd-test-5.0.jar

Author:
Brian Remedios

Field Summary
static  enumType
           
static BooleanMultiProperty multiBool
           
static CharacterMultiProperty multiChar
           
static  multiEnumType
           
static FloatMultiProperty multiFloat
           
static IntegerMultiProperty multiInt
           
static LongMultiProperty multiLong
           
static MethodMultiProperty multiMethod
           
static StringMultiProperty multiStr
           
static TypeMultiProperty multiType
           
static BooleanProperty singleBool
           
static CharacterProperty singleChar
           
static FloatProperty singleFloat
           
static IntegerProperty singleInt
           
static LongProperty singleLong
           
static MethodProperty singleMethod
           
static StringProperty singleStr
           
static TypeProperty singleType
           
 
Constructor Summary
NonRuleWithAllPropertyTypes()
           
 
Method Summary
 void apply(List<? extends Node> nodes, RuleContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleStr

public static final StringProperty singleStr

multiStr

public static final StringMultiProperty multiStr

singleInt

public static final IntegerProperty singleInt

multiInt

public static final IntegerMultiProperty multiInt

singleLong

public static final LongProperty singleLong

multiLong

public static final LongMultiProperty multiLong

singleBool

public static final BooleanProperty singleBool

multiBool

public static final BooleanMultiProperty multiBool

singleChar

public static final CharacterProperty singleChar

multiChar

public static final CharacterMultiProperty multiChar

singleFloat

public static final FloatProperty singleFloat

multiFloat

public static final FloatMultiProperty multiFloat

singleType

public static final TypeProperty singleType

multiType

public static final TypeMultiProperty multiType

singleMethod

public static final MethodProperty singleMethod

multiMethod

public static final MethodMultiProperty multiMethod

enumType

public static final  enumType

multiEnumType

public static final  multiEnumType
Constructor Detail

NonRuleWithAllPropertyTypes

public NonRuleWithAllPropertyTypes()
Method Detail

apply

public void apply(List<? extends Node> nodes,
                  RuleContext ctx)


Copyright © 2002–2015 InfoEther. All rights reserved.