| Modifier and Type | Method and Description |
|---|---|
private java.util.Collection<FileInfoContainer> |
JCPreprocessor.findAllFilesToBePreprocessed(java.io.File[] srcDirs,
java.lang.String[] excludedFolderPatterns) |
static java.util.List<java.lang.String> |
InfoHelper.makeTextForHelpInfo() |
private java.util.List<PreprocessingState.ExcludeIfInfo> |
JCPreprocessor.processGlobalDirectives(java.util.Collection<FileInfoContainer> files) |
| Modifier and Type | Method and Description |
|---|---|
private java.util.Set<java.io.File> |
JCPreprocessor.findAllFiles(java.lang.String baseFolderCanonicalPath,
java.io.File dir,
AntPathMatcher antPathMatcher,
java.lang.String[] excludedFolderPatterns) |
private java.util.Collection<FileInfoContainer> |
JCPreprocessor.findAllFilesToBePreprocessed(java.io.File[] srcDirs,
java.lang.String[] excludedFolderPatterns) |
private java.util.Collection<FileInfoContainer> |
JCPreprocessor.findAllFilesToBePreprocessed(java.io.File[] srcDirs,
java.lang.String[] excludedFolderPatterns) |
static void |
JCPreprocessor.main(java.lang.String... args) |
private JCPreprocessor.PreprocessingStatistics |
JCPreprocessor.preprocessFiles(java.util.Collection<FileInfoContainer> files) |
private static PreprocessorContext |
JCPreprocessor.processCommandString(PreprocessorContext context,
java.lang.String[] originalStrings,
java.lang.String[] normalizedStrings) |
private static PreprocessorContext |
JCPreprocessor.processCommandString(PreprocessorContext context,
java.lang.String[] originalStrings,
java.lang.String[] normalizedStrings) |
private void |
JCPreprocessor.processFileExclusion(java.util.List<PreprocessingState.ExcludeIfInfo> foundExcludeIf) |
private java.util.List<PreprocessingState.ExcludeIfInfo> |
JCPreprocessor.processGlobalDirectives(java.util.Collection<FileInfoContainer> files) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
PreprocessTask.getVariableNames() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
TextFileDataContainer.getText() |
java.util.List<PreprocessingState.ExcludeIfInfo> |
FileInfoContainer.processGlobalDirectives(PreprocessingState state,
PreprocessorContext context) |
| Constructor and Description |
|---|
TextFileDataContainer(java.io.File currentFile,
java.lang.String[] text,
boolean fileEndedByNextLine,
int stringIndex) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File[] |
PreprocessorContext.getConfigFiles()
Get array of current registered configuration files
|
(package private) java.util.List<TextFileDataContainer> |
PreprocessingState.getCurrentIncludeStack() |
java.lang.String[] |
PreprocessorContext.getExcludedFileExtensions()
Get excluded file extension list as a string array
|
java.lang.String[] |
PreprocessorContext.getExcludedFolderPatterns()
Get patterns for excluded folders.
|
private java.io.File[] |
PreprocessorContext.getParsedSourceDirectoryAsFiles()
Inside auxiliary method to parse the source directories list into file array
|
java.lang.String[] |
PreprocessorContext.getProcessingFileExtensions()
Get file extensions of files to be preprocessed as a string array
|
static java.util.List<JCPSpecialVariableProcessor.NameReferencePair> |
JCPSpecialVariableProcessor.getReference() |
java.io.File[] |
PreprocessorContext.getSourceDirectoryAsFiles()
Get the current source directories as a file array
|
java.lang.String[] |
EnvironmentVariableProcessor.getVariableNames() |
java.lang.String[] |
JCPSpecialVariableProcessor.getVariableNames() |
java.lang.String[] |
SpecialVariableProcessor.getVariableNames()
Get all variable names allowed by the processor as an array, all names must
be in lower case
|
FilePositionInfo[] |
PreprocessingState.makeIncludeStack() |
java.util.List<PreprocessingState.ExcludeIfInfo> |
PreprocessingState.popAllExcludeIfInfoData() |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
PreprocessorContext.makeStackView(TextFileDataContainer cloneSource,
boolean cloned,
java.util.List<TextFileDataContainer> list) |
void |
PreprocessorContext.setExcludedFolderPatterns(java.lang.String... patterns)
Set patterns for excluded folders.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<ExpressionTree> |
ActionDirectiveHandler.parseString(java.lang.String str,
PreprocessorContext context) |
| Modifier and Type | Method and Description |
|---|---|
FilePositionInfo[] |
PreprocessorException.getIncludeChain() |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
PreprocessorException.makeStackView(FilePositionInfo[] list,
char fill) |
| Constructor and Description |
|---|
PreprocessorException(java.lang.String message,
java.lang.String processedText,
FilePositionInfo[] includeStack,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExpressionTreeElement.fillArguments(java.util.List<ExpressionTree> arguments)
It fills children slots from a list containing expression trees
|
private ExpressionTree |
ExpressionParser.readFunction(AbstractFunction function,
java.io.PushbackReader reader,
PreprocessorContext context,
FilePositionInfo[] includeStack,
java.lang.String sources)
The auxiliary method allows to form a function and its arguments as a tree
|
(package private) ExpressionItem |
ExpressionParser.readFunctionArgument(java.io.PushbackReader reader,
ExpressionTree tree,
PreprocessorContext context,
FilePositionInfo[] callStack,
java.lang.String source)
The auxiliary method allows to read a function argument
|
| Constructor and Description |
|---|
ExpressionTree(FilePositionInfo[] callStack,
java.lang.String sources) |
ExpressionTreeElement(ExpressionItem item,
FilePositionInfo[] callStack,
java.lang.String sourceString)
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract ValueType[][] |
AbstractFunction.getAllowedArgumentTypes()
Get arrays of supported argument types
|
ValueType[][] |
AbstractStrConverter.getAllowedArgumentTypes() |
ValueType[][] |
FunctionABS.getAllowedArgumentTypes() |
ValueType[][] |
FunctionBINFILE.getAllowedArgumentTypes() |
ValueType[][] |
FunctionDefinedByUser.getAllowedArgumentTypes() |
ValueType[][] |
FunctionEVALFILE.getAllowedArgumentTypes() |
ValueType[][] |
FunctionIS.getAllowedArgumentTypes() |
ValueType[][] |
FunctionISSUBSTR.getAllowedArgumentTypes() |
ValueType[][] |
FunctionROUND.getAllowedArgumentTypes() |
ValueType[][] |
FunctionSTR2GO.getAllowedArgumentTypes() |
ValueType[][] |
FunctionSTR2JAVA.getAllowedArgumentTypes() |
ValueType[][] |
FunctionSTRLEN.getAllowedArgumentTypes() |
| Modifier and Type | Method and Description |
|---|---|
Value |
FunctionDefinedByUser.execute(PreprocessorContext context,
Value[] values) |
| Modifier and Type | Method and Description |
|---|---|
ValueType[][] |
FunctionXML_ATTR.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_GET.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_LIST.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_NAME.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_OPEN.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_ROOT.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_SIZE.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_TEXT.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_XELEMENT.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_XLIST.getAllowedArgumentTypes() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PreprocessorExtension.processAction(PreprocessorContext context,
Value[] parameters)
To process an action (it will be called if the preprocessor is met
//#action directive)
|
Value |
PreprocessorExtension.processUserFunction(java.lang.String functionName,
Value[] arguments)
Call to process a user function (the function starts with $)
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File[] |
PreprocessorMojo.getCfgFiles() |
java.lang.String[] |
PreprocessorMojo.getExcludedFolders() |
java.lang.String[] |
MavenPropertiesImporter.getVariableNames() |
| Modifier and Type | Method and Description |
|---|---|
private void |
PreprocessorClearMojo.processFileSet(java.util.List<org.apache.maven.shared.model.fileset.FileSet> fileSets,
org.apache.maven.plugin.logging.Log log) |
void |
PreprocessorMojo.setCfgFiles(java.io.File[] files) |
void |
PreprocessorMojo.setExcludedFolders(java.lang.String... antPatterns) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
PreprocessorUtils.readWholeTextFileIntoArray(java.io.File file,
java.lang.String encoding,
java.util.concurrent.atomic.AtomicBoolean endedByNextLine) |
static java.lang.String[] |
PreprocessorUtils.replaceChar(java.lang.String[] source,
char toBeReplaced,
char replacement) |
static java.lang.String[] |
PreprocessorUtils.replaceStringPrefix(java.lang.String[] allowedPrefixesToBeReplaced,
java.lang.String replacement,
java.lang.String[] strings) |
static java.lang.String[] |
PreprocessorUtils.splitExtensionCommaList(java.lang.String extensions) |
static java.lang.String[] |
PreprocessorUtils.splitForChar(java.lang.String string,
char delimiter) |
static java.lang.String[] |
PreprocessorUtils.splitForCharAndHoldEmptyLine(java.lang.String string,
char delimiter) |
static java.lang.String[] |
PreprocessorUtils.splitForEqualChar(java.lang.String string) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
PreprocessorUtils.replaceChar(java.lang.String[] source,
char toBeReplaced,
char replacement) |
static java.lang.String[] |
PreprocessorUtils.replaceStringPrefix(java.lang.String[] allowedPrefixesToBeReplaced,
java.lang.String replacement,
java.lang.String[] strings) |
static java.lang.String[] |
PreprocessorUtils.replaceStringPrefix(java.lang.String[] allowedPrefixesToBeReplaced,
java.lang.String replacement,
java.lang.String[] strings) |
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.ThreadLocal<java.util.List<Deferrers.Deferred>> |
Deferrers.REGISTRY
Inside registry for defer actions.
|
private static java.lang.ThreadLocal<java.util.List<TimeGuard.TimeData>> |
TimeGuard.REGISTRY
Inside thread local storage of registered processors.
|