Jtest logo




Contents  Previous  Next  Index

NAMING.NM


Enforce name format of non-"static" methods

Description

This rule flags any non-"static" method with an unconventional name format.

Most programmers or groups of programmers develop a set of naming rules for methods. Jtest will enforce the name format of the non-"static" method using a regular expression.

Example

 package NAMING;
 public class NM {
     void Method () {
     }
 }

Repair

Change the the non-"static" method's name to match the regular expression.

Reference

http://www.AmbySoft.com/javaCodingStandards.pdf


Contents  Previous  Next  Index

ParaSoft logo
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft