Class MethodPropertyModule
- java.lang.Object
-
- net.sourceforge.pmd.properties.modules.PackagedPropertyModule<Method>
-
- net.sourceforge.pmd.properties.modules.MethodPropertyModule
-
@Deprecated public class MethodPropertyModule extends PackagedPropertyModule<Method>
Deprecated.Factorises common functionality for method properties.- Author:
- Clément Fournier
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARRAY_FLAG
Deprecated.static char
CLASS_METHOD_DELIMITER
Deprecated.static char
METHOD_ARG_DELIMITER
Deprecated.static char[]
METHOD_GROUP_DELIMITERS
Deprecated.
-
Constructor Summary
Constructors Constructor Description MethodPropertyModule(String[] legalPackageNames, List<Method> defaults)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
asString(Method method)
Deprecated.protected String
itemTypeName()
Deprecated.Returns the name of the type of item.protected String
packageNameOf(Method method)
Deprecated.Returns the package name of the item.-
Methods inherited from class net.sourceforge.pmd.properties.modules.PackagedPropertyModule
addAttributesTo, legalPackageNames, packageNamesIn, valueErrorFor
-
-
-
-
Field Detail
-
CLASS_METHOD_DELIMITER
public static final char CLASS_METHOD_DELIMITER
Deprecated.- See Also:
- Constant Field Values
-
METHOD_ARG_DELIMITER
public static final char METHOD_ARG_DELIMITER
Deprecated.- See Also:
- Constant Field Values
-
METHOD_GROUP_DELIMITERS
public static final char[] METHOD_GROUP_DELIMITERS
Deprecated.
-
ARRAY_FLAG
public static final String ARRAY_FLAG
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
packageNameOf
protected String packageNameOf(Method method)
Deprecated.Description copied from class:PackagedPropertyModule
Returns the package name of the item.- Specified by:
packageNameOf
in classPackagedPropertyModule<Method>
- Parameters:
method
- Item (not null)- Returns:
- Package name of the item
-
itemTypeName
protected String itemTypeName()
Deprecated.Description copied from class:PackagedPropertyModule
Returns the name of the type of item.- Specified by:
itemTypeName
in classPackagedPropertyModule<Method>
- Returns:
- The name of the type of item
-
-