Package org.apache.flink.table.codesplit
package org.apache.flink.table.codesplit
-
ClassDescriptionA helper class of
FunctionSplitter.Groups end extract single line statements such as operations on fields/local variables, IF and WHILE statements and extract new method for each group making them smaller.This object represents a rewritten code block.Extract branch of IFs, ELSEs statements and WHILEs code blocks into smaller methods.Extract statements from IFs, ELSEs and WHILEs blocks making them smaller.Interface for Java code rewriter.Utils for rewriters.Extract and rename local variables into member variables.Split long functions into several smaller functions.Rewrite generated java code so that the length of each method becomes smaller and can be compiled.This class provides an empty implementation ofJavaParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.This class provides an empty implementation ofJavaParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.This interface defines a complete listener for a parse tree produced byJavaParser.This interface defines a complete generic visitor for a parse tree produced byJavaParser.Group member variables with the same type into arrays to reduce the number of members.Simple parser that counts combined number of 'return', 'continue' and 'break' kay words.Rewrite functions with return values by splitting them into two functions and storing the return values into member variables.