net.sourceforge.pmd.properties

Class MethodProperty

public class MethodProperty extends AbstractPMDProperty

Author: Brian Remedios

Constructor Summary
MethodProperty(String theName, String theDescription, Object theDefault, float theUIOrder)
Constructor for MethodProperty.
Method Summary
Class<Method>type()
Method type.
ObjectvalueFrom(String propertyString)
Method valueFrom.

Constructor Detail

MethodProperty

public MethodProperty(String theName, String theDescription, Object theDefault, float theUIOrder)
Constructor for MethodProperty.

Parameters: theName String theDescription String theDefault Object theUIOrder float

Method Detail

type

public Class<Method> type()
Method type.

Returns: Class

See Also: type

valueFrom

public Object valueFrom(String propertyString)
Method valueFrom.

Parameters: propertyString String

Returns: Object

Throws: IllegalArgumentException

See Also: valueFrom