Method | Description | |
---|---|---|
ConstructSwum ( |
Constructs the SWUM for the given node, using this rule.
|
|
EmptyNameRule ( ) : System |
Creates a new EmptyNameRule using default values for data sets.
|
|
EmptyNameRule ( HashSet |
Creates a new EmptyNameRule.
|
|
EmptyNameRule ( |
Creates a new EmptyNameRule.
|
|
EmptyNameRule ( |
Creates a new EmptyNameRule.
|
Method | Description | |
---|---|---|
MakeClassification ( |
Determines whether the given MethodDeclarationNode meets the conditions for this rule. This method assumes that the name is parsed, preamble is stripped, and digits and prepositions are tagged.
|
public ConstructSwum ( |
||
node | The node to construct SWUM for. | |
return | void |
public EmptyNameRule ( HashSet |
||
specialWords | HashSet |
A list of words that indicate the method name needs special handling. |
booleanArgumentVerbs | HashSet |
A list of verbs that indicate that the boolean arguments to a method should be included in the UnknownArguments list. |
nounPhraseIndicators | HashSet |
A list of word that indicate that beginning of a noun phrase. |
positionalFrequencies | Positional frequency data. | |
return | System |
public EmptyNameRule ( |
||
posData | The part-of-speech data to use. | |
tagger | The part-of-speech tagger to use. | |
splitter | The identifier splitter to use. | |
return | System |
public EmptyNameRule ( |
||
posData | The part-of-speech data to use. | |
tagger | The part-of-speech tagger to use. | |
splitter | The identifier splitter to use. | |
specialWords | HashSet |
A list of words that indicate the method name needs special handling. |
booleanArgumentVerbs | HashSet |
A list of verbs that indicate that the boolean arguments to a method should be included in the UnknownArguments list. |
nounPhraseIndicators | HashSet |
A list of word that indicate that beginning of a noun phrase. |
positionalFrequencies | Positional frequency data. | |
return | System |
protected MakeClassification ( |
||
node | The MethodDeclarationNode to test. | |
return | bool |