Interface ICNamingEngine
A naming engine is used to generate
ICIdentifier names.
Implementation note: custom naming engines are currently reserved for internal use; the generation and application of names by those objects are to be done after the AST has been entirely generated.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbeautifyIdentifierNames(ICClass classElement, IDynamicContentManager dcm) Beautify identifier names.booleanbeautifyIdentifierNames(ICField fieldElement, IDynamicContentManager dcm) Beautify identifier names.booleanbeautifyIdentifierNames(ICMethod methodElement, IDynamicContentManager dcm) Beautify identifier names.
-
Method Details
-
beautifyIdentifierNames
Beautify identifier names. This method is intended to be run on a final AST. This is a convenience method that beautify the names of identifiers of all fields and all methods contained in the provided class element.- Parameters:
classElement- mandatorydcm- optional- Returns:
- true if method variable names were beautified, false otherwise
-
beautifyIdentifierNames
Beautify identifier names. This method is intended to be run on a final AST.- Parameters:
fieldElement- mandatorydcm- optional- Returns:
- true if method variable names were beautified, false otherwise
-
beautifyIdentifierNames
Beautify identifier names. This method is intended to be run on a final AST.- Parameters:
methodElement- mandatorydcm- optional- Returns:
- true if method variable names were beautified, false otherwise
-