net.sourceforge.pmd.rules.design

Class ExcessiveLengthRule

public class ExcessiveLengthRule extends StatisticalRule

This is a common super class for things which have excessive length.

i.e. LongMethod and LongClass rules.

To implement an ExcessiveLength rule, you pass in the Class of node you want to check, and this does the rest for you.

Constructor Summary
ExcessiveLengthRule(Class nodeClass)
Method Summary
Objectvisit(SimpleJavaNode node, Object data)

Constructor Detail

ExcessiveLengthRule

public ExcessiveLengthRule(Class nodeClass)

Method Detail

visit

public Object visit(SimpleJavaNode node, Object data)