public class JavaSpacePropertyProcessor extends JavaElementVisitor
EMPTY_VISITOR
visitAnnotationMethod, visitAnonymousClass, visitBinaryExpression, visitBlockStatement, visitCallExpression, visitDocComment, visitDocTagValue, visitDocToken, visitEmptyStatement, visitExpression, visitExpressionListStatement, visitExpressionStatement, visitIdentifier, visitImplicitVariable, visitImportStatement, visitImportStaticReferenceElement, visitImportStaticStatement, visitInlineDocTag, visitJavaFile, visitJavaToken, visitKeyword, visitLabeledStatement, visitLiteralExpression, visitModuleReferenceElement, visitPackage, visitPackageAccessibilityStatement, visitPackageStatement, visitPattern, visitPostfixExpression, visitPrefixExpression, visitProvidesStatement, visitReceiverParameter, visitRecordComponent, visitRequiresStatement, visitResourceExpression, visitResourceVariable, visitSuperExpression, visitThisExpression, visitTypeTestPattern, visitUnaryExpression, visitUsesStatement, visitVariable
visitBinaryFile, visitComment, visitDirectory, visitErrorElement, visitOuterLanguageElement, visitPlainText, visitPlainTextFile, visitWhiteSpace
public void visitArrayAccessExpression(PsiArrayAccessExpression expression)
visitArrayAccessExpression
in class JavaElementVisitor
public void visitNewExpression(PsiNewExpression expression)
visitNewExpression
in class JavaElementVisitor
public void visitArrayInitializerExpression(PsiArrayInitializerExpression expression)
visitArrayInitializerExpression
in class JavaElementVisitor
public void visitClass(PsiClass aClass)
visitClass
in class JavaElementVisitor
public void visitInstanceOfExpression(PsiInstanceOfExpression expression)
visitInstanceOfExpression
in class JavaElementVisitor
public void visitEnumConstantInitializer(PsiEnumConstantInitializer enumConstantInitializer)
visitEnumConstantInitializer
in class JavaElementVisitor
public void visitPatternVariable(PsiPatternVariable variable)
visitPatternVariable
in class JavaElementVisitor
public void visitImportList(PsiImportList list)
visitImportList
in class JavaElementVisitor
public void visitFile(PsiFile file)
visitFile
in class PsiElementVisitor
public void visitWhileStatement(PsiWhileStatement statement)
visitWhileStatement
in class JavaElementVisitor
public void visitDoWhileStatement(PsiDoWhileStatement statement)
visitDoWhileStatement
in class JavaElementVisitor
public void visitThrowStatement(PsiThrowStatement statement)
visitThrowStatement
in class JavaElementVisitor
public void visitTryStatement(PsiTryStatement statement)
visitTryStatement
in class JavaElementVisitor
public void visitForeachStatement(PsiForeachStatement statement)
visitForeachStatement
in class JavaElementVisitor
public void visitAssignmentExpression(PsiAssignmentExpression expression)
visitAssignmentExpression
in class JavaElementVisitor
public void visitBreakStatement(PsiBreakStatement statement)
visitBreakStatement
in class JavaElementVisitor
public void visitYieldStatement(PsiYieldStatement statement)
visitYieldStatement
in class JavaElementVisitor
public void visitContinueStatement(PsiContinueStatement statement)
visitContinueStatement
in class JavaElementVisitor
public void visitParenthesizedExpression(PsiParenthesizedExpression expression)
visitParenthesizedExpression
in class JavaElementVisitor
public void visitCodeBlock(PsiCodeBlock block)
visitCodeBlock
in class JavaElementVisitor
public void visitCodeFragment(JavaCodeFragment codeFragment)
visitCodeFragment
in class JavaElementVisitor
public void visitIfStatement(PsiIfStatement statement)
visitIfStatement
in class JavaElementVisitor
public void visitPolyadicExpression(PsiPolyadicExpression expression)
visitPolyadicExpression
in class JavaElementVisitor
public void visitField(PsiField field)
visitField
in class JavaElementVisitor
public void visitLocalVariable(PsiLocalVariable variable)
visitLocalVariable
in class JavaElementVisitor
public void visitMethod(PsiMethod method)
visitMethod
in class JavaElementVisitor
public void visitModifierList(PsiModifierList list)
visitModifierList
in class JavaElementVisitor
public void visitParameterList(PsiParameterList list)
visitParameterList
in class JavaElementVisitor
public void visitRecordHeader(PsiRecordHeader recordHeader)
visitRecordHeader
in class JavaElementVisitor
public void visitElement(PsiElement element)
visitElement
in class PsiElementVisitor
public void visitClassObjectAccessExpression(PsiClassObjectAccessExpression expression)
visitClassObjectAccessExpression
in class JavaElementVisitor
public void visitExpressionList(PsiExpressionList list)
visitExpressionList
in class JavaElementVisitor
public void visitSynchronizedStatement(PsiSynchronizedStatement statement)
visitSynchronizedStatement
in class JavaElementVisitor
public void visitSwitchLabelStatement(PsiSwitchLabelStatement statement)
visitSwitchLabelStatement
in class JavaElementVisitor
public void visitSwitchLabeledRuleStatement(PsiSwitchLabeledRuleStatement statement)
visitSwitchLabeledRuleStatement
in class JavaElementVisitor
public void visitSwitchStatement(PsiSwitchStatement statement)
visitSwitchStatement
in class JavaElementVisitor
public void visitSwitchExpression(PsiSwitchExpression expression)
visitSwitchExpression
in class JavaElementVisitor
public void visitLambdaExpression(PsiLambdaExpression expression)
visitLambdaExpression
in class JavaElementVisitor
public void visitModule(PsiJavaModule module)
visitModule
in class JavaElementVisitor
public void visitModuleStatement(PsiStatement statement)
visitModuleStatement
in class JavaElementVisitor
public void visitMethodReferenceExpression(PsiMethodReferenceExpression expression)
visitMethodReferenceExpression
in class JavaElementVisitor
public void visitForStatement(PsiForStatement statement)
visitForStatement
in class JavaElementVisitor
protected void processLoopBody()
public void visitCatchSection(PsiCatchSection section)
visitCatchSection
in class JavaElementVisitor
public void visitResourceList(PsiResourceList resourceList)
visitResourceList
in class JavaElementVisitor
public void visitReferenceParameterList(PsiReferenceParameterList list)
visitReferenceParameterList
in class JavaElementVisitor
public void visitTypeCastExpression(PsiTypeCastExpression expression)
visitTypeCastExpression
in class JavaElementVisitor
public void visitReferenceList(PsiReferenceList list)
visitReferenceList
in class JavaElementVisitor
public void visitReferenceExpression(PsiReferenceExpression expression)
JavaElementVisitor
JavaRecursiveElementVisitor
knows that and implements this method accordingly.
All other visitor must decide themselves what implementation (visitReferenceElement() or visitExpression() or none or LOG.error())
is appropriate for them.visitReferenceExpression
in class JavaElementVisitor
public void visitConditionalExpression(PsiConditionalExpression expression)
visitConditionalExpression
in class JavaElementVisitor
public void visitStatement(PsiStatement statement)
visitStatement
in class JavaElementVisitor
public void visitReturnStatement(PsiReturnStatement statement)
visitReturnStatement
in class JavaElementVisitor
public void visitMethodCallExpression(PsiMethodCallExpression expression)
visitMethodCallExpression
in class JavaElementVisitor
public void visitTypeParameter(PsiTypeParameter classParameter)
visitTypeParameter
in class JavaElementVisitor
public void visitTypeElement(PsiTypeElement type)
visitTypeElement
in class JavaElementVisitor
public void visitDeclarationStatement(PsiDeclarationStatement declarationStatement)
visitDeclarationStatement
in class JavaElementVisitor
public void visitTypeParameterList(PsiTypeParameterList list)
visitTypeParameterList
in class JavaElementVisitor
public void visitReferenceElement(PsiJavaCodeReferenceElement reference)
visitReferenceElement
in class JavaElementVisitor
public void visitAnnotation(PsiAnnotation annotation)
visitAnnotation
in class JavaElementVisitor
public void visitClassInitializer(PsiClassInitializer initializer)
visitClassInitializer
in class JavaElementVisitor
public void visitAnnotationParameterList(PsiAnnotationParameterList list)
visitAnnotationParameterList
in class JavaElementVisitor
public void visitNameValuePair(PsiNameValuePair pair)
visitNameValuePair
in class JavaElementVisitor
public void visitAnnotationArrayInitializer(PsiArrayInitializerMemberValue initializer)
visitAnnotationArrayInitializer
in class JavaElementVisitor
public void visitEnumConstant(PsiEnumConstant enumConstant)
visitEnumConstant
in class JavaElementVisitor
public void visitDocTag(PsiDocTag tag)
visitDocTag
in class JavaElementVisitor
public void visitAssertStatement(PsiAssertStatement statement)
visitAssertStatement
in class JavaElementVisitor
public void visitParameter(PsiParameter parameter)
visitParameter
in class JavaElementVisitor
public static Spacing getSpacing(Block node, CommonCodeStyleSettings settings, JavaCodeStyleSettings javaSettings)