Class AbstractJavaRule
- java.lang.Object
-
- net.sourceforge.pmd.properties.AbstractPropertySource
-
- net.sourceforge.pmd.lang.rule.AbstractRule
-
- net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
-
- All Implemented Interfaces:
JavaParserVisitor
,ImmutableLanguage
,PropertySource
,Rule
- Direct Known Subclasses:
AbstractClassWithoutAbstractMethodRule
,AbstractCommentRule
,AbstractIgnoredAnnotationRule
,AbstractInefficientZeroCheck
,AbstractJavaMetricsRule
,AbstractJUnitRule
,AbstractOptimizationRule
,AbstractPoorMethodCall
,AbstractStatisticalJavaRule
,AbstractSunSecureRule
,AccessorClassGenerationRule
,AccessorMethodGenerationRule
,AppendCharacterWithCharRule
,AssignmentInOperandRule
,AssignmentToNonFinalStaticRule
,AvoidBranchingStatementAsLastInLoopRule
,AvoidCallingFinalizeRule
,AvoidCatchingThrowableRule
,AvoidDeeplyNestedIfStmtsRule
,AvoidDollarSignsRule
,AvoidDuplicateLiteralsRule
,AvoidFieldNameMatchingMethodNameRule
,AvoidFieldNameMatchingTypeNameRule
,AvoidInstantiatingObjectsInLoopsRule
,AvoidMultipleUnaryOperatorsRule
,AvoidReassigningCatchVariablesRule
,AvoidReassigningParametersRule
,AvoidThrowingNullPointerExceptionRule
,AvoidUsingHardCodedIPRule
,AvoidUsingOctalValuesRule
,BigIntegerInstantiationRule
,BooleanInstantiationRule
,BrokenNullCheckRule
,CheckResultSetRule
,CheckSkipResultRule
,ClassNamingConventionsRule
,CloneMethodMustImplementCloneableRule
,CloseResourceRule
,ConfusingTernaryRule
,ConsecutiveAppendsShouldReuseRule
,ConsecutiveLiteralAppendsRule
,ConstructorCallsOverridableMethodRule
,CouplingBetweenObjectsRule
,DataflowAnomalyAnalysisRule
,DontImportJavaLangRule
,DontImportSunRule
,DoubleCheckedLockingRule
,DuplicateImportsRule
,EmptyControlStatementRule
,ExceptionAsFlowControlRule
,FieldDeclarationsShouldBeAtStartOfClassRule
,FieldNamingConventionsRule
,ForLoopCanBeForeachRule
,FormalParameterNamingConventionsRule
,GenericClassCounterRule
,GenericLiteralCheckerRule
,GodClassRule
,GuardLogStatementRule
,HardCodedCryptoKeyRule
,IdempotentOperationsRule
,IdenticalCatchBranchesRule
,ImportFromSamePackageRule
,InefficientEmptyStringCheckRule
,InefficientStringBufferingRule
,InsecureCryptoIvRule
,InsufficientStringBufferDeclarationRule
,InvalidLogMessageFormatRule
,JavaDFAGraphRule
,JUnitAssertionsShouldIncludeMessageRule
,LawOfDemeterRule
,LiteralsFirstInComparisonsRule
,LocalVariableNamingConventionsRule
,LooseCouplingRule
,LoosePackageCouplingRule
,MethodNamingConventionsRule
,MethodWithSameNameAsEnclosingClassRule
,MissingOverrideRule
,NonThreadSafeSingletonRule
,NullAssignmentRule
,OnlyOneReturnRule
,OverrideBothEqualsAndHashcodeRule
,PositionalIteratorRule
,PositionLiteralsFirstInCaseInsensitiveComparisonsRule
,PositionLiteralsFirstInComparisonsRule
,PrematureDeclarationRule
,PreserveStackTraceRule
,PrimitiveWrapperInstantiationRule
,ProperCloneImplementationRule
,RedundantFieldInitializerRule
,SignatureDeclareThrowsExceptionRule
,SimplifiableTestAssertionRule
,SimplifyBooleanReturnsRule
,SingleMethodSingletonRule
,SingletonClassReturningNewInstanceRule
,StdCyclomaticComplexityRule
,StringConcatenationRule
,StringInstantiationRule
,StringToStringRule
,SuspiciousHashcodeMethodNameRule
,SuspiciousOctalEscapeRule
,SymbolTableTestRule
,TestClassWithoutTestCasesRule
,TooManyFieldsRule
,UnnecessaryAnnotationValueElementRule
,UnnecessaryCaseChangeRule
,UnnecessaryCastRule
,UnnecessaryConversionTemporaryRule
,UnnecessaryFullyQualifiedNameRule
,UnnecessaryImportRule
,UnnecessaryLocalBeforeReturnRule
,UnnecessaryModifierRule
,UnnecessaryReturnRule
,UnnecessaryWrapperObjectCreationRule
,UnsynchronizedStaticFormatterRule
,UnusedAssignmentRule
,UnusedFormalParameterRule
,UnusedLocalVariableRule
,UnusedPrivateFieldRule
,UselessAssignment
,UselessOperationOnImmutableRule
,UselessOverridingMethodRule
,UselessStringValueOfRule
,UseStringBufferForStringAppendsRule
,UseStringBufferLengthRule
,UseTryWithResourcesRule
,VariableNamingConventionsRule
public abstract class AbstractJavaRule extends AbstractRule implements JavaParserVisitor, ImmutableLanguage
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.properties.AbstractPropertySource
propertyDescriptors, propertyValuesByDescriptor
-
Fields inherited from interface net.sourceforge.pmd.Rule
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR, VIOLATION_SUPPRESS_XPATH_DESCRIPTOR
-
-
Constructor Summary
Constructors Constructor Description AbstractJavaRule()
-
Method Summary
-
Methods inherited from class net.sourceforge.pmd.lang.rule.AbstractRule
addExample, addRuleChainVisit, addRuleChainVisit, addViolation, addViolation, addViolation, addViolationWithMessage, addViolationWithMessage, addViolationWithMessage, asCtx, deepCopy, deepCopyValuesTo, end, equals, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getName, getParserOptions, getPriority, getPropertySourceType, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, hashCode, isDeprecated, isDfa, isMultifile, isRuleChain, isTypeResolution, setDeprecated, setDescription, setDfa, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setMultifile, setName, setPriority, setRuleClass, setRuleSetName, setSince, setTypeResolution, setUsesDFA, setUsesMultifile, setUsesTypeResolution, start, usesDFA, usesMultifile, usesRuleChain, usesTypeResolution
-
Methods inherited from class net.sourceforge.pmd.properties.AbstractPropertySource
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getOverriddenPropertiesByPropertyDescriptor, getOverriddenPropertyDescriptors, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, isPropertyOverridden, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.properties.PropertySource
definePropertyDescriptor, dysfunctionReason, getOverriddenPropertiesByPropertyDescriptor, getOverriddenPropertyDescriptors, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, isPropertyOverridden, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
-
-
-
-
Method Detail
-
apply
public void apply(List<? extends Node> nodes, RuleContext ctx)
-
visitAll
protected void visitAll(List<? extends Node> nodes, RuleContext ctx)
-
getDeclaringType
@Deprecated protected final String getDeclaringType(Node node)
Deprecated.This method just returns the type name as a string which doesn't leverage any type resolution. UseNode.getFirstParentOfType(Class)
directly to find the node of typeASTClassOrInterfaceBodyDeclaration
via thegetType
method.Gets the Image of the first parent node of type ASTClassOrInterfaceDeclaration ornull
- Parameters:
node
- the node which will be searched
-
isQualifiedName
public static boolean isQualifiedName(Node node)
-
importsPackage
public static boolean importsPackage(ASTCompilationUnit node, String packageName)
-
isSuppressed
@Deprecated protected boolean isSuppressed(Node node)
Deprecated.Not useful, and suppression should happen transparently to rule implementations. This will be removed with 7.0.0
-
visit
public Object visit(JavaNode node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTExtendsList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTClassOrInterfaceDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTImplementsList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeParameters node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberSelector node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeParameter node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeBound node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTClassOrInterfaceBody node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTClassOrInterfaceBodyDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEnumBody node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEnumConstant node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTReferenceType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTClassOrInterfaceType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeArguments node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeArgument node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTWildcardBounds node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTNormalAnnotation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMarkerAnnotation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSingleMemberAnnotation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberValuePairs node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberValuePair node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberValue node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberValueArrayInitializer node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotationTypeDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotationTypeBody node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotationTypeMemberDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotationMethodDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTDefaultValue node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Deprecated public Object visit(ASTRUNSIGNEDSHIFT node, Object data)
Deprecated.Will be removed in 7.0.0. UseASTShiftExpression.getOperator()
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Deprecated public Object visit(ASTRSIGNEDSHIFT node, Object data)
Deprecated.Will be removed in 7.0.0. UseASTShiftExpression.getOperator()
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTCompilationUnit node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEnumDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAssertStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPackageDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTImportDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTFieldDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTVariableDeclarator node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTVariableDeclaratorId node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTVariableInitializer node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTArrayInitializer node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMethodDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMethodDeclarator node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTFormalParameters node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTFormalParameter node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTConstructorDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTExplicitConstructorInvocation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTInitializer node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPrimitiveType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTResultType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTName node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTNameList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAssignmentOperator node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTConditionalExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTConditionalOrExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTConditionalAndExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTInclusiveOrExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTExclusiveOrExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAndExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEqualityExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTInstanceOfExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRelationalExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTShiftExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAdditiveExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMultiplicativeExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTUnaryExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPreIncrementExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPreDecrementExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTUnaryExpressionNotPlusMinus node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPostfixExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTCastExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPrimaryExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPrimaryPrefix node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPrimarySuffix node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTLiteral node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTBooleanLiteral node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTNullLiteral node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTArguments node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTArgumentList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAllocationExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTArrayDimsAndInits node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTLabeledStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTBlock node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTBlockStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTLocalVariableDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEmptyStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTStatementExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchLabel node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTIfStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTWhileStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTDoStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTForStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTForInit node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTStatementExpressionList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTForUpdate node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTBreakStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTContinueStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTReturnStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTThrowStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSynchronizedStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTryStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTFinallyStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTCatchStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTResourceSpecification node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTResources node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTResource node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTLambdaExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMethodReference node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTModuleDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTModuleDirective node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTModuleName node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchLabeledBlock node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchLabeledExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchLabeledThrowStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTYieldStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypePattern node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRecordDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRecordComponentList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRecordComponent node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRecordBody node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTCompactConstructorDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPermitsList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Experimental @Deprecated public Object visit(ASTGuardedPattern node, Object data)
Deprecated.- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Experimental public Object visit(ASTSwitchGuard node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Experimental public Object visit(ASTRecordPattern node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Experimental public Object visit(ASTComponentPatternList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
-