Class InterfaceTypeParameterNameCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class InterfaceTypeParameterNameCheck
    extends AbstractNameCheck

    Checks that interface type parameter names conform to a format specified by the format property. The format is a regular expression and defaults to ^[A-Z]$.

    An example of how to configure the check is:

     <module name="InterfaceTypeParameterName"/>
     

    An example of how to configure the check for names that are only a single letter is

     <module name="InterfaceTypeParameterName">
        <property name="format" value="^[a-zA-Z]$"/>
     </module>
     
    Author:
    maxvetrenko