Uses of Interface
net.sourceforge.pmd.lang.apex.ast.ApexVisitor
-
-
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.ast
Subinterfaces of ApexVisitor in net.sourceforge.pmd.lang.apex.ast Modifier and Type Interface Description interface
ApexParserVisitor
Deprecated.Classes in net.sourceforge.pmd.lang.apex.ast that implement ApexVisitor Modifier and Type Class Description class
ApexParserVisitorAdapter
Deprecated.class
ApexVisitorBase<P,R>
Methods in net.sourceforge.pmd.lang.apex.ast with parameters of type ApexVisitor Modifier and Type Method Description protected <P,R>
RASTAnnotation. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTAnnotationParameter. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTAnonymousClass. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTApexFile. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTArrayLoadExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTArrayStoreExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTAssignmentExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTBinaryExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTBindExpressions. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTBlockStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTBooleanExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTBreakStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTBridgeMethodCreator. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTCastExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTCatchBlockStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTClassRefExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTConstructorPreamble. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTConstructorPreambleStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTContinueStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTDmlDeleteStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTDmlInsertStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTDmlMergeStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTDmlUndeleteStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTDmlUpdateStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTDmlUpsertStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTDoLoopStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTElseWhenBlock. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTEmptyReferenceExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTExpressionStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTField. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTFieldDeclaration. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTFieldDeclarationStatements. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTForEachStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTForLoopStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTFormalComment. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTIdentifierCase. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTIfBlockStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTIfElseBlockStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTIllegalStoreExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTInstanceOfExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTInvalidDependentCompilation. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTJavaMethodCallExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTJavaVariableExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTLiteralCase. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTLiteralExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTMapEntryNode. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTMethod. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTMethodBlockStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTMethodCallExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTModifier. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTModifierNode. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTModifierOrAnnotation. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTMultiStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNestedExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNestedStoreExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNewKeyValueObjectExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNewListInitExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNewListLiteralExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNewMapInitExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNewMapLiteralExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNewObjectExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNewSetInitExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTNewSetLiteralExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTPackageVersionExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTParameter. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTPostfixExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTPrefixExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTProperty. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTReferenceExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTReturnStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTRunAsBlockStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTSoqlExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTSoslExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTStandardCondition. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTStatementExecuted. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTSuperMethodCallExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTSuperVariableExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTSwitchStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTTernaryExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTThisMethodCallExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTThisVariableExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTThrowStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTTriggerVariableExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTTryCatchFinallyBlockStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTTypeWhenBlock. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTUserClass. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTUserClassMethods. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTUserEnum. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTUserExceptionMethods. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTUserInterface. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTUserTrigger. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTValueWhenBlock. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTVariableDeclaration. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTVariableDeclarationStatements. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTVariableExpression. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
protected <P,R>
RASTWhileLoopStatement. acceptApexVisitor(ApexVisitor<? super P,? extends R> visitor, P data)
-
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule
Classes in net.sourceforge.pmd.lang.apex.rule that implement ApexVisitor Modifier and Type Class Description class
AbstractApexRule
class
AbstractApexUnitTestRule
Deprecated.Internal API -
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule.bestpractices
Classes in net.sourceforge.pmd.lang.apex.rule.bestpractices that implement ApexVisitor Modifier and Type Class Description class
ApexAssertionsShouldIncludeMessageRule
class
ApexUnitTestClassShouldHaveAssertsRule
Apex unit tests should have System.assert methods in themclass
ApexUnitTestClassShouldHaveRunAsRule
Apex unit tests should have System.runAs methods in themclass
ApexUnitTestShouldNotUseSeeAllDataTrueRule
It's a very bad practice to use @isTest(seeAllData=true) in Apex unit tests, because it opens up the existing database data for unexpected modification by tests.class
AvoidGlobalModifierRule
class
AvoidLogicInTriggerRule
class
UnusedLocalVariableRule
-
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule.codestyle
Classes in net.sourceforge.pmd.lang.apex.rule.codestyle that implement ApexVisitor Modifier and Type Class Description class
ClassNamingConventionsRule
class
FieldDeclarationsShouldBeAtStartRule
class
FieldNamingConventionsRule
class
FormalParameterNamingConventionsRule
class
LocalVariableNamingConventionsRule
class
MethodNamingConventionsRule
class
PropertyNamingConventionsRule
-
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule.design
Classes in net.sourceforge.pmd.lang.apex.rule.design that implement ApexVisitor Modifier and Type Class Description class
AbstractNcssCountRule<T extends ApexNode<?>>
Deprecated.Internal APIclass
AvoidDeeplyNestedIfStmtsRule
class
CognitiveComplexityRule
class
CyclomaticComplexityRule
Cyclomatic complexity rule using metrics.class
ExcessiveClassLengthRule
This rule detects when a class exceeds a certain threshold.class
ExcessiveParameterListRule
This rule detects an abnormally long parameter list.class
ExcessivePublicCountRule
Rule attempts to count all public methods and public attributes defined in a class.class
NcssConstructorCountRule
Non-commented source statement counter for constructors.class
NcssMethodCountRule
Non-commented source statement counter for methods.class
NcssTypeCountRule
Non-commented source statement counter for type declarations.class
StdCyclomaticComplexityRule
Implements the standard cyclomatic complexity ruleclass
TooManyFieldsRule
class
UnusedMethodRule
-
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule.documentation
Classes in net.sourceforge.pmd.lang.apex.rule.documentation that implement ApexVisitor Modifier and Type Class Description class
ApexDocRule
-
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule.errorprone
Classes in net.sourceforge.pmd.lang.apex.rule.errorprone that implement ApexVisitor Modifier and Type Class Description class
ApexCSRFRule
Constructor and init method might contain DML, which constitutes a CSRF vulnerabilityclass
AvoidHardcodingIdRule
class
AvoidNonExistentAnnotationsRule
Apex supported non existent annotations for legacy reasons.class
InaccessibleAuraEnabledGetterRule
In the Summer '21 release, a mandatory security update enforces access modifiers on Apex properties in Lightning component markup.class
MethodWithSameNameAsEnclosingClassRule
class
OverrideBothEqualsAndHashcodeRule
-
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule.internal
Classes in net.sourceforge.pmd.lang.apex.rule.internal with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw ApexVisitor Modifier and Type Class Description class
net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule<T extends ApexNode<?>>
Abstract class for rules counting some integer metric on some node.static class
net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule.AbstractLineLengthCheckRule<T extends ApexNode<?>>
-
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule.performance
Classes in net.sourceforge.pmd.lang.apex.rule.performance that implement ApexVisitor Modifier and Type Class Description class
AvoidDmlStatementsInLoopsRule
Deprecated.class
AvoidSoqlInLoopsRule
Deprecated.class
AvoidSoslInLoopsRule
Deprecated.class
OperationWithLimitsInLoopRule
Warn users when code that could trigger governor limits is executing within a looping construct. -
Uses of ApexVisitor in net.sourceforge.pmd.lang.apex.rule.security
Classes in net.sourceforge.pmd.lang.apex.rule.security that implement ApexVisitor Modifier and Type Class Description class
ApexBadCryptoRule
Finds encryption schemes using hardcoded IV, hardcoded keyclass
ApexCRUDViolationRule
Finding missed CRUD checks for SOQL and DML operations.class
ApexDangerousMethodsRule
Flags dangerous method calls, e.g.class
ApexInsecureEndpointRule
Insecure HTTP endpoints passed to (req.setEndpoint) req.setHeader('Authorization') should use named credentialsclass
ApexOpenRedirectRule
Looking for potential Open redirect via PageReference variable inputclass
ApexSharingViolationsRule
Finds Apex class that do not define sharingclass
ApexSOQLInjectionRule
Detects if variables in Database.query(variable) or Database.countQuery is escaped with String.escapeSingleQuotesclass
ApexSuggestUsingNamedCredRule
Flags usage of http request.setHeader('Authorization',..) and suggests using named credentials which helps store credentials for the callout in a safe place.class
ApexXSSFromEscapeFalseRule
Finds all .addError method calls that are not HTML escaped on purposeclass
ApexXSSFromURLParamRule
Detects potential XSS when controller extracts a variable from URL query and uses it without escaping first
-