net.sourceforge.pmd.rules.strings

Class UseIndexOfChar

public class UseIndexOfChar extends AbstractPoorMethodCall

Constructor Summary
UseIndexOfChar()
Method Summary
protected booleanisViolationArgument(int argIndex, String arg)
Method isViolationArgument.
protected String[]methodNames()
Method methodNames.
protected StringtargetTypename()
Method targetTypeName.

Constructor Detail

UseIndexOfChar

public UseIndexOfChar()

Method Detail

isViolationArgument

protected boolean isViolationArgument(int argIndex, String arg)
Method isViolationArgument.

Parameters: argIndex int arg String

Returns: boolean

methodNames

protected String[] methodNames()
Method methodNames.

Returns: String[]

targetTypename

protected String targetTypename()
Method targetTypeName.

Returns: String