Package net.sourceforge.pmd.lang.apex.rule.errorprone
See: Description
-
Class Summary Class Description InaccessibleAuraEnabledGetterRule In the Summer '21 release, a mandatory security update enforces access modifiers on Apex properties in Lightning component markup. ApexCSRFRule Constructor and init method might contain DML, which constitutes a CSRF vulnerability TypeShadowsBuiltInNamespaceRule Finds custom apex types with the same name as standard built-in system and schema types. AvoidNonExistentAnnotationsRule Apex supported non existent annotations for legacy reasons. AvoidHardcodingIdRule MethodWithSameNameAsEnclosingClassRule OverrideBothEqualsAndHashcodeRule AvoidStatefulDatabaseResultRule Using stateful Database.[x]Resultinstance variables can cause odd serialization errors between successive batch iterations.AvoidInterfaceAsMapKeyRule Flags use of an interface as Map key when that interface has an implementing class that is abstract and defines equals or hashCode.