Class TypeShadowsBuiltInNamespaceRule

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.rule.Rule , net.sourceforge.pmd.properties.PropertySource

    
    public class TypeShadowsBuiltInNamespaceRule
    extends AbstractRule
                        

    Finds custom apex types with the same name as standard built-in system and schema types. Declaring such a custom apex type shadows the built-in type which can lead to confusion and unexpected behavior.

    Since:

    7.13.0

    • Constructor Detail

      • TypeShadowsBuiltInNamespaceRule

        TypeShadowsBuiltInNamespaceRule()