Uses of Class
javax.annotation.Nonnull
-
-
Uses of Nonnull in com.igormaznitsa.jcp
Methods in com.igormaznitsa.jcp with annotations of type Nonnull Modifier and Type Method Description JCPreprocessor.PreprocessingStatistics
JCPreprocessor. execute()
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)
static java.lang.Iterable<CommandLineHandler>
JCPreprocessor. getCommandLineHandlers()
PreprocessorContext
JCPreprocessor. getContext()
static java.lang.String
InfoHelper. getCopyright()
static java.lang.String
InfoHelper. getProductName()
static java.lang.String
InfoHelper. getSite()
static java.lang.String
InfoHelper. getVersion()
private static java.lang.String
InfoHelper. makeColumns(java.lang.String name, java.lang.String reference, int firstColumnWidth)
private static java.lang.String
InfoHelper. makeCommandLineKeyReference(CommandLineHandler handler)
private static java.lang.String
InfoHelper. makeDirectiveReference(AbstractDirectiveHandler directive)
private static java.lang.String
InfoHelper. makeFunctionReference(AbstractFunction func)
private static java.lang.String
InfoHelper. makeOperatorReference(AbstractOperator operator)
private static java.lang.String
InfoHelper. makeSpecialDirectiveReference(java.lang.String name, java.lang.String reference)
private static java.lang.String
InfoHelper. makeSpecialVariableReference(JCPSpecialVariableProcessor.NameReferencePair p)
static java.util.List<java.lang.String>
InfoHelper. makeTextForHelpInfo()
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 java.util.List<PreprocessingState.ExcludeIfInfo>
JCPreprocessor. processGlobalDirectives(java.util.Collection<FileInfoContainer> files)
Method parameters in com.igormaznitsa.jcp with annotations of type Nonnull Modifier and Type Method 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.Set<java.io.File>
JCPreprocessor. findAllFiles(java.lang.String baseFolderCanonicalPath, java.io.File dir, AntPathMatcher antPathMatcher, java.lang.String[] excludedFolderPatterns)
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.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 static java.lang.String
InfoHelper. makeColumns(java.lang.String name, java.lang.String reference, int firstColumnWidth)
private static java.lang.String
InfoHelper. makeColumns(java.lang.String name, java.lang.String reference, int firstColumnWidth)
private static java.lang.String
InfoHelper. makeCommandLineKeyReference(CommandLineHandler handler)
private static java.lang.String
InfoHelper. makeDirectiveReference(AbstractDirectiveHandler directive)
private static java.lang.String
InfoHelper. makeFunctionReference(AbstractFunction func)
private static java.lang.String
InfoHelper. makeOperatorReference(AbstractOperator operator)
private static java.lang.String
InfoHelper. makeSpecialDirectiveReference(java.lang.String name, java.lang.String reference)
private static java.lang.String
InfoHelper. makeSpecialDirectiveReference(java.lang.String name, java.lang.String reference)
private static java.lang.String
InfoHelper. makeSpecialVariableReference(JCPSpecialVariableProcessor.NameReferencePair p)
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)
Constructor parameters in com.igormaznitsa.jcp with annotations of type Nonnull Constructor Description JCPreprocessor(PreprocessorContext context)
-
Uses of Nonnull in com.igormaznitsa.jcp.ant
Methods in com.igormaznitsa.jcp.ant with annotations of type Nonnull Modifier and Type Method Description PreprocessTask.CfgFile
PreprocessTask. createCfgFile()
PreprocessTask.Global
PreprocessTask. createGlobal()
(package private) PreprocessorContext
PreprocessTask. generatePreprocessorContext()
Value
PreprocessTask. getVariable(java.lang.String varName, PreprocessorContext context)
java.lang.String[]
PreprocessTask. getVariableNames()
Method parameters in com.igormaznitsa.jcp.ant with annotations of type Nonnull Modifier and Type Method Description private void
PreprocessTask. fillCfgFiles(PreprocessorContext context)
private void
PreprocessTask. fillGlobalVars(PreprocessorContext context)
Value
PreprocessTask. getVariable(java.lang.String varName, PreprocessorContext context)
Value
PreprocessTask. getVariable(java.lang.String varName, PreprocessorContext context)
void
PreprocessTask. setDestination(java.io.File dst)
Set the "destination" attribute, it allows to define the destination directory where the preprocessed files will be placed invoid
PreprocessTask. setExcluded(java.lang.String ext)
Set the "excluded" attribute, it defines the excluded file extensions which will be ignored by the preprocessor in its work (also those files will not be copied)void
PreprocessTask. setExcludedFolders(java.lang.String value)
Set the "excludedfolders" attribute, sub-folders in source folders to be excluded from preprocessing, ANT patterns allowed, ${path.separator} should be used for multiple itemsvoid
PreprocessTask.CfgFile. setFile(java.io.File file)
void
PreprocessTask. setInCharset(java.lang.String charSet)
Set the "inCharset" attribute, it allows to define the text encoding for the reading text filesvoid
PreprocessTask.Global. setName(java.lang.String name)
void
PreprocessTask. setOutCharset(java.lang.String charSet)
Set the "outCharset" attribute, it allows to define the text encoding for the writing text filesvoid
PreprocessTask. setProcessing(java.lang.String ext)
Set the "processing" attribute, it defines the file extensions to be processedvoid
PreprocessTask. setSource(java.io.File src)
Set the "source" attribute, it allows to define the source directory to be preprocessedvoid
PreprocessTask.Global. setValue(java.lang.String value)
void
PreprocessTask. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
PreprocessTask. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
PreprocessTask. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
-
Uses of Nonnull in com.igormaznitsa.jcp.cmdline
Methods in com.igormaznitsa.jcp.cmdline with annotations of type Nonnull Modifier and Type Method Description java.lang.String
AllowWhitespaceDirectiveHandler. getDescription()
java.lang.String
CareForLastNextLineCharHandler. getDescription()
java.lang.String
ClearDstDirectoryHandler. getDescription()
java.lang.String
CommandLineHandler. getDescription()
Get the description of the key (it will be printed into the help text)java.lang.String
CompareDestinationContentHandler. getDescription()
java.lang.String
CopyFileAttributesHandler. getDescription()
java.lang.String
DestinationDirectoryHandler. getDescription()
java.lang.String
ExcludedFileExtensionsHandler. getDescription()
java.lang.String
ExcludeFoldersHandler. getDescription()
java.lang.String
FileExtensionsHandler. getDescription()
java.lang.String
GlobalVariableDefiningFileHandler. getDescription()
java.lang.String
GlobalVariableHandler. getDescription()
java.lang.String
HelpHandler. getDescription()
java.lang.String
InCharsetHandler. getDescription()
java.lang.String
KeepLineHandler. getDescription()
java.lang.String
OutCharsetHandler. getDescription()
java.lang.String
PreserveIndentDirectiveHandler. getDescription()
java.lang.String
RemoveCommentsHandler. getDescription()
java.lang.String
SourceDirectoryHandler. getDescription()
java.lang.String
UnknownAsFalseHandler. getDescription()
java.lang.String
VerboseHandler. getDescription()
java.lang.String
AllowWhitespaceDirectiveHandler. getKeyName()
java.lang.String
CareForLastNextLineCharHandler. getKeyName()
java.lang.String
ClearDstDirectoryHandler. getKeyName()
java.lang.String
CommandLineHandler. getKeyName()
Get the key name for the handlerjava.lang.String
CompareDestinationContentHandler. getKeyName()
java.lang.String
CopyFileAttributesHandler. getKeyName()
java.lang.String
DestinationDirectoryHandler. getKeyName()
java.lang.String
ExcludedFileExtensionsHandler. getKeyName()
java.lang.String
ExcludeFoldersHandler. getKeyName()
java.lang.String
FileExtensionsHandler. getKeyName()
java.lang.String
GlobalVariableDefiningFileHandler. getKeyName()
java.lang.String
GlobalVariableHandler. getKeyName()
java.lang.String
HelpHandler. getKeyName()
java.lang.String
InCharsetHandler. getKeyName()
java.lang.String
KeepLineHandler. getKeyName()
java.lang.String
OutCharsetHandler. getKeyName()
java.lang.String
PreserveIndentDirectiveHandler. getKeyName()
java.lang.String
RemoveCommentsHandler. getKeyName()
java.lang.String
SourceDirectoryHandler. getKeyName()
java.lang.String
UnknownAsFalseHandler. getKeyName()
java.lang.String
VerboseHandler. getKeyName()
Method parameters in com.igormaznitsa.jcp.cmdline with annotations of type Nonnull Modifier and Type Method Description boolean
AllowWhitespaceDirectiveHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
AllowWhitespaceDirectiveHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
CareForLastNextLineCharHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
CareForLastNextLineCharHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
ClearDstDirectoryHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
ClearDstDirectoryHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
CommandLineHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
Process a command line keyboolean
CommandLineHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
Process a command line keyboolean
CompareDestinationContentHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
CompareDestinationContentHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
CopyFileAttributesHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
CopyFileAttributesHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
DestinationDirectoryHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
DestinationDirectoryHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
ExcludedFileExtensionsHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
ExcludedFileExtensionsHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
ExcludeFoldersHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
ExcludeFoldersHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
FileExtensionsHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
FileExtensionsHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
GlobalVariableDefiningFileHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
GlobalVariableDefiningFileHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
GlobalVariableHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
GlobalVariableHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
HelpHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
HelpHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
InCharsetHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
InCharsetHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
KeepLineHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
KeepLineHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
OutCharsetHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
OutCharsetHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
PreserveIndentDirectiveHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
PreserveIndentDirectiveHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
RemoveCommentsHandler. processCommandLineKey(java.lang.String argument, PreprocessorContext configurator)
boolean
RemoveCommentsHandler. processCommandLineKey(java.lang.String argument, PreprocessorContext configurator)
boolean
SourceDirectoryHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
SourceDirectoryHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
UnknownAsFalseHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
UnknownAsFalseHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
VerboseHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
boolean
VerboseHandler. processCommandLineKey(java.lang.String key, PreprocessorContext context)
-
Uses of Nonnull in com.igormaznitsa.jcp.containers
Methods in com.igormaznitsa.jcp.containers with annotations of type Nonnull Modifier and Type Method Description private java.lang.String
FileInfoContainer. extractDoubleDollarPrefixedDirective(java.lang.String line, PreprocessorContext context)
private java.lang.String
FileInfoContainer. extractHashPrefixedDirective(java.lang.String line, PreprocessorContext context)
private java.lang.String
FileInfoContainer. extractSingleDollarPrefixedDirective(java.lang.String line, PreprocessorContext context)
private static java.lang.String
FileInfoContainer. findTailRemover(java.lang.String str, PreprocessorContext context)
java.lang.String
FileInfoContainer. getDestinationDir()
java.lang.String
FileInfoContainer. getDestinationFilePath()
java.lang.String
FileInfoContainer. getDestinationName()
java.io.File
TextFileDataContainer. getFile()
java.io.File
FileInfoContainer. getSourceFile()
java.lang.String[]
TextFileDataContainer. getText()
PreprocessingState
FileInfoContainer. preprocessFile(PreprocessingState state, PreprocessorContext context)
Preprocess file, NB! it doesn't clear local variables automatically for cloned contextsprotected AfterDirectiveProcessingBehaviour
FileInfoContainer. processDirective(PreprocessingState state, java.lang.String directiveString, PreprocessorContext context, boolean firstPass)
java.util.List<PreprocessingState.ExcludeIfInfo>
FileInfoContainer. processGlobalDirectives(PreprocessingState state, PreprocessorContext context)
java.lang.String
FileInfoContainer. toString()
Method parameters in com.igormaznitsa.jcp.containers with annotations of type Nonnull Modifier and Type Method Description private boolean
FileInfoContainer. checkDirectiveArgumentRoughly(AbstractDirectiveHandler directive, java.lang.String rest)
private boolean
FileInfoContainer. checkDirectiveArgumentRoughly(AbstractDirectiveHandler directive, java.lang.String rest)
private java.lang.String
FileInfoContainer. extractDoubleDollarPrefixedDirective(java.lang.String line, PreprocessorContext context)
private java.lang.String
FileInfoContainer. extractDoubleDollarPrefixedDirective(java.lang.String line, PreprocessorContext context)
private java.lang.String
FileInfoContainer. extractHashPrefixedDirective(java.lang.String line, PreprocessorContext context)
private java.lang.String
FileInfoContainer. extractHashPrefixedDirective(java.lang.String line, PreprocessorContext context)
private java.lang.String
FileInfoContainer. extractSingleDollarPrefixedDirective(java.lang.String line, PreprocessorContext context)
private java.lang.String
FileInfoContainer. extractSingleDollarPrefixedDirective(java.lang.String line, PreprocessorContext context)
private static java.lang.String
FileInfoContainer. findTailRemover(java.lang.String str, PreprocessorContext context)
private static java.lang.String
FileInfoContainer. findTailRemover(java.lang.String str, PreprocessorContext context)
private boolean
FileInfoContainer. isDoubleDollarPrefixed(java.lang.String line, PreprocessorContext context)
private boolean
FileInfoContainer. isDoubleDollarPrefixed(java.lang.String line, PreprocessorContext context)
private boolean
FileInfoContainer. isHashPrefixed(java.lang.String line, PreprocessorContext context)
private boolean
FileInfoContainer. isHashPrefixed(java.lang.String line, PreprocessorContext context)
private boolean
FileInfoContainer. isSingleDollarPrefixed(java.lang.String line, PreprocessorContext context)
private boolean
FileInfoContainer. isSingleDollarPrefixed(java.lang.String line, PreprocessorContext context)
PreprocessingState
FileInfoContainer. preprocessFile(PreprocessingState state, PreprocessorContext context)
Preprocess file, NB! it doesn't clear local variables automatically for cloned contextsprotected AfterDirectiveProcessingBehaviour
FileInfoContainer. processDirective(PreprocessingState state, java.lang.String directiveString, PreprocessorContext context, boolean firstPass)
protected AfterDirectiveProcessingBehaviour
FileInfoContainer. processDirective(PreprocessingState state, java.lang.String directiveString, PreprocessorContext context, boolean firstPass)
protected AfterDirectiveProcessingBehaviour
FileInfoContainer. processDirective(PreprocessingState state, java.lang.String directiveString, PreprocessorContext context, boolean firstPass)
java.util.List<PreprocessingState.ExcludeIfInfo>
FileInfoContainer. processGlobalDirectives(PreprocessingState state, PreprocessorContext context)
void
FileInfoContainer. setDestinationDir(java.lang.String destDir)
void
FileInfoContainer. setDestinationName(java.lang.String destName)
Constructor parameters in com.igormaznitsa.jcp.containers with annotations of type Nonnull Constructor Description FileInfoContainer(java.io.File srcFile, java.lang.String dstFileName, boolean copyOnly)
FileInfoContainer(java.io.File srcFile, java.lang.String dstFileName, boolean copyOnly)
TextFileDataContainer(TextFileDataContainer item, int stringIndex)
TextFileDataContainer(java.io.File currentFile, java.lang.String[] text, boolean fileEndedByNextLine, int stringIndex)
TextFileDataContainer(java.io.File currentFile, java.lang.String[] text, boolean fileEndedByNextLine, int stringIndex)
-
Uses of Nonnull in com.igormaznitsa.jcp.context
Methods in com.igormaznitsa.jcp.context with annotations of type Nonnull Modifier and Type Method Description PreprocessorContext
PreprocessorContext. clearLocalVariables()
Remove all local variables from the inside storageprivate TextFileDataContainer
PreprocessingState. cloneTopTextDataContainer(boolean useLastReadStringIndex)
java.io.File
PreprocessorContext. createDestinationFileForPath(java.lang.String path)
It allows to create a File object for its path subject to the destination directory pathjava.io.File
PreprocessorContext. findFileInSourceFolder(java.lang.String path)
It finds a file for its path among files in source folder, it is prohibited to return files out of preprocessing folders.java.lang.String
PreprocessingState.ExcludeIfInfo. getCondition()
java.io.File[]
PreprocessorContext. getConfigFiles()
Get array of current registered configuration files(package private) java.util.List<TextFileDataContainer>
PreprocessingState. getCurrentIncludeStack()
java.lang.String
PreprocessorContext. getDestinationDirectory()
Get the string representation of the destination directoryjava.io.File
PreprocessorContext. getDestinationDirectoryAsFile()
Get the current destination directory as a File objectjava.lang.String[]
PreprocessorContext. getExcludedFileExtensions()
Get excluded file extension list as a string arrayjava.lang.String[]
PreprocessorContext. getExcludedFolderPatterns()
Get patterns for excluded folders.FileInfoContainer
PreprocessingState.ExcludeIfInfo. getFileInfoContainer()
java.lang.String
PreprocessorContext. getInCharacterEncoding()
Get the current character encoding for text readingjava.lang.String
JCPSpecialVariableProcessor.NameReferencePair. getName()
java.lang.String
PreprocessorContext. getOutCharacterEncoding()
Get the current character encoding for text writingprivate java.io.File[]
PreprocessorContext. getParsedSourceDirectoryAsFiles()
Inside auxiliary method to parse the source directories list into file arrayjava.util.Set<PreprocessingFlag>
PreprocessingState. getPreprocessingFlags()
PreprocessingState
PreprocessorContext. getPreprocessingState()
Get the last generated preprocessing state, it is the current onejava.lang.String[]
PreprocessorContext. getProcessingFileExtensions()
Get file extensions of files to be preprocessed as a string arraystatic java.util.List<JCPSpecialVariableProcessor.NameReferencePair>
JCPSpecialVariableProcessor. getReference()
java.lang.String
JCPSpecialVariableProcessor.NameReferencePair. getReference()
FileInfoContainer
PreprocessingState. getRootFileInfo()
TextFileDataContainer
PreprocessingState. getRootTextContainer()
java.lang.String
PreprocessorContext. getSourceDirectories()
Get the source directories as semi separated stringjava.io.File[]
PreprocessorContext. getSourceDirectoryAsFiles()
Get the current source directories as a file arrayValue
SpecialVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
Get the value for the variablejava.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 casePreprocessingState
PreprocessingState. goToString(int stringIndex)
PreprocessorException
PreprocessingState. makeException(java.lang.String message, java.lang.String causeString, java.lang.Throwable cause)
PreprocessorException
PreprocessorContext. makeException(java.lang.String text, java.lang.Throwable cause)
Prepare exception with message and cause, or return cause if it is a preprocessor exceptionFilePositionInfo[]
PreprocessingState. makeIncludeStack()
private static java.lang.String
PreprocessorContext. makeStackView(TextFileDataContainer cloneSource, boolean cloned, java.util.List<TextFileDataContainer> list)
TextFileDataContainer
PreprocessingState. openFile(java.io.File file)
java.util.List<PreprocessingState.ExcludeIfInfo>
PreprocessingState. popAllExcludeIfInfoData()
PreprocessingState.ExcludeIfInfo
PreprocessingState. popExcludeIfData()
PreprocessingState
PreprocessingState. popIf()
TextFileDataContainer
PreprocessingState. popTextContainer()
PreprocessingState
PreprocessingState. popWhile()
PreprocessingState
PreprocessorContext. produceNewPreprocessingState(FileInfoContainer fileContainer, int phaseIndex)
Generate new preprocessing state object, also the new preprocessing state will be saved as the current one in the contextPreprocessingState
PreprocessorContext. produceNewPreprocessingState(FileInfoContainer fileContainer, TextFileDataContainer textContainer)
Generate new preprocessing state for a file container and a text container, also the new preprocessing state will be saved as the current one in the contextPreprocessingState
PreprocessingState. pushIf(boolean makeActive)
PreprocessingState
PreprocessingState. pushWhile(boolean makeActive)
PreprocessorContext
PreprocessorContext. removeGlobalVariable(java.lang.String name)
Remove a global variable value from the context.PreprocessorContext
PreprocessorContext. removeLocalVariable(java.lang.String name)
Remove a local variable value from the context.PreprocessorContext
PreprocessorContext. setClearDestinationDirBefore(boolean flag)
Set the flag to clear the destination directory before preprocessingPreprocessorContext
PreprocessorContext. setCompareDestination(boolean flag)
Set the flag to check before saving if the content changed.PreprocessorContext
PreprocessorContext. setCopyFileAttributes(boolean value)
Set the flag to copy file attributes.PreprocessorContext
PreprocessorContext. setDestinationDirectory(java.lang.String directory)
Set a destination directory for result filesPreprocessorContext
PreprocessorContext. setExcludedFileExtensions(java.lang.String extensions)
Set comma separated list of file extensions to be excluded from preprocessingPreprocessorContext
PreprocessorContext. setGlobalVariable(java.lang.String name, Value value)
Set a global variable valuePreprocessorContext
PreprocessorContext. setInCharacterEncoding(java.lang.String characterEncoding)
Set the character encoding for reading texts, it must be supported by the Java platform else an exception will be thrownPreprocessorContext
PreprocessorContext. setKeepLines(boolean flag)
Set the flag to keep lines as commented onesPreprocessorContext
PreprocessorContext. setLocalVariable(java.lang.String name, Value value)
Set a local variable valuePreprocessorContext
PreprocessorContext. setOutCharacterEncoding(java.lang.String characterEncoding)
Set the output texts character encoding, it must be supported by the Java platform else an exception will be thrownPreprocessorContext
PreprocessorContext. setPreprocessorExtension(PreprocessorExtension extension)
Set a preprocessor extension, it is a module implements the PreprocessorExtension interface which can process and get some calls from a preprocessor during its workPreprocessorContext
PreprocessorContext. setProcessingFileExtensions(java.lang.String extensions)
Set file extensions of files to be preprocessed, it is a comma separated listPreprocessorContext
PreprocessorContext. setRemoveComments(boolean removingComments)
Set the remove comments flagPreprocessorContext
PreprocessorContext. setSourceDirectories(java.lang.String directories)
Set source directoriesPreprocessorContext
PreprocessorContext. setVerbose(boolean flag)
Set the verbose flagjava.io.Writer
PreprocessingState. writePrinterBuffers(java.io.Writer writer)
Method parameters in com.igormaznitsa.jcp.context with annotations of type Nonnull Modifier and Type Method Description void
PreprocessorContext. addConfigFile(java.io.File file)
Add a configuration file, it is a file which contains directives and global variable definitionsjava.io.File
PreprocessorContext. createDestinationFileForPath(java.lang.String path)
It allows to create a File object for its path subject to the destination directory pathjava.io.File
PreprocessorContext. findFileInSourceFolder(java.lang.String path)
It finds a file for its path among files in source folder, it is prohibited to return files out of preprocessing folders.java.lang.Object
PreprocessorContext. getSharedResource(java.lang.String name)
Get a shared source from inside mapValue
EnvironmentVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
Value
EnvironmentVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
Value
JCPSpecialVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
Value
JCPSpecialVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
Value
SpecialVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
Get the value for the variablevoid
PreprocessorContext. logForVerbose(java.lang.String str)
PreprocessorException
PreprocessorContext. makeException(java.lang.String text, java.lang.Throwable cause)
Prepare exception with message and cause, or return cause if it is a preprocessor exceptionTextFileDataContainer
PreprocessingState. openFile(java.io.File file)
void
PreprocessingState. popAllIFUntilContainerWithFile(TextFileDataContainer container)
PreprocessingState
PreprocessorContext. produceNewPreprocessingState(FileInfoContainer fileContainer, int phaseIndex)
Generate new preprocessing state object, also the new preprocessing state will be saved as the current one in the contextPreprocessingState
PreprocessorContext. produceNewPreprocessingState(FileInfoContainer fileContainer, TextFileDataContainer textContainer)
Generate new preprocessing state for a file container and a text container, also the new preprocessing state will be saved as the current one in the contextPreprocessingState
PreprocessorContext. produceNewPreprocessingState(FileInfoContainer fileContainer, TextFileDataContainer textContainer)
Generate new preprocessing state for a file container and a text container, also the new preprocessing state will be saved as the current one in the contextvoid
PreprocessingState. pushExcludeIfData(FileInfoContainer infoContainer, java.lang.String excludeIfCondition, int stringIndex)
void
PreprocessingState. pushExcludeIfData(FileInfoContainer infoContainer, java.lang.String excludeIfCondition, int stringIndex)
void
PreprocessorContext. registerSpecialVariableProcessor(SpecialVariableProcessor processor)
It allows to register a special variable processor which can process some special global variablesPreprocessorContext
PreprocessorContext. removeGlobalVariable(java.lang.String name)
Remove a global variable value from the context.PreprocessorContext
PreprocessorContext. removeLocalVariable(java.lang.String name)
Remove a local variable value from the context.java.lang.Object
PreprocessorContext. removeSharedResource(java.lang.String name)
Remove a shared object from the inside map for its nameboolean
PreprocessingState. saveBuffersToFile(java.io.File outFile, boolean removeComments)
void
PreprocessingState. saveBuffersToStreams(java.io.OutputStream prefix, java.io.OutputStream normal, java.io.OutputStream postfix)
void
PreprocessingState. saveBuffersToStreams(java.io.OutputStream prefix, java.io.OutputStream normal, java.io.OutputStream postfix)
void
PreprocessingState. saveBuffersToStreams(java.io.OutputStream prefix, java.io.OutputStream normal, java.io.OutputStream postfix)
PreprocessorContext
PreprocessorContext. setDestinationDirectory(java.lang.String directory)
Set a destination directory for result filesPreprocessorContext
PreprocessorContext. setExcludedFileExtensions(java.lang.String extensions)
Set comma separated list of file extensions to be excluded from preprocessingvoid
PreprocessorContext. setExcludedFolderPatterns(java.lang.String... patterns)
Set patterns for excluded folders.PreprocessorContext
PreprocessorContext. setGlobalVariable(java.lang.String name, Value value)
Set a global variable valuePreprocessorContext
PreprocessorContext. setGlobalVariable(java.lang.String name, Value value)
Set a global variable valuePreprocessorContext
PreprocessorContext. setInCharacterEncoding(java.lang.String characterEncoding)
Set the character encoding for reading texts, it must be supported by the Java platform else an exception will be thrownPreprocessorContext
PreprocessorContext. setLocalVariable(java.lang.String name, Value value)
Set a local variable valuePreprocessorContext
PreprocessorContext. setLocalVariable(java.lang.String name, Value value)
Set a local variable valuePreprocessorContext
PreprocessorContext. setOutCharacterEncoding(java.lang.String characterEncoding)
Set the output texts character encoding, it must be supported by the Java platform else an exception will be thrownvoid
PreprocessingState. setPrinter(PreprocessingState.PrinterType type)
PreprocessorContext
PreprocessorContext. setProcessingFileExtensions(java.lang.String extensions)
Set file extensions of files to be preprocessed, it is a comma separated listvoid
PreprocessorContext. setSharedResource(java.lang.String name, java.lang.Object obj)
Set a shared source, it is an object saved into the inside map for a namevoid
PreprocessorContext. setSharedResource(java.lang.String name, java.lang.Object obj)
Set a shared source, it is an object saved into the inside map for a namePreprocessorContext
PreprocessorContext. setSourceDirectories(java.lang.String directories)
Set source directoriesvoid
EnvironmentVariableProcessor. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
EnvironmentVariableProcessor. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
EnvironmentVariableProcessor. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
JCPSpecialVariableProcessor. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
JCPSpecialVariableProcessor. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
JCPSpecialVariableProcessor. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
SpecialVariableProcessor. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
Set a value to the variablevoid
SpecialVariableProcessor. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
Set a value to the variablejava.io.Writer
PreprocessingState. writePrinterBuffers(java.io.Writer writer)
Constructor parameters in com.igormaznitsa.jcp.context with annotations of type Nonnull Constructor Description ExcludeIfInfo(FileInfoContainer fileInfoContainer, java.lang.String condition, int stringIndex)
ExcludeIfInfo(FileInfoContainer fileInfoContainer, java.lang.String condition, int stringIndex)
NameReferencePair(java.lang.String name, java.lang.String reference)
NameReferencePair(java.lang.String name, java.lang.String reference)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, FileInfoContainer rootFile, java.lang.String inEncoding, java.lang.String outEncoding, boolean overrideOnlyIfContentChanged)
PreprocessingState(PreprocessorContext context, java.lang.String inEncoding, java.lang.String outEncoding)
PreprocessingState(PreprocessorContext context, java.lang.String inEncoding, java.lang.String outEncoding)
PreprocessingState(PreprocessorContext context, java.lang.String inEncoding, java.lang.String outEncoding)
PreprocessorContext(PreprocessorContext context)
Make clone of a preprocessor context but without cloning state. -
Uses of Nonnull in com.igormaznitsa.jcp.directives
Methods in com.igormaznitsa.jcp.directives with annotations of type Nonnull Modifier and Type Method Description AfterDirectiveProcessingBehaviour
AbortDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
abstract AfterDirectiveProcessingBehaviour
AbstractDirectiveHandler. execute(java.lang.String tailString, PreprocessorContext context)
Execute directiveAfterDirectiveProcessingBehaviour
ActionDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
BreakDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
CommentNextLineDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ContinueDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
DefineDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EchoDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ElseDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EndDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EndIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ErrorDirectiveHandler. execute(java.lang.String trimmedString, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExcludeIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExitDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExitIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
FlushDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalElseDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalEndIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IfDefinedDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IncludeDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
LocalDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
MsgDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
NoAutoFlushHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutDirDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutDisabledDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutEnabledDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutNameDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
PostfixDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
PrefixDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
WhileDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
DirectiveArgumentType
AbortDirectiveHandler. getArgumentType()
DirectiveArgumentType
AbstractDirectiveHandler. getArgumentType()
Get the argument type needed by the directiveDirectiveArgumentType
ActionDirectiveHandler. getArgumentType()
DirectiveArgumentType
DefineDirectiveHandler. getArgumentType()
DirectiveArgumentType
EchoDirectiveHandler. getArgumentType()
DirectiveArgumentType
ErrorDirectiveHandler. getArgumentType()
DirectiveArgumentType
ExcludeIfDirectiveHandler. getArgumentType()
DirectiveArgumentType
ExitIfDirectiveHandler. getArgumentType()
DirectiveArgumentType
GlobalDirectiveHandler. getArgumentType()
DirectiveArgumentType
GlobalIfDirectiveHandler. getArgumentType()
DirectiveArgumentType
IfDefDirectiveHandler. getArgumentType()
DirectiveArgumentType
IfDefinedDirectiveHandler. getArgumentType()
DirectiveArgumentType
IfDirectiveHandler. getArgumentType()
DirectiveArgumentType
IncludeDirectiveHandler. getArgumentType()
DirectiveArgumentType
LocalDirectiveHandler. getArgumentType()
DirectiveArgumentType
MsgDirectiveHandler. getArgumentType()
DirectiveArgumentType
OutDirDirectiveHandler. getArgumentType()
DirectiveArgumentType
OutDisabledDirectiveHandler. getArgumentType()
DirectiveArgumentType
OutEnabledDirectiveHandler. getArgumentType()
DirectiveArgumentType
OutNameDirectiveHandler. getArgumentType()
DirectiveArgumentType
PostfixDirectiveHandler. getArgumentType()
DirectiveArgumentType
PrefixDirectiveHandler. getArgumentType()
DirectiveArgumentType
WhileDirectiveHandler. getArgumentType()
java.lang.String
DirectiveArgumentType. getAsText()
java.lang.String
AbstractDirectiveHandler. getFullName()
Get the directive name with prefixjava.lang.String
AbortDirectiveHandler. getName()
abstract java.lang.String
AbstractDirectiveHandler. getName()
Get the name of the directive without prefixjava.lang.String
ActionDirectiveHandler. getName()
java.lang.String
BreakDirectiveHandler. getName()
java.lang.String
CommentNextLineDirectiveHandler. getName()
java.lang.String
ContinueDirectiveHandler. getName()
java.lang.String
DefineDirectiveHandler. getName()
java.lang.String
DefinelDirectiveHandler. getName()
java.lang.String
EchoDirectiveHandler. getName()
java.lang.String
ElseDirectiveHandler. getName()
java.lang.String
EndDirectiveHandler. getName()
java.lang.String
EndIfDirectiveHandler. getName()
java.lang.String
ErrorDirectiveHandler. getName()
java.lang.String
ExcludeIfDirectiveHandler. getName()
java.lang.String
ExitDirectiveHandler. getName()
java.lang.String
ExitIfDirectiveHandler. getName()
java.lang.String
FlushDirectiveHandler. getName()
java.lang.String
GlobalDirectiveHandler. getName()
java.lang.String
GlobalElseDirectiveHandler. getName()
java.lang.String
GlobalEndIfDirectiveHandler. getName()
java.lang.String
GlobalIfDirectiveHandler. getName()
java.lang.String
IfDefDirectiveHandler. getName()
java.lang.String
IfDefinedDirectiveHandler. getName()
java.lang.String
IfDirectiveHandler. getName()
java.lang.String
IfNDefDirectiveHandler. getName()
java.lang.String
IncludeDirectiveHandler. getName()
java.lang.String
LocalDirectiveHandler. getName()
java.lang.String
MsgDirectiveHandler. getName()
java.lang.String
NoAutoFlushHandler. getName()
java.lang.String
OutDirDirectiveHandler. getName()
java.lang.String
OutDisabledDirectiveHandler. getName()
java.lang.String
OutEnabledDirectiveHandler. getName()
java.lang.String
OutNameDirectiveHandler. getName()
java.lang.String
PostfixDirectiveHandler. getName()
java.lang.String
PrefixDirectiveHandler. getName()
java.lang.String
UndefDirectiveHandler. getName()
java.lang.String
WarningDirectiveHandler. getName()
java.lang.String
WhileDirectiveHandler. getName()
java.lang.String
AbortDirectiveHandler. getReference()
abstract java.lang.String
AbstractDirectiveHandler. getReference()
Get the directive reference, it will be printed for a help requestjava.lang.String
ActionDirectiveHandler. getReference()
java.lang.String
BreakDirectiveHandler. getReference()
java.lang.String
CommentNextLineDirectiveHandler. getReference()
java.lang.String
ContinueDirectiveHandler. getReference()
java.lang.String
DefineDirectiveHandler. getReference()
java.lang.String
DefinelDirectiveHandler. getReference()
java.lang.String
EchoDirectiveHandler. getReference()
java.lang.String
ElseDirectiveHandler. getReference()
java.lang.String
EndDirectiveHandler. getReference()
java.lang.String
EndIfDirectiveHandler. getReference()
java.lang.String
ErrorDirectiveHandler. getReference()
java.lang.String
ExcludeIfDirectiveHandler. getReference()
java.lang.String
ExitDirectiveHandler. getReference()
java.lang.String
ExitIfDirectiveHandler. getReference()
java.lang.String
FlushDirectiveHandler. getReference()
java.lang.String
GlobalDirectiveHandler. getReference()
java.lang.String
GlobalElseDirectiveHandler. getReference()
java.lang.String
GlobalEndIfDirectiveHandler. getReference()
java.lang.String
GlobalIfDirectiveHandler. getReference()
java.lang.String
IfDefDirectiveHandler. getReference()
java.lang.String
IfDefinedDirectiveHandler. getReference()
java.lang.String
IfDirectiveHandler. getReference()
java.lang.String
IfNDefDirectiveHandler. getReference()
java.lang.String
IncludeDirectiveHandler. getReference()
java.lang.String
LocalDirectiveHandler. getReference()
java.lang.String
MsgDirectiveHandler. getReference()
java.lang.String
NoAutoFlushHandler. getReference()
java.lang.String
OutDirDirectiveHandler. getReference()
java.lang.String
OutDisabledDirectiveHandler. getReference()
java.lang.String
OutEnabledDirectiveHandler. getReference()
java.lang.String
OutNameDirectiveHandler. getReference()
java.lang.String
PostfixDirectiveHandler. getReference()
java.lang.String
PrefixDirectiveHandler. getReference()
java.lang.String
UndefDirectiveHandler. getReference()
java.lang.String
WarningDirectiveHandler. getReference()
java.lang.String
WhileDirectiveHandler. getReference()
private java.util.List<ExpressionTree>
ActionDirectiveHandler. parseString(java.lang.String str, PreprocessorContext context)
Method parameters in com.igormaznitsa.jcp.directives with annotations of type Nonnull Modifier and Type Method Description AfterDirectiveProcessingBehaviour
AbortDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
AbortDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
abstract AfterDirectiveProcessingBehaviour
AbstractDirectiveHandler. execute(java.lang.String tailString, PreprocessorContext context)
Execute directiveabstract AfterDirectiveProcessingBehaviour
AbstractDirectiveHandler. execute(java.lang.String tailString, PreprocessorContext context)
Execute directiveAfterDirectiveProcessingBehaviour
ActionDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ActionDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
BreakDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
BreakDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
CommentNextLineDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
CommentNextLineDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ContinueDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ContinueDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
DefineDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
DefineDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EchoDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EchoDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ElseDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ElseDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EndDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EndDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EndIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
EndIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ErrorDirectiveHandler. execute(java.lang.String trimmedString, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ErrorDirectiveHandler. execute(java.lang.String trimmedString, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExcludeIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExcludeIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExitDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExitDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExitIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
ExitIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
FlushDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
FlushDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalElseDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalElseDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalEndIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalEndIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
GlobalIfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IfDefinedDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IfDefinedDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IfDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IncludeDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
IncludeDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
LocalDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
LocalDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
MsgDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
MsgDirectiveHandler. execute(java.lang.String rawTail, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
NoAutoFlushHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
NoAutoFlushHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutDirDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutDirDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutDisabledDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutDisabledDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutEnabledDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutEnabledDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutNameDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
OutNameDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
PostfixDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
PostfixDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
PrefixDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
PrefixDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
WhileDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
AfterDirectiveProcessingBehaviour
WhileDirectiveHandler. execute(java.lang.String string, PreprocessorContext context)
private java.util.List<ExpressionTree>
ActionDirectiveHandler. parseString(java.lang.String str, PreprocessorContext context)
private java.util.List<ExpressionTree>
ActionDirectiveHandler. parseString(java.lang.String str, PreprocessorContext context)
protected void
DefineDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
DefineDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
DefineDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
DefinelDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
DefinelDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
DefinelDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
ErrorDirectiveHandler. process(PreprocessorContext context, java.lang.String message)
protected void
ErrorDirectiveHandler. process(PreprocessorContext context, java.lang.String message)
protected void
UndefDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
UndefDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
UndefDirectiveHandler. process(PreprocessorContext context, java.lang.String varName, Value value, boolean exists)
protected void
WarningDirectiveHandler. process(PreprocessorContext context, java.lang.String message)
protected void
WarningDirectiveHandler. process(PreprocessorContext context, java.lang.String message)
private void
GlobalDirectiveHandler. processDefinition(java.lang.String string, PreprocessorContext context)
private void
GlobalDirectiveHandler. processDefinition(java.lang.String string, PreprocessorContext context)
private void
LocalDirectiveHandler. processLocalDefinition(java.lang.String string, PreprocessorContext context)
private void
LocalDirectiveHandler. processLocalDefinition(java.lang.String string, PreprocessorContext context)
Constructor parameters in com.igormaznitsa.jcp.directives with annotations of type Nonnull Constructor Description DirectiveArgumentType(java.lang.String str)
-
Uses of Nonnull in com.igormaznitsa.jcp.exceptions
Methods in com.igormaznitsa.jcp.exceptions with annotations of type Nonnull Modifier and Type Method Description java.io.File
FilePositionInfo. getFile()
FilePositionInfo[]
PreprocessorException. getIncludeChain()
private static java.lang.String
PreprocessorException. makeStackView(FilePositionInfo[] list, char fill)
static java.lang.String
PreprocessorException. referenceAsString(char fillChar, java.lang.Throwable thr)
java.lang.String
FilePositionInfo. toString()
java.lang.String
PreprocessorException. toString()
Constructor parameters in com.igormaznitsa.jcp.exceptions with annotations of type Nonnull Constructor Description FilePositionInfo(java.io.File file, int stringIndex)
-
Uses of Nonnull in com.igormaznitsa.jcp.expression
Methods in com.igormaznitsa.jcp.expression with annotations of type Nonnull Modifier and Type Method Description ExpressionTreeElement
ExpressionTreeElement. addSubTree(ExpressionTree tree)
Add a tree as new child and make the maximum priority for itjava.lang.Boolean
Value. asBoolean()
java.lang.Float
Value. asFloat()
java.lang.Long
Value. asLong()
java.lang.String
Value. asString()
private ExpressionTreeElement
Expression. calculateTreeElement(ExpressionTreeElement element, PreprocessingState state)
private Value
Expression. eval(PreprocessingState state)
static Value
Expression. evalExpression(java.lang.String expression, PreprocessorContext context)
Evaluate expressionprivate ExpressionTreeElement
Expression. evalFunction(ExpressionTreeElement functionElement, PreprocessingState state)
private ExpressionTreeElement
Expression. evalOperator(ExpressionTreeElement operatorElement, PreprocessingState state)
static Value
Expression. evalTree(ExpressionTree tree, PreprocessorContext context)
Evaluate an expression treeExpressionTreeElement
ExpressionTreeElement. getChildForIndex(int index)
Get the child element for its index (the first is 0)ExpressionItemPriority
ExpressionItem. getExpressionItemPriority()
Get the priority of the itemExpressionItemPriority
Value. getExpressionItemPriority()
ExpressionItemPriority
Variable. getExpressionItemPriority()
Get the expression item priorityExpressionItemType
ExpressionItem. getExpressionItemType()
Get the type of the itemExpressionItemType
Value. getExpressionItemType()
ExpressionItemType
Variable. getExpressionItemType()
Get the expression item typestatic ExpressionParser
ExpressionParser. getInstance()
ExpressionItem
ExpressionTreeElement. getItem()
Get the wrapped itemjava.lang.String
Variable. getName()
Get the variable nameExpressionTreeElement
ExpressionTree. getRoot()
Get the root of the treejava.lang.String
ValueType. getSignature()
ValueType
Value. getType()
java.lang.Object
Value. getValue()
ExpressionTree
ExpressionParser. parse(java.lang.String expressionStr, PreprocessorContext context)
To parse an expression represented as a string and get a treeprivate 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 treestatic Value
Value. recognizeOf(java.lang.String str)
static Value
Value. recognizeRawString(java.lang.String str)
static ValueType
Value. recognizeType(java.lang.String value)
java.lang.String
Value. toString()
java.lang.String
Variable. toString()
java.lang.String
Value. toStringDetail()
static Value
Value. valueOf(java.lang.Boolean val)
static Value
Value. valueOf(java.lang.Float val)
static Value
Value. valueOf(java.lang.Long val)
static Value
Value. valueOf(java.lang.String val)
Method parameters in com.igormaznitsa.jcp.expression with annotations of type Nonnull Modifier and Type Method Description private void
ExpressionTreeElement. addElementToNextFreeSlot(ExpressionTreeElement element)
Add an expression element into the next free child slotvoid
ExpressionTree. addItem(ExpressionItem item)
Add new expression item into treeExpressionTreeElement
ExpressionTreeElement. addSubTree(ExpressionTree tree)
Add a tree as new child and make the maximum priority for itvoid
ExpressionTree. addTree(ExpressionTree tree)
Add whole tree as a tree element, also it sets the maximum priority to the new elementExpressionTreeElement
ExpressionTreeElement. addTreeElement(ExpressionTreeElement element)
Add tree element with sorting operation depends on priority of the elementsprivate ExpressionTreeElement
Expression. calculateTreeElement(ExpressionTreeElement element, PreprocessingState state)
private ExpressionTreeElement
Expression. calculateTreeElement(ExpressionTreeElement element, PreprocessingState state)
private Value
Expression. eval(PreprocessingState state)
static Value
Expression. evalExpression(java.lang.String expression, PreprocessorContext context)
Evaluate expressionstatic Value
Expression. evalExpression(java.lang.String expression, PreprocessorContext context)
Evaluate expressionprivate ExpressionTreeElement
Expression. evalFunction(ExpressionTreeElement functionElement, PreprocessingState state)
private ExpressionTreeElement
Expression. evalFunction(ExpressionTreeElement functionElement, PreprocessingState state)
private ExpressionTreeElement
Expression. evalOperator(ExpressionTreeElement operatorElement, PreprocessingState state)
private ExpressionTreeElement
Expression. evalOperator(ExpressionTreeElement operatorElement, PreprocessingState state)
static Value
Expression. evalTree(ExpressionTree tree, PreprocessorContext context)
Evaluate an expression treestatic Value
Expression. evalTree(ExpressionTree tree, PreprocessorContext context)
Evaluate an expression treevoid
ExpressionTreeElement. fillArguments(java.util.List<ExpressionTree> arguments)
It fills children slots from a list containing expression treesstatic java.lang.Object
Value. getValue(java.lang.String value, ValueType type)
static java.lang.Object
Value. getValue(java.lang.String value, ValueType type)
boolean
ValueType. isCompatible(ValueType type)
To check that the type is compatible with another one(package private) ExpressionItem
ExpressionParser. nextItem(java.io.PushbackReader reader, PreprocessorContext context)
Read the next item from the reader(package private) ExpressionItem
ExpressionParser. nextItem(java.io.PushbackReader reader, PreprocessorContext context)
Read the next item from the readerExpressionTree
ExpressionParser. parse(java.lang.String expressionStr, PreprocessorContext context)
To parse an expression represented as a string and get a treeExpressionTree
ExpressionParser. parse(java.lang.String expressionStr, PreprocessorContext context)
To parse an expression represented as a string and get a treeExpressionItem
ExpressionParser. readExpression(java.io.PushbackReader reader, ExpressionTree tree, PreprocessorContext context, boolean insideBracket, boolean argument)
It reads an expression from a reader and fill a treeExpressionItem
ExpressionParser. readExpression(java.io.PushbackReader reader, ExpressionTree tree, PreprocessorContext context, boolean insideBracket, boolean argument)
It reads an expression from a reader and fill a treeExpressionItem
ExpressionParser. readExpression(java.io.PushbackReader reader, ExpressionTree tree, PreprocessorContext context, boolean insideBracket, boolean argument)
It reads an expression from a reader and fill a treeprivate 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 treeprivate 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 treeprivate 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(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(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 argumentstatic Value
Value. recognizeOf(java.lang.String str)
static Value
Value. recognizeRawString(java.lang.String str)
static ValueType
Value. recognizeType(java.lang.String value)
boolean
ExpressionTreeElement. replaceElement(ExpressionTreeElement oldOne, ExpressionTreeElement newOne)
It replaces a child elementboolean
ExpressionTreeElement. replaceElement(ExpressionTreeElement oldOne, ExpressionTreeElement newOne)
It replaces a child elementstatic Value
Value. valueOf(java.lang.Boolean val)
static Value
Value. valueOf(java.lang.Float val)
static Value
Value. valueOf(java.lang.Long val)
static Value
Value. valueOf(java.lang.String val)
Constructor parameters in com.igormaznitsa.jcp.expression with annotations of type Nonnull Constructor Description Expression(PreprocessorContext context, ExpressionTree tree)
Expression(PreprocessorContext context, ExpressionTree tree)
ExpressionTreeElement(ExpressionItem item, FilePositionInfo[] callStack, java.lang.String sourceString)
The constructorExpressionTreeElement(ExpressionItem item, FilePositionInfo[] callStack, java.lang.String sourceString)
The constructorValue(java.lang.Boolean val)
Value(java.lang.Float val)
Value(java.lang.Long val)
ValueType(java.lang.String signature)
Variable(java.lang.String varName)
The constructor -
Uses of Nonnull in com.igormaznitsa.jcp.expression.functions
Methods in com.igormaznitsa.jcp.expression.functions with annotations of type Nonnull Modifier and Type Method Description private static java.lang.String
FunctionBINFILE. convertTo(java.io.File file, FunctionBINFILE.Type type, boolean deflate, int lineLength, java.lang.String endOfLine)
private static byte[]
FunctionBINFILE. deflate(byte[] data)
private static java.lang.String
FunctionSTR2GO. escapeGo(java.lang.String value)
Value
FunctionDefinedByUser. execute(PreprocessorContext context, Value[] values)
Value
FunctionABS. executeFloat(PreprocessorContext context, Value value)
Value
FunctionROUND. executeFloat(PreprocessorContext context, Value value)
Value
FunctionABS. executeInt(PreprocessorContext context, Value value)
Value
FunctionROUND. executeInt(PreprocessorContext context, Value value)
abstract Value
AbstractStrConverter. executeStr(PreprocessorContext context, Value stringToConvert)
Value
FunctionEVALFILE. executeStr(PreprocessorContext context, Value strfilePath)
Value
FunctionSTR2CSV. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2INT. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2JS. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2JSON. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2WEB. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2XML. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTRLEN. executeStr(PreprocessorContext context, Value value)
Value
FunctionTRIMLINES. executeStr(PreprocessorContext context, Value value)
Value
FunctionIS. executeStrAny(PreprocessorContext context, Value varName, Value value)
Value
FunctionSTR2GO. executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
Value
FunctionSTR2JAVA. executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
Value
FunctionBINFILE. executeStrStr(PreprocessorContext context, Value strfilePath, Value encodeType)
Value
FunctionISSUBSTR. executeStrStr(PreprocessorContext context, Value subStrValue, Value strValue)
abstract ValueType[][]
AbstractFunction. getAllowedArgumentTypes()
Get arrays of supported argument typesValueType[][]
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()
ExpressionItemPriority
AbstractFunction. getExpressionItemPriority()
Get the priority of the function in the expression treeExpressionItemType
AbstractFunction. getExpressionItemType()
Get the expression item typeabstract java.lang.String
AbstractFunction. getName()
Get the function namejava.lang.String
FunctionABS. getName()
java.lang.String
FunctionBINFILE. getName()
java.lang.String
FunctionBINFILE.Type. getName()
java.lang.String
FunctionDefinedByUser. getName()
java.lang.String
FunctionEVALFILE. getName()
java.lang.String
FunctionIS. getName()
java.lang.String
FunctionISSUBSTR. getName()
java.lang.String
FunctionROUND. getName()
java.lang.String
FunctionSTR2CSV. getName()
java.lang.String
FunctionSTR2GO. getName()
java.lang.String
FunctionSTR2INT. getName()
java.lang.String
FunctionSTR2JAVA. getName()
java.lang.String
FunctionSTR2JS. getName()
java.lang.String
FunctionSTR2JSON. getName()
java.lang.String
FunctionSTR2WEB. getName()
java.lang.String
FunctionSTR2XML. getName()
java.lang.String
FunctionSTRLEN. getName()
java.lang.String
FunctionTRIMLINES. getName()
abstract java.lang.String
AbstractFunction. getReference()
Get the function reference to be output for a help requestjava.lang.String
FunctionABS. getReference()
java.lang.String
FunctionBINFILE. getReference()
java.lang.String
FunctionDefinedByUser. getReference()
java.lang.String
FunctionEVALFILE. getReference()
java.lang.String
FunctionIS. getReference()
java.lang.String
FunctionISSUBSTR. getReference()
java.lang.String
FunctionROUND. getReference()
java.lang.String
FunctionSTR2CSV. getReference()
java.lang.String
FunctionSTR2GO. getReference()
java.lang.String
FunctionSTR2INT. getReference()
java.lang.String
FunctionSTR2JAVA. getReference()
java.lang.String
FunctionSTR2JS. getReference()
java.lang.String
FunctionSTR2JSON. getReference()
java.lang.String
FunctionSTR2WEB. getReference()
java.lang.String
FunctionSTR2XML. getReference()
java.lang.String
FunctionSTRLEN. getReference()
java.lang.String
FunctionTRIMLINES. getReference()
abstract ValueType
AbstractFunction. getResultType()
Get the result typeValueType
FunctionABS. getResultType()
ValueType
FunctionBINFILE. getResultType()
ValueType
FunctionDefinedByUser. getResultType()
ValueType
FunctionEVALFILE. getResultType()
ValueType
FunctionIS. getResultType()
ValueType
FunctionISSUBSTR. getResultType()
ValueType
FunctionROUND. getResultType()
ValueType
FunctionSTR2CSV. getResultType()
ValueType
FunctionSTR2GO. getResultType()
ValueType
FunctionSTR2INT. getResultType()
ValueType
FunctionSTR2JAVA. getResultType()
ValueType
FunctionSTR2JS. getResultType()
ValueType
FunctionSTR2JSON. getResultType()
ValueType
FunctionSTR2WEB. getResultType()
ValueType
FunctionSTR2XML. getResultType()
ValueType
FunctionSTRLEN. getResultType()
ValueType
FunctionTRIMLINES. getResultType()
private PreprocessorContext
FunctionEVALFILE. prepareContext(PreprocessorContext base)
private static java.lang.String
FunctionSTR2GO. toUnicode(char c)
Method parameters in com.igormaznitsa.jcp.expression.functions with annotations of type Nonnull Modifier and Type Method Description private static java.lang.String
FunctionBINFILE. convertTo(java.io.File file, FunctionBINFILE.Type type, boolean deflate, int lineLength, java.lang.String endOfLine)
private static java.lang.String
FunctionBINFILE. convertTo(java.io.File file, FunctionBINFILE.Type type, boolean deflate, int lineLength, java.lang.String endOfLine)
private static java.lang.String
FunctionBINFILE. convertTo(java.io.File file, FunctionBINFILE.Type type, boolean deflate, int lineLength, java.lang.String endOfLine)
private static byte[]
FunctionBINFILE. deflate(byte[] data)
private static java.lang.String
FunctionSTR2GO. escapeGo(java.lang.String value)
Value
FunctionDefinedByUser. execute(PreprocessorContext context, Value[] values)
Value
FunctionDefinedByUser. execute(PreprocessorContext context, Value[] values)
Value
FunctionABS. executeFloat(PreprocessorContext context, Value value)
Value
FunctionABS. executeFloat(PreprocessorContext context, Value value)
Value
FunctionROUND. executeFloat(PreprocessorContext context, Value value)
Value
FunctionROUND. executeFloat(PreprocessorContext context, Value value)
Value
FunctionABS. executeInt(PreprocessorContext context, Value value)
Value
FunctionABS. executeInt(PreprocessorContext context, Value value)
Value
FunctionROUND. executeInt(PreprocessorContext context, Value value)
Value
FunctionROUND. executeInt(PreprocessorContext context, Value value)
abstract Value
AbstractStrConverter. executeStr(PreprocessorContext context, Value stringToConvert)
abstract Value
AbstractStrConverter. executeStr(PreprocessorContext context, Value stringToConvert)
Value
FunctionEVALFILE. executeStr(PreprocessorContext context, Value strfilePath)
Value
FunctionEVALFILE. executeStr(PreprocessorContext context, Value strfilePath)
Value
FunctionSTR2CSV. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2CSV. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2INT. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2INT. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2JS. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2JS. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2JSON. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2JSON. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2WEB. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2WEB. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2XML. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTR2XML. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTRLEN. executeStr(PreprocessorContext context, Value value)
Value
FunctionSTRLEN. executeStr(PreprocessorContext context, Value value)
Value
FunctionTRIMLINES. executeStr(PreprocessorContext context, Value value)
Value
FunctionTRIMLINES. executeStr(PreprocessorContext context, Value value)
Value
FunctionIS. executeStrAny(PreprocessorContext context, Value varName, Value value)
Value
FunctionIS. executeStrAny(PreprocessorContext context, Value varName, Value value)
Value
FunctionIS. executeStrAny(PreprocessorContext context, Value varName, Value value)
Value
FunctionSTR2GO. executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
Value
FunctionSTR2GO. executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
Value
FunctionSTR2GO. executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
Value
FunctionSTR2JAVA. executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
Value
FunctionSTR2JAVA. executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
Value
FunctionSTR2JAVA. executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
Value
FunctionBINFILE. executeStrStr(PreprocessorContext context, Value strfilePath, Value encodeType)
Value
FunctionBINFILE. executeStrStr(PreprocessorContext context, Value strfilePath, Value encodeType)
Value
FunctionBINFILE. executeStrStr(PreprocessorContext context, Value strfilePath, Value encodeType)
Value
FunctionISSUBSTR. executeStrStr(PreprocessorContext context, Value subStrValue, Value strValue)
Value
FunctionISSUBSTR. executeStrStr(PreprocessorContext context, Value subStrValue, Value strValue)
Value
FunctionISSUBSTR. executeStrStr(PreprocessorContext context, Value subStrValue, Value strValue)
static <E extends AbstractFunction>
EAbstractFunction. findForClass(java.lang.Class<E> functionClass)
Allows to find a function handler instance for its classstatic AbstractFunction
AbstractFunction. findForName(java.lang.String str)
Find a function handler for its nameprivate static boolean
FunctionBINFILE. hasDeflateFlag(java.lang.String name, FunctionBINFILE.Type type)
private static boolean
FunctionBINFILE. hasDeflateFlag(java.lang.String name, FunctionBINFILE.Type type)
private static boolean
FunctionBINFILE. hasSplitFlag(java.lang.String name, FunctionBINFILE.Type type)
private static boolean
FunctionBINFILE. hasSplitFlag(java.lang.String name, FunctionBINFILE.Type type)
private PreprocessorContext
FunctionEVALFILE. prepareContext(PreprocessorContext base)
Constructor parameters in com.igormaznitsa.jcp.expression.functions with annotations of type Nonnull Constructor Description FunctionDefinedByUser(java.lang.String name, int argsNumber, PreprocessorContext context)
FunctionDefinedByUser(java.lang.String name, int argsNumber, PreprocessorContext context)
Type(java.lang.String name)
-
Uses of Nonnull in com.igormaznitsa.jcp.expression.functions.xml
Methods in com.igormaznitsa.jcp.expression.functions.xml with annotations of type Nonnull Modifier and Type Method Description static java.lang.String
AbstractXMLFunction. buildPathForElement(org.w3c.dom.Element element)
Value
FunctionXML_NAME. executeStr(PreprocessorContext context, Value elementId)
Value
FunctionXML_OPEN. executeStr(PreprocessorContext context, Value filePath)
Value
FunctionXML_ROOT. executeStr(PreprocessorContext context, Value documentId)
Value
FunctionXML_SIZE. executeStr(PreprocessorContext context, Value elementListId)
Value
FunctionXML_TEXT. executeStr(PreprocessorContext context, Value elementid)
Value
FunctionXML_GET. executeStrInt(PreprocessorContext context, Value elementListId, Value elementIndex)
Value
FunctionXML_ATTR. executeStrStr(PreprocessorContext context, Value elementId, Value attributeName)
Value
FunctionXML_LIST. executeStrStr(PreprocessorContext context, Value elementId, Value elementTag)
Value
FunctionXML_XELEMENT. executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
Value
FunctionXML_XLIST. executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
java.lang.String
AbstractXMLFunction. findElementForIndex(PreprocessorContext context, java.lang.String elementListId, int elementIndex)
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()
java.lang.String
AbstractXMLFunction. getAttribute(PreprocessorContext context, java.lang.String elementId, java.lang.String attributeName)
org.w3c.dom.Document
AbstractXMLFunction. getCachedDocument(PreprocessorContext context, java.lang.String documentId)
org.w3c.dom.Element
AbstractXMLFunction. getCachedElement(PreprocessorContext context, java.lang.String elementId)
org.w3c.dom.NodeList
AbstractXMLFunction. getCachedElementList(PreprocessorContext context, java.lang.String elementListId)
static java.lang.String
AbstractXMLFunction. getFirstLevelTextContent(org.w3c.dom.Node node)
java.lang.String
FunctionXML_ATTR. getName()
java.lang.String
FunctionXML_GET. getName()
java.lang.String
FunctionXML_LIST. getName()
java.lang.String
FunctionXML_NAME. getName()
java.lang.String
FunctionXML_OPEN. getName()
java.lang.String
FunctionXML_ROOT. getName()
java.lang.String
FunctionXML_SIZE. getName()
java.lang.String
FunctionXML_TEXT. getName()
java.lang.String
FunctionXML_XELEMENT. getName()
java.lang.String
FunctionXML_XLIST. getName()
org.w3c.dom.Node
NodeContainer. getNode()
org.w3c.dom.NodeList
NodeContainer. getNodeList()
java.lang.String
FunctionXML_ATTR. getReference()
java.lang.String
FunctionXML_GET. getReference()
java.lang.String
FunctionXML_LIST. getReference()
java.lang.String
FunctionXML_NAME. getReference()
java.lang.String
FunctionXML_OPEN. getReference()
java.lang.String
FunctionXML_ROOT. getReference()
java.lang.String
FunctionXML_SIZE. getReference()
java.lang.String
FunctionXML_TEXT. getReference()
java.lang.String
FunctionXML_XELEMENT. getReference()
java.lang.String
FunctionXML_XLIST. getReference()
ValueType
FunctionXML_ATTR. getResultType()
ValueType
FunctionXML_GET. getResultType()
ValueType
FunctionXML_LIST. getResultType()
ValueType
FunctionXML_NAME. getResultType()
ValueType
FunctionXML_OPEN. getResultType()
ValueType
FunctionXML_ROOT. getResultType()
ValueType
FunctionXML_SIZE. getResultType()
ValueType
FunctionXML_TEXT. getResultType()
ValueType
FunctionXML_XELEMENT. getResultType()
ValueType
FunctionXML_XLIST. getResultType()
static java.lang.String
AbstractXMLFunction. makeDocumentId(java.lang.String fileName)
static java.lang.String
AbstractXMLFunction. makeDocumentRootId(java.lang.String documentId)
static java.lang.String
AbstractXMLFunction. makeElementId(java.lang.String elementListId, int elementIndex)
static java.lang.String
AbstractXMLFunction. makeElementListId(org.w3c.dom.Element parentName, java.lang.String elementName)
static java.lang.String
AbstractXMLFunction. makeXPathElementId(java.lang.String documentId, java.lang.String xpath)
static java.lang.String
AbstractXMLFunction. makeXPathListId(java.lang.String documentId, java.lang.String xpath)
private org.w3c.dom.Document
FunctionXML_OPEN. openFileAndParse(PreprocessorContext context, java.io.File file)
private javax.xml.xpath.XPathExpression
FunctionXML_XELEMENT. prepareXPathExpression(java.lang.String path)
private javax.xml.xpath.XPathExpression
FunctionXML_XLIST. prepareXPathExpression(java.lang.String path)
Method parameters in com.igormaznitsa.jcp.expression.functions.xml with annotations of type Nonnull Modifier and Type Method Description static java.lang.String
AbstractXMLFunction. buildPathForElement(org.w3c.dom.Element element)
Value
FunctionXML_NAME. executeStr(PreprocessorContext context, Value elementId)
Value
FunctionXML_NAME. executeStr(PreprocessorContext context, Value elementId)
Value
FunctionXML_OPEN. executeStr(PreprocessorContext context, Value filePath)
Value
FunctionXML_OPEN. executeStr(PreprocessorContext context, Value filePath)
Value
FunctionXML_ROOT. executeStr(PreprocessorContext context, Value documentId)
Value
FunctionXML_ROOT. executeStr(PreprocessorContext context, Value documentId)
Value
FunctionXML_SIZE. executeStr(PreprocessorContext context, Value elementListId)
Value
FunctionXML_SIZE. executeStr(PreprocessorContext context, Value elementListId)
Value
FunctionXML_TEXT. executeStr(PreprocessorContext context, Value elementid)
Value
FunctionXML_TEXT. executeStr(PreprocessorContext context, Value elementid)
Value
FunctionXML_GET. executeStrInt(PreprocessorContext context, Value elementListId, Value elementIndex)
Value
FunctionXML_GET. executeStrInt(PreprocessorContext context, Value elementListId, Value elementIndex)
Value
FunctionXML_GET. executeStrInt(PreprocessorContext context, Value elementListId, Value elementIndex)
Value
FunctionXML_ATTR. executeStrStr(PreprocessorContext context, Value elementId, Value attributeName)
Value
FunctionXML_ATTR. executeStrStr(PreprocessorContext context, Value elementId, Value attributeName)
Value
FunctionXML_ATTR. executeStrStr(PreprocessorContext context, Value elementId, Value attributeName)
Value
FunctionXML_LIST. executeStrStr(PreprocessorContext context, Value elementId, Value elementTag)
Value
FunctionXML_LIST. executeStrStr(PreprocessorContext context, Value elementId, Value elementTag)
Value
FunctionXML_LIST. executeStrStr(PreprocessorContext context, Value elementId, Value elementTag)
Value
FunctionXML_XELEMENT. executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
Value
FunctionXML_XELEMENT. executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
Value
FunctionXML_XELEMENT. executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
Value
FunctionXML_XLIST. executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
Value
FunctionXML_XLIST. executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
Value
FunctionXML_XLIST. executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
org.w3c.dom.Element
AbstractXMLFunction. findCachedElement(PreprocessorContext context, java.lang.String elementId)
org.w3c.dom.Element
AbstractXMLFunction. findCachedElement(PreprocessorContext context, java.lang.String elementId)
org.w3c.dom.NodeList
AbstractXMLFunction. findCachedElementList(PreprocessorContext context, java.lang.String elementListId)
org.w3c.dom.NodeList
AbstractXMLFunction. findCachedElementList(PreprocessorContext context, java.lang.String elementListId)
java.lang.String
AbstractXMLFunction. findElementForIndex(PreprocessorContext context, java.lang.String elementListId, int elementIndex)
java.lang.String
AbstractXMLFunction. findElementForIndex(PreprocessorContext context, java.lang.String elementListId, int elementIndex)
java.lang.String
AbstractXMLFunction. getAttribute(PreprocessorContext context, java.lang.String elementId, java.lang.String attributeName)
java.lang.String
AbstractXMLFunction. getAttribute(PreprocessorContext context, java.lang.String elementId, java.lang.String attributeName)
java.lang.String
AbstractXMLFunction. getAttribute(PreprocessorContext context, java.lang.String elementId, java.lang.String attributeName)
org.w3c.dom.Document
AbstractXMLFunction. getCachedDocument(PreprocessorContext context, java.lang.String documentId)
org.w3c.dom.Document
AbstractXMLFunction. getCachedDocument(PreprocessorContext context, java.lang.String documentId)
org.w3c.dom.Element
AbstractXMLFunction. getCachedElement(PreprocessorContext context, java.lang.String elementId)
org.w3c.dom.Element
AbstractXMLFunction. getCachedElement(PreprocessorContext context, java.lang.String elementId)
org.w3c.dom.NodeList
AbstractXMLFunction. getCachedElementList(PreprocessorContext context, java.lang.String elementListId)
org.w3c.dom.NodeList
AbstractXMLFunction. getCachedElementList(PreprocessorContext context, java.lang.String elementListId)
int
AbstractXMLFunction. getElementListSize(PreprocessorContext context, java.lang.String elementListId)
int
AbstractXMLFunction. getElementListSize(PreprocessorContext context, java.lang.String elementListId)
static java.lang.String
AbstractXMLFunction. getFirstLevelTextContent(org.w3c.dom.Node node)
static java.lang.String
AbstractXMLFunction. makeDocumentId(java.lang.String fileName)
static java.lang.String
AbstractXMLFunction. makeDocumentRootId(java.lang.String documentId)
static java.lang.String
AbstractXMLFunction. makeElementId(java.lang.String elementListId, int elementIndex)
static java.lang.String
AbstractXMLFunction. makeElementId(java.lang.String elementListId, int elementIndex)
static java.lang.String
AbstractXMLFunction. makeElementListId(org.w3c.dom.Element parentName, java.lang.String elementName)
static java.lang.String
AbstractXMLFunction. makeElementListId(org.w3c.dom.Element parentName, java.lang.String elementName)
static java.lang.String
AbstractXMLFunction. makeXPathElementId(java.lang.String documentId, java.lang.String xpath)
static java.lang.String
AbstractXMLFunction. makeXPathElementId(java.lang.String documentId, java.lang.String xpath)
static java.lang.String
AbstractXMLFunction. makeXPathListId(java.lang.String documentId, java.lang.String xpath)
static java.lang.String
AbstractXMLFunction. makeXPathListId(java.lang.String documentId, java.lang.String xpath)
private org.w3c.dom.Document
FunctionXML_OPEN. openFileAndParse(PreprocessorContext context, java.io.File file)
private org.w3c.dom.Document
FunctionXML_OPEN. openFileAndParse(PreprocessorContext context, java.io.File file)
private javax.xml.xpath.XPathExpression
FunctionXML_XELEMENT. prepareXPathExpression(java.lang.String path)
private javax.xml.xpath.XPathExpression
FunctionXML_XLIST. prepareXPathExpression(java.lang.String path)
Constructor parameters in com.igormaznitsa.jcp.expression.functions.xml with annotations of type Nonnull Constructor Description NodeContainer(long id, org.w3c.dom.Node node)
NodeContainer(long id, org.w3c.dom.NodeList list)
-
Uses of Nonnull in com.igormaznitsa.jcp.expression.operators
Methods in com.igormaznitsa.jcp.expression.operators with annotations of type Nonnull Modifier and Type Method Description Value
OperatorADD. executeAnyStr(Value arg1, Value arg2)
Value
OperatorNOT. executeBool(Value arg1)
Value
OperatorAND. executeBoolBool(Value arg1, Value arg2)
Value
OperatorEQU. executeBoolBool(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeBoolBool(Value arg1, Value arg2)
Value
OperatorOR. executeBoolBool(Value arg1, Value arg2)
Value
OperatorXOR. executeBoolBool(Value arg1, Value arg2)
Value
OperatorADD. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorDIV. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorGREAT. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorLESS. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorMOD. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorMUL. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorSUB. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorADD. executeFloatInt(Value arg1, Value arg2)
Value
OperatorDIV. executeFloatInt(Value arg1, Value arg2)
Value
OperatorEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorGREAT. executeFloatInt(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorLESS. executeFloatInt(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorMOD. executeFloatInt(Value arg1, Value arg2)
Value
OperatorMUL. executeFloatInt(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorSUB. executeFloatInt(Value arg1, Value arg2)
Value
OperatorNOT. executeInt(Value arg1)
Value
OperatorADD. executeIntFloat(Value arg1, Value arg2)
Value
OperatorDIV. executeIntFloat(Value arg1, Value arg2)
Value
OperatorEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorGREAT. executeIntFloat(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorLESS. executeIntFloat(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorMOD. executeIntFloat(Value arg1, Value arg2)
Value
OperatorMUL. executeIntFloat(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorSUB. executeIntFloat(Value arg1, Value arg2)
Value
OperatorADD. executeIntInt(Value arg1, Value arg2)
Value
OperatorAND. executeIntInt(Value arg1, Value arg2)
Value
OperatorDIV. executeIntInt(Value arg1, Value arg2)
Value
OperatorEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorGREAT. executeIntInt(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorLESS. executeIntInt(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorMOD. executeIntInt(Value arg1, Value arg2)
Value
OperatorMUL. executeIntInt(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorOR. executeIntInt(Value arg1, Value arg2)
Value
OperatorSUB. executeIntInt(Value arg1, Value arg2)
Value
OperatorXOR. executeIntInt(Value arg1, Value arg2)
Value
OperatorADD. executeStrAny(Value arg1, Value arg2)
Value
OperatorEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorGREAT. executeStrStr(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorLESS. executeStrStr(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeStrStr(Value arg1, Value arg2)
ExpressionItemPriority
OperatorADD. getExpressionItemPriority()
ExpressionItemPriority
OperatorAND. getExpressionItemPriority()
ExpressionItemPriority
OperatorDIV. getExpressionItemPriority()
ExpressionItemPriority
OperatorEQU. getExpressionItemPriority()
ExpressionItemPriority
OperatorGREAT. getExpressionItemPriority()
ExpressionItemPriority
OperatorGREATEQU. getExpressionItemPriority()
ExpressionItemPriority
OperatorLESS. getExpressionItemPriority()
ExpressionItemPriority
OperatorLESSEQU. getExpressionItemPriority()
ExpressionItemPriority
OperatorMOD. getExpressionItemPriority()
ExpressionItemPriority
OperatorMUL. getExpressionItemPriority()
ExpressionItemPriority
OperatorNOT. getExpressionItemPriority()
ExpressionItemPriority
OperatorNOTEQU. getExpressionItemPriority()
ExpressionItemPriority
OperatorOR. getExpressionItemPriority()
ExpressionItemPriority
OperatorSUB. getExpressionItemPriority()
ExpressionItemPriority
OperatorXOR. getExpressionItemPriority()
ExpressionItemType
AbstractOperator. getExpressionItemType()
Get the expression item typeabstract java.lang.String
AbstractOperator. getKeyword()
Get the operator keywordjava.lang.String
OperatorADD. getKeyword()
java.lang.String
OperatorAND. getKeyword()
java.lang.String
OperatorDIV. getKeyword()
java.lang.String
OperatorEQU. getKeyword()
java.lang.String
OperatorGREAT. getKeyword()
java.lang.String
OperatorGREATEQU. getKeyword()
java.lang.String
OperatorLESS. getKeyword()
java.lang.String
OperatorLESSEQU. getKeyword()
java.lang.String
OperatorMOD. getKeyword()
java.lang.String
OperatorMUL. getKeyword()
java.lang.String
OperatorNOT. getKeyword()
java.lang.String
OperatorNOTEQU. getKeyword()
java.lang.String
OperatorOR. getKeyword()
java.lang.String
OperatorSUB. getKeyword()
java.lang.String
OperatorXOR. getKeyword()
abstract java.lang.String
AbstractOperator. getReference()
Get the operator reference to be shown for a help information requestjava.lang.String
OperatorADD. getReference()
java.lang.String
OperatorAND. getReference()
java.lang.String
OperatorDIV. getReference()
java.lang.String
OperatorEQU. getReference()
java.lang.String
OperatorGREAT. getReference()
java.lang.String
OperatorGREATEQU. getReference()
java.lang.String
OperatorLESS. getReference()
java.lang.String
OperatorLESSEQU. getReference()
java.lang.String
OperatorMOD. getReference()
java.lang.String
OperatorMUL. getReference()
java.lang.String
OperatorNOT. getReference()
java.lang.String
OperatorNOTEQU. getReference()
java.lang.String
OperatorOR. getReference()
java.lang.String
OperatorSUB. getReference()
java.lang.String
OperatorXOR. getReference()
java.lang.String
AbstractOperator. toString()
Method parameters in com.igormaznitsa.jcp.expression.operators with annotations of type Nonnull Modifier and Type Method Description Value
OperatorADD. executeAnyStr(Value arg1, Value arg2)
Value
OperatorADD. executeAnyStr(Value arg1, Value arg2)
Value
OperatorNOT. executeBool(Value arg1)
Value
OperatorAND. executeBoolBool(Value arg1, Value arg2)
Value
OperatorAND. executeBoolBool(Value arg1, Value arg2)
Value
OperatorEQU. executeBoolBool(Value arg1, Value arg2)
Value
OperatorEQU. executeBoolBool(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeBoolBool(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeBoolBool(Value arg1, Value arg2)
Value
OperatorOR. executeBoolBool(Value arg1, Value arg2)
Value
OperatorOR. executeBoolBool(Value arg1, Value arg2)
Value
OperatorXOR. executeBoolBool(Value arg1, Value arg2)
Value
OperatorXOR. executeBoolBool(Value arg1, Value arg2)
Value
OperatorADD. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorADD. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorDIV. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorDIV. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorGREAT. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorGREAT. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorLESS. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorLESS. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorMOD. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorMOD. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorMUL. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorMUL. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorSUB. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorSUB. executeFloatFloat(Value arg1, Value arg2)
Value
OperatorADD. executeFloatInt(Value arg1, Value arg2)
Value
OperatorADD. executeFloatInt(Value arg1, Value arg2)
Value
OperatorDIV. executeFloatInt(Value arg1, Value arg2)
Value
OperatorDIV. executeFloatInt(Value arg1, Value arg2)
Value
OperatorEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorGREAT. executeFloatInt(Value arg1, Value arg2)
Value
OperatorGREAT. executeFloatInt(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorLESS. executeFloatInt(Value arg1, Value arg2)
Value
OperatorLESS. executeFloatInt(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorMOD. executeFloatInt(Value arg1, Value arg2)
Value
OperatorMOD. executeFloatInt(Value arg1, Value arg2)
Value
OperatorMUL. executeFloatInt(Value arg1, Value arg2)
Value
OperatorMUL. executeFloatInt(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeFloatInt(Value arg1, Value arg2)
Value
OperatorSUB. executeFloatInt(Value arg1, Value arg2)
Value
OperatorSUB. executeFloatInt(Value arg1, Value arg2)
Value
OperatorNOT. executeInt(Value arg1)
Value
OperatorADD. executeIntFloat(Value arg1, Value arg2)
Value
OperatorADD. executeIntFloat(Value arg1, Value arg2)
Value
OperatorDIV. executeIntFloat(Value arg1, Value arg2)
Value
OperatorDIV. executeIntFloat(Value arg1, Value arg2)
Value
OperatorEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorGREAT. executeIntFloat(Value arg1, Value arg2)
Value
OperatorGREAT. executeIntFloat(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorLESS. executeIntFloat(Value arg1, Value arg2)
Value
OperatorLESS. executeIntFloat(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorMOD. executeIntFloat(Value arg1, Value arg2)
Value
OperatorMOD. executeIntFloat(Value arg1, Value arg2)
Value
OperatorMUL. executeIntFloat(Value arg1, Value arg2)
Value
OperatorMUL. executeIntFloat(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeIntFloat(Value arg1, Value arg2)
Value
OperatorSUB. executeIntFloat(Value arg1, Value arg2)
Value
OperatorSUB. executeIntFloat(Value arg1, Value arg2)
Value
OperatorADD. executeIntInt(Value arg1, Value arg2)
Value
OperatorADD. executeIntInt(Value arg1, Value arg2)
Value
OperatorAND. executeIntInt(Value arg1, Value arg2)
Value
OperatorAND. executeIntInt(Value arg1, Value arg2)
Value
OperatorDIV. executeIntInt(Value arg1, Value arg2)
Value
OperatorDIV. executeIntInt(Value arg1, Value arg2)
Value
OperatorEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorGREAT. executeIntInt(Value arg1, Value arg2)
Value
OperatorGREAT. executeIntInt(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorLESS. executeIntInt(Value arg1, Value arg2)
Value
OperatorLESS. executeIntInt(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorMOD. executeIntInt(Value arg1, Value arg2)
Value
OperatorMOD. executeIntInt(Value arg1, Value arg2)
Value
OperatorMUL. executeIntInt(Value arg1, Value arg2)
Value
OperatorMUL. executeIntInt(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeIntInt(Value arg1, Value arg2)
Value
OperatorOR. executeIntInt(Value arg1, Value arg2)
Value
OperatorOR. executeIntInt(Value arg1, Value arg2)
Value
OperatorSUB. executeIntInt(Value arg1, Value arg2)
Value
OperatorSUB. executeIntInt(Value arg1, Value arg2)
Value
OperatorXOR. executeIntInt(Value arg1, Value arg2)
Value
OperatorXOR. executeIntInt(Value arg1, Value arg2)
Value
OperatorADD. executeStrAny(Value arg1, Value arg2)
Value
OperatorADD. executeStrAny(Value arg1, Value arg2)
Value
OperatorEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorGREAT. executeStrStr(Value arg1, Value arg2)
Value
OperatorGREAT. executeStrStr(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorGREATEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorLESS. executeStrStr(Value arg1, Value arg2)
Value
OperatorLESS. executeStrStr(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorLESSEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeStrStr(Value arg1, Value arg2)
Value
OperatorNOTEQU. executeStrStr(Value arg1, Value arg2)
static <E extends AbstractOperator>
EAbstractOperator. findForClass(java.lang.Class<E> operatorClass)
Find an operator handler for its class -
Uses of Nonnull in com.igormaznitsa.jcp.extension
Methods in com.igormaznitsa.jcp.extension with annotations of type Nonnull Modifier and Type Method Description Value
PreprocessorExtension. processUserFunction(java.lang.String functionName, Value[] arguments)
Call to process a user function (the function starts with $)Method parameters in com.igormaznitsa.jcp.extension with annotations of type Nonnull Modifier and Type Method Description int
PreprocessorExtension. getUserFunctionArity(java.lang.String functionName)
When a preprocessor meets a user defined function (the function starts with $) then it will ask for its arityboolean
PreprocessorExtension. processAction(PreprocessorContext context, Value[] parameters)
To process an action (it will be called if the preprocessor is met //#action directive)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 $)Value
PreprocessorExtension. processUserFunction(java.lang.String functionName, Value[] arguments)
Call to process a user function (the function starts with $) -
Uses of Nonnull in com.igormaznitsa.jcp.maven
Methods in com.igormaznitsa.jcp.maven with annotations of type Nonnull Modifier and Type Method Description java.io.File[]
PreprocessorMojo. getCfgFiles()
java.io.File
PreprocessorMojo. getDestination()
java.lang.String[]
PreprocessorMojo. getExcludedFolders()
java.util.Properties
PreprocessorMojo. getGlobalVars()
java.lang.String
PreprocessorMojo. getInEncoding()
java.lang.String
PreprocessorMojo. getOutEncoding()
(package private) static java.lang.String
MavenPropertiesImporter. getProperty(org.apache.maven.project.MavenProject project, java.lang.String name)
java.lang.String
PreprocessorMojo. getSource()
java.io.File
PreprocessorMojo. getTestDestination()
java.lang.String[]
MavenPropertiesImporter. getVariableNames()
(package private) PreprocessorContext
PreprocessorMojo. makePreprocessorContext(java.lang.String sourceFoldersInPreprocessorFormat)
(package private) static java.lang.String
MavenPropertiesImporter. normalizeGetter(java.lang.String str)
Method parameters in com.igormaznitsa.jcp.maven with annotations of type Nonnull Modifier and Type Method Description private void
MavenPropertiesImporter. addVariableIntoInsideMap(PreprocessorContext context, java.lang.String name, Value value, boolean verbose)
private void
MavenPropertiesImporter. addVariableIntoInsideMap(PreprocessorContext context, java.lang.String name, Value value, boolean verbose)
private void
MavenPropertiesImporter. addVariableIntoInsideMap(PreprocessorContext context, java.lang.String name, Value value, boolean verbose)
void
PreprocessorMojo. debug(java.lang.String message)
void
PreprocessorMojo. error(java.lang.String message)
(package private) static java.lang.String
MavenPropertiesImporter. getProperty(org.apache.maven.project.MavenProject project, java.lang.String name)
(package private) static java.lang.String
MavenPropertiesImporter. getProperty(org.apache.maven.project.MavenProject project, java.lang.String name)
Value
MavenPropertiesImporter. getVariable(java.lang.String varName, PreprocessorContext context)
Value
MavenPropertiesImporter. getVariable(java.lang.String varName, PreprocessorContext context)
void
PreprocessorMojo. info(java.lang.String message)
(package private) PreprocessorContext
PreprocessorMojo. makePreprocessorContext(java.lang.String sourceFoldersInPreprocessorFormat)
(package private) static java.lang.String
MavenPropertiesImporter. normalizeGetter(java.lang.String str)
private void
MavenPropertiesImporter. printInfoAboutVarIntoLog(PreprocessorContext context, java.lang.String varName, java.lang.String value)
private void
MavenPropertiesImporter. printInfoAboutVarIntoLog(PreprocessorContext context, java.lang.String varName, java.lang.String value)
private void
MavenPropertiesImporter. printInfoAboutVarIntoLog(PreprocessorContext context, java.lang.String varName, java.lang.String value)
private void
PreprocessorClearMojo. processFileSet(java.util.List<org.apache.maven.shared.model.fileset.FileSet> fileSets, org.apache.maven.plugin.logging.Log log)
private void
PreprocessorClearMojo. processFileSet(java.util.List<org.apache.maven.shared.model.fileset.FileSet> fileSets, org.apache.maven.plugin.logging.Log log)
private void
PreprocessorClearMojo. processPredefinedFolders(org.apache.maven.plugin.logging.Log log)
private void
PreprocessorMojo. replaceSourceRootByPreprocessingDestinationFolder(PreprocessorContext context)
void
PreprocessorMojo. setCfgFiles(java.io.File[] files)
void
PreprocessorMojo. setDestination(java.io.File destination)
void
PreprocessorMojo. setExcludedFolders(java.lang.String... antPatterns)
void
PreprocessorMojo. setGlobalVars(java.util.Properties vars)
void
PreprocessorMojo. setInEncoding(java.lang.String value)
void
PreprocessorMojo. setOutEncoding(java.lang.String value)
void
PreprocessorMojo. setSource(java.lang.String source)
void
PreprocessorMojo. setTestDestination(java.io.File destination)
void
MavenPropertiesImporter. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
MavenPropertiesImporter. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
MavenPropertiesImporter. setVariable(java.lang.String varName, Value value, PreprocessorContext context)
void
PreprocessorMojo. warning(java.lang.String message)
Constructor parameters in com.igormaznitsa.jcp.maven with annotations of type Nonnull Constructor Description MavenPropertiesImporter(PreprocessorContext context, org.apache.maven.project.MavenProject project, boolean logAddedProperties)
MavenPropertiesImporter(PreprocessorContext context, org.apache.maven.project.MavenProject project, boolean logAddedProperties)
-
Uses of Nonnull in com.igormaznitsa.jcp.removers
Methods in com.igormaznitsa.jcp.removers with annotations of type Nonnull Modifier and Type Method Description java.io.Writer
JavaCommentsRemover. process()
Constructor parameters in com.igormaznitsa.jcp.removers with annotations of type Nonnull Constructor Description JavaCommentsRemover(java.io.Reader src, java.io.Writer dst)
JavaCommentsRemover(java.io.Reader src, java.io.Writer dst)
-
Uses of Nonnull in com.igormaznitsa.jcp.utils
Methods in com.igormaznitsa.jcp.utils with annotations of type Nonnull Modifier and Type Method Description static java.lang.String
PreprocessorUtils. extractTail(java.lang.String prefix, java.lang.String value)
static java.lang.String
PreprocessorUtils. extractTrimmedTail(java.lang.String prefix, java.lang.String value)
static java.lang.String
PreprocessorUtils. generateStringForChar(char chr, int length)
static java.lang.String
PreprocessorUtils. getFilePath(java.io.File file)
static java.lang.String
PreprocessorUtils. getNextLineCodes()
static java.lang.String
PreprocessorUtils. leftTrim(java.lang.String rawString)
static java.io.BufferedReader
PreprocessorUtils. makeFileReader(java.io.File file, java.lang.String charset, int bufferSize)
static java.lang.String
PreprocessorUtils. processMacroses(java.lang.String processingString, PreprocessorContext context)
static byte[]
PreprocessorUtils. readFileAsByteArray(java.io.File file)
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. replacePartByChar(java.lang.String text, char chr, int startPosition, int length)
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)
Method parameters in com.igormaznitsa.jcp.utils with annotations of type Nonnull Modifier and Type Method Description private static void
PreprocessorUtils. checkFile(java.io.File file)
static void
PreprocessorUtils. copyFile(java.io.File source, java.io.File dest, boolean copyFileAttributes)
static void
PreprocessorUtils. copyFile(java.io.File source, java.io.File dest, boolean copyFileAttributes)
static void
PreprocessorUtils. copyFileAttributes(java.io.File from, java.io.File to)
static void
PreprocessorUtils. copyFileAttributes(java.io.File from, java.io.File to)
static java.lang.String
PreprocessorUtils. extractTail(java.lang.String prefix, java.lang.String value)
static java.lang.String
PreprocessorUtils. extractTail(java.lang.String prefix, java.lang.String value)
static java.lang.String
PreprocessorUtils. extractTrimmedTail(java.lang.String prefix, java.lang.String value)
static java.lang.String
PreprocessorUtils. extractTrimmedTail(java.lang.String prefix, java.lang.String value)
static java.lang.String
PreprocessorUtils. leftTrim(java.lang.String rawString)
static java.io.BufferedReader
PreprocessorUtils. makeFileReader(java.io.File file, java.lang.String charset, int bufferSize)
static java.io.BufferedReader
PreprocessorUtils. makeFileReader(java.io.File file, java.lang.String charset, int bufferSize)
void
ResetablePrinter. print(java.lang.String text)
void
ResetablePrinter. println(java.lang.String text)
static java.lang.String
PreprocessorUtils. processMacroses(java.lang.String processingString, PreprocessorContext context)
static java.lang.String
PreprocessorUtils. processMacroses(java.lang.String processingString, PreprocessorContext context)
static byte[]
PreprocessorUtils. readFileAsByteArray(java.io.File file)
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. replacePartByChar(java.lang.String text, char chr, int startPosition, int length)
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)
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)
static void
PreprocessorUtils. throwPreprocessorException(java.lang.String msg, java.lang.String processingString, java.io.File srcFile, int nextStringIndex, java.lang.Throwable cause)
void
ResetablePrinter. writeBufferTo(java.io.Writer writer)
-
Uses of Nonnull in com.igormaznitsa.meta
Methods in com.igormaznitsa.meta with annotations of type Nonnull Modifier and Type Method Description java.lang.String
Complexity. getFormula()
Get the formula.java.lang.String
Complexity. toString()
Constructor parameters in com.igormaznitsa.meta with annotations of type Nonnull Constructor Description Complexity(java.lang.String formula)
-
Uses of Nonnull in com.igormaznitsa.meta.common.exceptions
Methods in com.igormaznitsa.meta.common.exceptions with annotations of type Nonnull Modifier and Type Method Description TimeGuard.TimeData
TimeViolationError. getData()
Get the data container which was created during time watcher registration.Method parameters in com.igormaznitsa.meta.common.exceptions with annotations of type Nonnull Modifier and Type Method Description static void
MetaErrorListeners. addErrorListener(MetaErrorListener value)
Add new fireError listener for global fireError events.static void
MetaErrorListeners. fireError(java.lang.String text, java.lang.Throwable error)
Send notifications to all listeners.static void
MetaErrorListeners. fireError(java.lang.String text, java.lang.Throwable error)
Send notifications to all listeners.void
MetaErrorListener. onDetectedError(java.lang.String text, java.lang.Throwable error)
The Method will be called if detected some error.static void
MetaErrorListeners. removeErrorListener(MetaErrorListener value)
Remove listener.Constructor parameters in com.igormaznitsa.meta.common.exceptions with annotations of type Nonnull Constructor Description TimeViolationError(long detectedTimeInMilliseconds, TimeGuard.TimeData item)
The Constructor. -
Uses of Nonnull in com.igormaznitsa.meta.common.templates
Methods in com.igormaznitsa.meta.common.templates with annotations of type Nonnull Modifier and Type Method Description CallTrace
KeepCreationPointTemplate. getCreationPoint()
Get the creation point stack trace for the instance. -
Uses of Nonnull in com.igormaznitsa.meta.common.utils
Methods in com.igormaznitsa.meta.common.utils with annotations of type Nonnull Modifier and Type Method Description static <T extends java.util.Collection<?>>
TAssertions. assertDoesntContainNull(T collection)
Assert that collection doesn't contain null value.static <T> T[]
Assertions. assertDoesntContainNull(T[] array)
Assert that array doesn't contain null value.static <T extends Disposable>
TAssertions. assertNotDisposed(T disposable)
Assert that a disposable object is not disposed.static <T> T
Assertions. assertNotNull(java.lang.String failMessage, T object)
Assert that value is not nullstatic <T> T
Assertions. assertNotNull(T object)
Assert that value is not nullstatic <T> T
GetUtils. ensureNonNull(T value)
Get value if it is not null.static <T> T
GetUtils. ensureNonNull(T value, T defaultValue)
Get value and ensure that the value is not nullstatic java.lang.String
GetUtils. ensureNonNullAndNonEmpty(java.lang.String value, java.lang.String dflt)
Get non-null non-empty string.static java.lang.String
GetUtils. ensureNonNullStr(java.lang.String value)
Ensure that a string will not be null.static java.lang.Error
Assertions. fail(java.lang.String message)
Throw assertion error for some causestatic <T> T
GetUtils. findFirstNonNull(T... objects)
Find the first non-null value in an array and return that.TimeGuard.TimeAlertListener
TimeGuard.TimeData. getAlertListener()
Get alert listener if providedjava.lang.String
CallTrace. getThreadDescriptor()
Get the descriptor of the thread where the object instance was created.static <T> T[]
ArrayUtils. joinArrays(T[]... arrays)
Join arrays provided as parameters, all arrays must be the same type, null values allowed.static byte[]
IOUtils. packData(byte[] data)
Pack some binary data.static java.lang.String
StrUtils. pressing(java.lang.String value)
Remove all white space chars and ISO control chars.java.lang.String
CallTrace. restoreStackTrace()
Restore stack trace as a string from inside data representation.static java.lang.StackTraceElement
ThreadUtils. stackElement()
Get the stack element of the method caller.static java.lang.String
StrUtils. trimLeft(java.lang.String value)
Trim left white spaces in string.static java.lang.String
StrUtils. trimRight(java.lang.String value)
Trim right white spaces in string.static byte[]
IOUtils. unpackData(byte[] data)
Unpack binary data packed by the packData method.Method parameters in com.igormaznitsa.meta.common.utils with annotations of type Nonnull Modifier and Type Method Description static void
TimeGuard. addPoint(java.lang.String timePointName, TimeGuard.TimeAlertListener listener)
Add a named time point.static void
TimeGuard. addPoint(java.lang.String timePointName, TimeGuard.TimeAlertListener listener)
Add a named time point.static <T> T
Assertions. assertAmong(T obj, T... list)
Check that object is presented among provided elements and replace the object by equal element from the list.static <T extends java.util.Collection<?>>
TAssertions. assertDoesntContainNull(T collection)
Assert that collection doesn't contain null value.static <T> T[]
Assertions. assertDoesntContainNull(T[] array)
Assert that array doesn't contain null value.static <T> T
Assertions. assertIsValid(T obj, Validator<T> validator)
Check an object by a validator.static <T extends Disposable>
TAssertions. assertNotDisposed(T disposable)
Assert that a disposable object is not disposed.static void
TimeGuard. checkPoint(java.lang.String timePointName)
Check named time point(s).static Disposable
Deferrers. defer(Disposable disposable)
Defer execution of some disposable object.static Deferrers.Deferred
Deferrers. defer(Deferrers.Deferred deferred)
Defer some action.static java.lang.Runnable
Deferrers. defer(java.lang.Runnable runnable)
Defer execution of some runnable action.static <T> T
GetUtils. ensureNonNull(T value)
Get value if it is not null.static <T> T
GetUtils. ensureNonNull(T value, T defaultValue)
Get value and ensure that the value is not nullstatic java.lang.String
GetUtils. ensureNonNullAndNonEmpty(java.lang.String value, java.lang.String dflt)
Get non-null non-empty string.static <T> T
GetUtils. findFirstNonNull(T... objects)
Find the first non-null value in an array and return that.void
TimeGuard.TimeAlertListener. onTimeAlert(long detectedTimeDelayInMilliseconds, TimeGuard.TimeData timeData)
Process time.static byte[]
IOUtils. packData(byte[] data)
Pack some binary data.static java.lang.String
StrUtils. pressing(java.lang.String value)
Remove all white space chars and ISO control chars.static java.lang.String
StrUtils. trimLeft(java.lang.String value)
Trim left white spaces in string.static java.lang.String
StrUtils. trimRight(java.lang.String value)
Trim right white spaces in string.static byte[]
IOUtils. unpackData(byte[] data)
Unpack binary data packed by the packData method.Constructor parameters in com.igormaznitsa.meta.common.utils with annotations of type Nonnull Constructor Description CallTrace(boolean skipConstructors, boolean pack, java.lang.String eol)
The Constructor allows to create call trace history with defined end-of-line symbol and since needed stack item position.TimeData(int stackDepth, java.lang.String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener violationListener)
The Constructor
-