Uses of Annotation Type
javax.annotation.Nonnull
Packages that use Nonnull
Package
Description
-
Uses of Nonnull in com.igormaznitsa.jcp
Methods in com.igormaznitsa.jcp with annotations of type NonnullModifier and TypeMethodDescriptionJCPreprocessor.execute()
JCPreprocessor.findAllFiles
(String baseFolderCanonicalPath, File dir, AntPathMatcher antPathMatcher, String[] excludedFolderPatterns) private Collection
<FileInfoContainer> JCPreprocessor.findAllFilesToBePreprocessed
(File[] srcDirs, String[] excludedFolderPatterns) static Iterable
<CommandLineHandler> JCPreprocessor.getCommandLineHandlers()
JCPreprocessor.getContext()
static String
InfoHelper.getCopyright()
static String
InfoHelper.getProductName()
static String
InfoHelper.getSite()
static String
InfoHelper.getVersion()
private static String
InfoHelper.makeColumns
(String name, String reference, int firstColumnWidth) private static String
InfoHelper.makeCommandLineKeyReference
(CommandLineHandler handler) private static String
InfoHelper.makeDirectiveReference
(AbstractDirectiveHandler directive) private static String
InfoHelper.makeFunctionReference
(AbstractFunction func) private static String
InfoHelper.makeOperatorReference
(AbstractOperator operator) private static String
InfoHelper.makeSpecialDirectiveReference
(String name, String reference) private static String
InfoHelper.makeTextForHelpInfo()
JCPreprocessor.preprocessFiles
(Collection<FileInfoContainer> files) private static PreprocessorContext
JCPreprocessor.processCommandString
(PreprocessorContext context, String[] originalStrings, String[] normalizedStrings) private List
<PreprocessingState.ExcludeIfInfo> JCPreprocessor.processGlobalDirectives
(Collection<FileInfoContainer> files) Method parameters in com.igormaznitsa.jcp with annotations of type NonnullModifier and TypeMethodDescriptionJCPreprocessor.findAllFiles
(String baseFolderCanonicalPath, File dir, AntPathMatcher antPathMatcher, String[] excludedFolderPatterns) JCPreprocessor.findAllFiles
(String baseFolderCanonicalPath, File dir, AntPathMatcher antPathMatcher, String[] excludedFolderPatterns) JCPreprocessor.findAllFiles
(String baseFolderCanonicalPath, File dir, AntPathMatcher antPathMatcher, String[] excludedFolderPatterns) JCPreprocessor.findAllFiles
(String baseFolderCanonicalPath, File dir, AntPathMatcher antPathMatcher, String[] excludedFolderPatterns) private Collection
<FileInfoContainer> JCPreprocessor.findAllFilesToBePreprocessed
(File[] srcDirs, String[] excludedFolderPatterns) private Collection
<FileInfoContainer> JCPreprocessor.findAllFilesToBePreprocessed
(File[] srcDirs, String[] excludedFolderPatterns) static void
private static String
InfoHelper.makeColumns
(String name, String reference, int firstColumnWidth) private static String
InfoHelper.makeColumns
(String name, String reference, int firstColumnWidth) private static String
InfoHelper.makeCommandLineKeyReference
(CommandLineHandler handler) private static String
InfoHelper.makeDirectiveReference
(AbstractDirectiveHandler directive) private static String
InfoHelper.makeFunctionReference
(AbstractFunction func) private static String
InfoHelper.makeOperatorReference
(AbstractOperator operator) private static String
InfoHelper.makeSpecialDirectiveReference
(String name, String reference) private static String
InfoHelper.makeSpecialDirectiveReference
(String name, String reference) private static String
JCPreprocessor.preprocessFiles
(Collection<FileInfoContainer> files) private static PreprocessorContext
JCPreprocessor.processCommandString
(PreprocessorContext context, String[] originalStrings, String[] normalizedStrings) private static PreprocessorContext
JCPreprocessor.processCommandString
(PreprocessorContext context, String[] originalStrings, String[] normalizedStrings) private void
JCPreprocessor.processFileExclusion
(List<PreprocessingState.ExcludeIfInfo> foundExcludeIf) private List
<PreprocessingState.ExcludeIfInfo> JCPreprocessor.processGlobalDirectives
(Collection<FileInfoContainer> files) Constructor parameters in com.igormaznitsa.jcp with annotations of type Nonnull -
Uses of Nonnull in com.igormaznitsa.jcp.ant
Methods in com.igormaznitsa.jcp.ant with annotations of type NonnullModifier and TypeMethodDescriptionPreprocessTask.createCfgFile()
PreprocessTask.createGlobal()
(package private) PreprocessorContext
PreprocessTask.generatePreprocessorContext()
PreprocessTask.getVariable
(String varName, PreprocessorContext context) String[]
PreprocessTask.getVariableNames()
Method parameters in com.igormaznitsa.jcp.ant with annotations of type NonnullModifier and TypeMethodDescriptionprivate void
PreprocessTask.fillCfgFiles
(PreprocessorContext context) private void
PreprocessTask.fillGlobalVars
(PreprocessorContext context) PreprocessTask.getVariable
(String varName, PreprocessorContext context) PreprocessTask.getVariable
(String varName, PreprocessorContext context) void
PreprocessTask.setDestination
(File dst) Set the "destination" attribute, it allows to define the destination directory where the preprocessed files will be placed invoid
PreprocessTask.setExcluded
(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
(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
void
PreprocessTask.setInCharset
(String charSet) Set the "inCharset" attribute, it allows to define the text encoding for the reading text filesvoid
void
PreprocessTask.setOutCharset
(String charSet) Set the "outCharset" attribute, it allows to define the text encoding for the writing text filesvoid
PreprocessTask.setProcessing
(String ext) Set the "processing" attribute, it defines the file extensions to be processedvoid
Set the "source" attribute, it allows to define the source directory to be preprocessedvoid
void
PreprocessTask.setVariable
(String varName, Value value, PreprocessorContext context) void
PreprocessTask.setVariable
(String varName, Value value, PreprocessorContext context) void
PreprocessTask.setVariable
(String varName, Value value, PreprocessorContext context) -
Uses of Nonnull in com.igormaznitsa.jcp.cmdline
Methods in com.igormaznitsa.jcp.cmdline with annotations of type NonnullModifier and TypeMethodDescriptionAllowWhitespaceDirectiveHandler.getDescription()
CareForLastNextLineCharHandler.getDescription()
ClearDstDirectoryHandler.getDescription()
CommandLineHandler.getDescription()
Get the description of the key (it will be printed into the help text)CompareDestinationContentHandler.getDescription()
CopyFileAttributesHandler.getDescription()
DestinationDirectoryHandler.getDescription()
ExcludedFileExtensionsHandler.getDescription()
ExcludeFoldersHandler.getDescription()
FileExtensionsHandler.getDescription()
GlobalVariableDefiningFileHandler.getDescription()
GlobalVariableHandler.getDescription()
HelpHandler.getDescription()
InCharsetHandler.getDescription()
KeepLineHandler.getDescription()
OutCharsetHandler.getDescription()
PreserveIndentDirectiveHandler.getDescription()
RemoveCommentsHandler.getDescription()
SourceDirectoryHandler.getDescription()
UnknownAsFalseHandler.getDescription()
VerboseHandler.getDescription()
AllowWhitespaceDirectiveHandler.getKeyName()
CareForLastNextLineCharHandler.getKeyName()
ClearDstDirectoryHandler.getKeyName()
CommandLineHandler.getKeyName()
Get the key name for the handlerCompareDestinationContentHandler.getKeyName()
CopyFileAttributesHandler.getKeyName()
DestinationDirectoryHandler.getKeyName()
ExcludedFileExtensionsHandler.getKeyName()
ExcludeFoldersHandler.getKeyName()
FileExtensionsHandler.getKeyName()
GlobalVariableDefiningFileHandler.getKeyName()
GlobalVariableHandler.getKeyName()
HelpHandler.getKeyName()
InCharsetHandler.getKeyName()
KeepLineHandler.getKeyName()
OutCharsetHandler.getKeyName()
PreserveIndentDirectiveHandler.getKeyName()
RemoveCommentsHandler.getKeyName()
SourceDirectoryHandler.getKeyName()
UnknownAsFalseHandler.getKeyName()
VerboseHandler.getKeyName()
Method parameters in com.igormaznitsa.jcp.cmdline with annotations of type NonnullModifier and TypeMethodDescriptionboolean
AllowWhitespaceDirectiveHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
AllowWhitespaceDirectiveHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
CareForLastNextLineCharHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
CareForLastNextLineCharHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
ClearDstDirectoryHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
ClearDstDirectoryHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
CommandLineHandler.processCommandLineKey
(String key, PreprocessorContext context) Process a command line keyboolean
CommandLineHandler.processCommandLineKey
(String key, PreprocessorContext context) Process a command line keyboolean
CompareDestinationContentHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
CompareDestinationContentHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
CopyFileAttributesHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
CopyFileAttributesHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
DestinationDirectoryHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
DestinationDirectoryHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
ExcludedFileExtensionsHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
ExcludedFileExtensionsHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
ExcludeFoldersHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
ExcludeFoldersHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
FileExtensionsHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
FileExtensionsHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
GlobalVariableDefiningFileHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
GlobalVariableDefiningFileHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
GlobalVariableHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
GlobalVariableHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
HelpHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
HelpHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
InCharsetHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
InCharsetHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
KeepLineHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
KeepLineHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
OutCharsetHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
OutCharsetHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
PreserveIndentDirectiveHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
PreserveIndentDirectiveHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
RemoveCommentsHandler.processCommandLineKey
(String argument, PreprocessorContext configurator) boolean
RemoveCommentsHandler.processCommandLineKey
(String argument, PreprocessorContext configurator) boolean
SourceDirectoryHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
SourceDirectoryHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
UnknownAsFalseHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
UnknownAsFalseHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
VerboseHandler.processCommandLineKey
(String key, PreprocessorContext context) boolean
VerboseHandler.processCommandLineKey
(String key, PreprocessorContext context) -
Uses of Nonnull in com.igormaznitsa.jcp.containers
Methods in com.igormaznitsa.jcp.containers with annotations of type NonnullModifier and TypeMethodDescriptionprivate String
FileInfoContainer.extractDoubleDollarPrefixedDirective
(String line, PreprocessorContext context) private String
FileInfoContainer.extractHashPrefixedDirective
(String line, PreprocessorContext context) private String
FileInfoContainer.extractSingleDollarPrefixedDirective
(String line, PreprocessorContext context) private static String
FileInfoContainer.findTailRemover
(String str, PreprocessorContext context) FileInfoContainer.getDestinationDir()
FileInfoContainer.getDestinationFilePath()
FileInfoContainer.getDestinationName()
TextFileDataContainer.getFile()
FileInfoContainer.getSourceFile()
String[]
TextFileDataContainer.getText()
FileInfoContainer.preprocessFile
(PreprocessingState state, PreprocessorContext context) Preprocess file, NB! it doesn't clear local variables automatically for cloned contextsprotected AfterDirectiveProcessingBehaviour
FileInfoContainer.processDirective
(PreprocessingState state, String directiveString, PreprocessorContext context, boolean firstPass) FileInfoContainer.processGlobalDirectives
(PreprocessingState state, PreprocessorContext context) FileInfoContainer.toString()
Method parameters in com.igormaznitsa.jcp.containers with annotations of type NonnullModifier and TypeMethodDescriptionprivate boolean
FileInfoContainer.checkDirectiveArgumentRoughly
(AbstractDirectiveHandler directive, String rest) private boolean
FileInfoContainer.checkDirectiveArgumentRoughly
(AbstractDirectiveHandler directive, String rest) private String
FileInfoContainer.extractDoubleDollarPrefixedDirective
(String line, PreprocessorContext context) private String
FileInfoContainer.extractDoubleDollarPrefixedDirective
(String line, PreprocessorContext context) private String
FileInfoContainer.extractHashPrefixedDirective
(String line, PreprocessorContext context) private String
FileInfoContainer.extractHashPrefixedDirective
(String line, PreprocessorContext context) private String
FileInfoContainer.extractSingleDollarPrefixedDirective
(String line, PreprocessorContext context) private String
FileInfoContainer.extractSingleDollarPrefixedDirective
(String line, PreprocessorContext context) private static String
FileInfoContainer.findTailRemover
(String str, PreprocessorContext context) private static String
FileInfoContainer.findTailRemover
(String str, PreprocessorContext context) private boolean
FileInfoContainer.isDoubleDollarPrefixed
(String line, PreprocessorContext context) private boolean
FileInfoContainer.isDoubleDollarPrefixed
(String line, PreprocessorContext context) private boolean
FileInfoContainer.isHashPrefixed
(String line, PreprocessorContext context) private boolean
FileInfoContainer.isHashPrefixed
(String line, PreprocessorContext context) private boolean
FileInfoContainer.isSingleDollarPrefixed
(String line, PreprocessorContext context) private boolean
FileInfoContainer.isSingleDollarPrefixed
(String line, PreprocessorContext context) FileInfoContainer.preprocessFile
(PreprocessingState state, PreprocessorContext context) Preprocess file, NB! it doesn't clear local variables automatically for cloned contextsprotected AfterDirectiveProcessingBehaviour
FileInfoContainer.processDirective
(PreprocessingState state, String directiveString, PreprocessorContext context, boolean firstPass) protected AfterDirectiveProcessingBehaviour
FileInfoContainer.processDirective
(PreprocessingState state, String directiveString, PreprocessorContext context, boolean firstPass) protected AfterDirectiveProcessingBehaviour
FileInfoContainer.processDirective
(PreprocessingState state, String directiveString, PreprocessorContext context, boolean firstPass) FileInfoContainer.processGlobalDirectives
(PreprocessingState state, PreprocessorContext context) void
FileInfoContainer.setDestinationDir
(String destDir) void
FileInfoContainer.setDestinationName
(String destName) Constructor parameters in com.igormaznitsa.jcp.containers with annotations of type NonnullModifierConstructorDescriptionFileInfoContainer
(File srcFile, String dstFileName, boolean copyOnly) FileInfoContainer
(File srcFile, String dstFileName, boolean copyOnly) TextFileDataContainer
(TextFileDataContainer item, int stringIndex) TextFileDataContainer
(File currentFile, String[] text, boolean fileEndedByNextLine, int stringIndex) TextFileDataContainer
(File currentFile, String[] text, boolean fileEndedByNextLine, int stringIndex) -
Uses of Nonnull in com.igormaznitsa.jcp.context
Methods in com.igormaznitsa.jcp.context with annotations of type NonnullModifier and TypeMethodDescriptionPreprocessorContext.clearLocalVariables()
Remove all local variables from the inside storageprivate TextFileDataContainer
PreprocessingState.cloneTopTextDataContainer
(boolean useLastReadStringIndex) PreprocessorContext.createDestinationFileForPath
(String path) It allows to create a File object for its path subject to the destination directory pathPreprocessorContext.findFileInSourceFolder
(String path) It finds a file for its path among files in source folder, it is prohibited to return files out of preprocessing folders.PreprocessingState.ExcludeIfInfo.getCondition()
File[]
PreprocessorContext.getConfigFiles()
Get array of current registered configuration files(package private) List
<TextFileDataContainer> PreprocessingState.getCurrentIncludeStack()
PreprocessorContext.getDestinationDirectory()
Get the string representation of the destination directoryPreprocessorContext.getDestinationDirectoryAsFile()
Get the current destination directory as a File objectString[]
PreprocessorContext.getExcludedFileExtensions()
Get excluded file extension list as a string arrayString[]
PreprocessorContext.getExcludedFolderPatterns()
Get patterns for excluded folders.PreprocessingState.ExcludeIfInfo.getFileInfoContainer()
PreprocessorContext.getInCharacterEncoding()
Get the current character encoding for text readingJCPSpecialVariableProcessor.NameReferencePair.getName()
PreprocessorContext.getOutCharacterEncoding()
Get the current character encoding for text writingprivate File[]
PreprocessorContext.getParsedSourceDirectoryAsFiles()
Inside auxiliary method to parse the source directories list into file arrayPreprocessingState.getPreprocessingFlags()
PreprocessorContext.getPreprocessingState()
Get the last generated preprocessing state, it is the current oneString[]
PreprocessorContext.getProcessingFileExtensions()
Get file extensions of files to be preprocessed as a string arrayJCPSpecialVariableProcessor.getReference()
JCPSpecialVariableProcessor.NameReferencePair.getReference()
PreprocessingState.getRootFileInfo()
PreprocessingState.getRootTextContainer()
PreprocessorContext.getSourceDirectories()
Get the source directories as semi separated stringFile[]
PreprocessorContext.getSourceDirectoryAsFiles()
Get the current source directories as a file arraySpecialVariableProcessor.getVariable
(String varName, PreprocessorContext context) Get the value for the variableString[]
EnvironmentVariableProcessor.getVariableNames()
String[]
JCPSpecialVariableProcessor.getVariableNames()
String[]
SpecialVariableProcessor.getVariableNames()
Get all variable names allowed by the processor as an array, all names must be in lower casePreprocessingState.goToString
(int stringIndex) PreprocessingState.makeException
(String message, String causeString, Throwable cause) PreprocessorContext.makeException
(String text, Throwable cause) Prepare exception with message and cause, or return cause if it is a preprocessor exceptionPreprocessingState.makeIncludeStack()
private static String
PreprocessorContext.makeStackView
(TextFileDataContainer cloneSource, boolean cloned, List<TextFileDataContainer> list) PreprocessingState.popAllExcludeIfInfoData()
PreprocessingState.popExcludeIfData()
PreprocessingState.popIf()
PreprocessingState.popTextContainer()
PreprocessingState.popWhile()
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 contextPreprocessorContext.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.pushIf
(boolean makeActive) PreprocessingState.pushWhile
(boolean makeActive) PreprocessorContext.removeGlobalVariable
(String name) Remove a global variable value from the context.PreprocessorContext.removeLocalVariable
(String name) Remove a local variable value from the context.PreprocessorContext.setClearDestinationDirBefore
(boolean flag) Set the flag to clear the destination directory before preprocessingPreprocessorContext.setCompareDestination
(boolean flag) Set the flag to check before saving if the content changed.PreprocessorContext.setCopyFileAttributes
(boolean value) Set the flag to copy file attributes.PreprocessorContext.setDestinationDirectory
(String directory) Set a destination directory for result filesPreprocessorContext.setExcludedFileExtensions
(String extensions) Set comma separated list of file extensions to be excluded from preprocessingPreprocessorContext.setGlobalVariable
(String name, Value value) Set a global variable valuePreprocessorContext.setInCharacterEncoding
(String characterEncoding) Set the character encoding for reading texts, it must be supported by the Java platform else an exception will be thrownPreprocessorContext.setKeepLines
(boolean flag) Set the flag to keep lines as commented onesPreprocessorContext.setLocalVariable
(String name, Value value) Set a local variable valuePreprocessorContext.setOutCharacterEncoding
(String characterEncoding) Set the output texts character encoding, it must be supported by the Java platform else an exception will be thrownPreprocessorContext.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.setProcessingFileExtensions
(String extensions) Set file extensions of files to be preprocessed, it is a comma separated listPreprocessorContext.setRemoveComments
(boolean removingComments) Set the remove comments flagPreprocessorContext.setSourceDirectories
(String directories) Set source directoriesPreprocessorContext.setVerbose
(boolean flag) Set the verbose flagPreprocessingState.writePrinterBuffers
(Writer writer) Method parameters in com.igormaznitsa.jcp.context with annotations of type NonnullModifier and TypeMethodDescriptionvoid
PreprocessorContext.addConfigFile
(File file) Add a configuration file, it is a file which contains directives and global variable definitionsPreprocessorContext.createDestinationFileForPath
(String path) It allows to create a File object for its path subject to the destination directory pathPreprocessorContext.findFileInSourceFolder
(String path) It finds a file for its path among files in source folder, it is prohibited to return files out of preprocessing folders.PreprocessorContext.getSharedResource
(String name) Get a shared source from inside mapEnvironmentVariableProcessor.getVariable
(String varName, PreprocessorContext context) EnvironmentVariableProcessor.getVariable
(String varName, PreprocessorContext context) JCPSpecialVariableProcessor.getVariable
(String varName, PreprocessorContext context) JCPSpecialVariableProcessor.getVariable
(String varName, PreprocessorContext context) SpecialVariableProcessor.getVariable
(String varName, PreprocessorContext context) Get the value for the variablevoid
PreprocessorContext.logForVerbose
(String str) PreprocessorContext.makeException
(String text, Throwable cause) Prepare exception with message and cause, or return cause if it is a preprocessor exceptionvoid
PreprocessingState.popAllIFUntilContainerWithFile
(TextFileDataContainer container) 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 contextPreprocessorContext.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 contextPreprocessorContext.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, String excludeIfCondition, int stringIndex) void
PreprocessingState.pushExcludeIfData
(FileInfoContainer infoContainer, String excludeIfCondition, int stringIndex) void
PreprocessorContext.registerSpecialVariableProcessor
(SpecialVariableProcessor processor) It allows to register a special variable processor which can process some special global variablesPreprocessorContext.removeGlobalVariable
(String name) Remove a global variable value from the context.PreprocessorContext.removeLocalVariable
(String name) Remove a local variable value from the context.PreprocessorContext.removeSharedResource
(String name) Remove a shared object from the inside map for its nameboolean
PreprocessingState.saveBuffersToFile
(File outFile, boolean removeComments) void
PreprocessingState.saveBuffersToStreams
(OutputStream prefix, OutputStream normal, OutputStream postfix) void
PreprocessingState.saveBuffersToStreams
(OutputStream prefix, OutputStream normal, OutputStream postfix) void
PreprocessingState.saveBuffersToStreams
(OutputStream prefix, OutputStream normal, OutputStream postfix) PreprocessorContext.setDestinationDirectory
(String directory) Set a destination directory for result filesPreprocessorContext.setExcludedFileExtensions
(String extensions) Set comma separated list of file extensions to be excluded from preprocessingvoid
PreprocessorContext.setExcludedFolderPatterns
(String... patterns) Set patterns for excluded folders.PreprocessorContext.setGlobalVariable
(String name, Value value) Set a global variable valuePreprocessorContext.setGlobalVariable
(String name, Value value) Set a global variable valuePreprocessorContext.setInCharacterEncoding
(String characterEncoding) Set the character encoding for reading texts, it must be supported by the Java platform else an exception will be thrownPreprocessorContext.setLocalVariable
(String name, Value value) Set a local variable valuePreprocessorContext.setLocalVariable
(String name, Value value) Set a local variable valuePreprocessorContext.setOutCharacterEncoding
(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.setProcessingFileExtensions
(String extensions) Set file extensions of files to be preprocessed, it is a comma separated listvoid
PreprocessorContext.setSharedResource
(String name, Object obj) Set a shared source, it is an object saved into the inside map for a namevoid
PreprocessorContext.setSharedResource
(String name, Object obj) Set a shared source, it is an object saved into the inside map for a namePreprocessorContext.setSourceDirectories
(String directories) Set source directoriesvoid
EnvironmentVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) void
EnvironmentVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) void
EnvironmentVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) void
JCPSpecialVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) void
JCPSpecialVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) void
JCPSpecialVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) void
SpecialVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) Set a value to the variablevoid
SpecialVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) Set a value to the variablePreprocessingState.writePrinterBuffers
(Writer writer) Constructor parameters in com.igormaznitsa.jcp.context with annotations of type NonnullModifierConstructorDescriptionExcludeIfInfo
(FileInfoContainer fileInfoContainer, String condition, int stringIndex) ExcludeIfInfo
(FileInfoContainer fileInfoContainer, String condition, int stringIndex) private
NameReferencePair
(String name, String reference) private
NameReferencePair
(String name, String reference) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, TextFileDataContainer rootContainer, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, FileInfoContainer rootFile, String inEncoding, String outEncoding, boolean overrideOnlyIfContentChanged) (package private)
PreprocessingState
(PreprocessorContext context, String inEncoding, String outEncoding) (package private)
PreprocessingState
(PreprocessorContext context, String inEncoding, String outEncoding) (package private)
PreprocessingState
(PreprocessorContext context, String inEncoding, 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 NonnullModifier and TypeMethodDescriptionAbortDirectiveHandler.execute
(String rawTail, PreprocessorContext context) abstract AfterDirectiveProcessingBehaviour
AbstractDirectiveHandler.execute
(String tailString, PreprocessorContext context) Execute directiveActionDirectiveHandler.execute
(String string, PreprocessorContext context) BreakDirectiveHandler.execute
(String string, PreprocessorContext context) CommentNextLineDirectiveHandler.execute
(String string, PreprocessorContext context) ContinueDirectiveHandler.execute
(String string, PreprocessorContext context) DefineDirectiveHandler.execute
(String rawTail, PreprocessorContext context) EchoDirectiveHandler.execute
(String string, PreprocessorContext context) ElseDirectiveHandler.execute
(String string, PreprocessorContext context) EndDirectiveHandler.execute
(String string, PreprocessorContext context) EndIfDirectiveHandler.execute
(String string, PreprocessorContext context) ErrorDirectiveHandler.execute
(String trimmedString, PreprocessorContext context) ExcludeIfDirectiveHandler.execute
(String string, PreprocessorContext context) ExitDirectiveHandler.execute
(String string, PreprocessorContext context) ExitIfDirectiveHandler.execute
(String string, PreprocessorContext context) FlushDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalElseDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalEndIfDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalIfDirectiveHandler.execute
(String string, PreprocessorContext context) IfDefinedDirectiveHandler.execute
(String string, PreprocessorContext context) IfDirectiveHandler.execute
(String string, PreprocessorContext context) IncludeDirectiveHandler.execute
(String string, PreprocessorContext context) LocalDirectiveHandler.execute
(String string, PreprocessorContext context) MsgDirectiveHandler.execute
(String rawTail, PreprocessorContext context) NoAutoFlushHandler.execute
(String string, PreprocessorContext context) OutDirDirectiveHandler.execute
(String string, PreprocessorContext context) OutDisabledDirectiveHandler.execute
(String string, PreprocessorContext context) OutEnabledDirectiveHandler.execute
(String string, PreprocessorContext context) OutNameDirectiveHandler.execute
(String string, PreprocessorContext context) PostfixDirectiveHandler.execute
(String string, PreprocessorContext context) PrefixDirectiveHandler.execute
(String string, PreprocessorContext context) WhileDirectiveHandler.execute
(String string, PreprocessorContext context) AbortDirectiveHandler.getArgumentType()
AbstractDirectiveHandler.getArgumentType()
Get the argument type needed by the directiveActionDirectiveHandler.getArgumentType()
DefineDirectiveHandler.getArgumentType()
EchoDirectiveHandler.getArgumentType()
ErrorDirectiveHandler.getArgumentType()
ExcludeIfDirectiveHandler.getArgumentType()
ExitIfDirectiveHandler.getArgumentType()
GlobalDirectiveHandler.getArgumentType()
GlobalIfDirectiveHandler.getArgumentType()
IfDefDirectiveHandler.getArgumentType()
IfDefinedDirectiveHandler.getArgumentType()
IfDirectiveHandler.getArgumentType()
IncludeDirectiveHandler.getArgumentType()
LocalDirectiveHandler.getArgumentType()
MsgDirectiveHandler.getArgumentType()
OutDirDirectiveHandler.getArgumentType()
OutDisabledDirectiveHandler.getArgumentType()
OutEnabledDirectiveHandler.getArgumentType()
OutNameDirectiveHandler.getArgumentType()
PostfixDirectiveHandler.getArgumentType()
PrefixDirectiveHandler.getArgumentType()
WhileDirectiveHandler.getArgumentType()
DirectiveArgumentType.getAsText()
AbstractDirectiveHandler.getFullName()
Get the directive name with prefixAbortDirectiveHandler.getName()
abstract String
AbstractDirectiveHandler.getName()
Get the name of the directive without prefixActionDirectiveHandler.getName()
BreakDirectiveHandler.getName()
CommentNextLineDirectiveHandler.getName()
ContinueDirectiveHandler.getName()
DefineDirectiveHandler.getName()
DefinelDirectiveHandler.getName()
EchoDirectiveHandler.getName()
ElseDirectiveHandler.getName()
EndDirectiveHandler.getName()
EndIfDirectiveHandler.getName()
ErrorDirectiveHandler.getName()
ExcludeIfDirectiveHandler.getName()
ExitDirectiveHandler.getName()
ExitIfDirectiveHandler.getName()
FlushDirectiveHandler.getName()
GlobalDirectiveHandler.getName()
GlobalElseDirectiveHandler.getName()
GlobalEndIfDirectiveHandler.getName()
GlobalIfDirectiveHandler.getName()
IfDefDirectiveHandler.getName()
IfDefinedDirectiveHandler.getName()
IfDirectiveHandler.getName()
IfNDefDirectiveHandler.getName()
IncludeDirectiveHandler.getName()
LocalDirectiveHandler.getName()
MsgDirectiveHandler.getName()
NoAutoFlushHandler.getName()
OutDirDirectiveHandler.getName()
OutDisabledDirectiveHandler.getName()
OutEnabledDirectiveHandler.getName()
OutNameDirectiveHandler.getName()
PostfixDirectiveHandler.getName()
PrefixDirectiveHandler.getName()
UndefDirectiveHandler.getName()
WarningDirectiveHandler.getName()
WhileDirectiveHandler.getName()
AbortDirectiveHandler.getReference()
abstract String
AbstractDirectiveHandler.getReference()
Get the directive reference, it will be printed for a help requestActionDirectiveHandler.getReference()
BreakDirectiveHandler.getReference()
CommentNextLineDirectiveHandler.getReference()
ContinueDirectiveHandler.getReference()
DefineDirectiveHandler.getReference()
DefinelDirectiveHandler.getReference()
EchoDirectiveHandler.getReference()
ElseDirectiveHandler.getReference()
EndDirectiveHandler.getReference()
EndIfDirectiveHandler.getReference()
ErrorDirectiveHandler.getReference()
ExcludeIfDirectiveHandler.getReference()
ExitDirectiveHandler.getReference()
ExitIfDirectiveHandler.getReference()
FlushDirectiveHandler.getReference()
GlobalDirectiveHandler.getReference()
GlobalElseDirectiveHandler.getReference()
GlobalEndIfDirectiveHandler.getReference()
GlobalIfDirectiveHandler.getReference()
IfDefDirectiveHandler.getReference()
IfDefinedDirectiveHandler.getReference()
IfDirectiveHandler.getReference()
IfNDefDirectiveHandler.getReference()
IncludeDirectiveHandler.getReference()
LocalDirectiveHandler.getReference()
MsgDirectiveHandler.getReference()
NoAutoFlushHandler.getReference()
OutDirDirectiveHandler.getReference()
OutDisabledDirectiveHandler.getReference()
OutEnabledDirectiveHandler.getReference()
OutNameDirectiveHandler.getReference()
PostfixDirectiveHandler.getReference()
PrefixDirectiveHandler.getReference()
UndefDirectiveHandler.getReference()
WarningDirectiveHandler.getReference()
WhileDirectiveHandler.getReference()
private List
<ExpressionTree> ActionDirectiveHandler.parseString
(String str, PreprocessorContext context) Method parameters in com.igormaznitsa.jcp.directives with annotations of type NonnullModifier and TypeMethodDescriptionAbortDirectiveHandler.execute
(String rawTail, PreprocessorContext context) AbortDirectiveHandler.execute
(String rawTail, PreprocessorContext context) abstract AfterDirectiveProcessingBehaviour
AbstractDirectiveHandler.execute
(String tailString, PreprocessorContext context) Execute directiveabstract AfterDirectiveProcessingBehaviour
AbstractDirectiveHandler.execute
(String tailString, PreprocessorContext context) Execute directiveActionDirectiveHandler.execute
(String string, PreprocessorContext context) ActionDirectiveHandler.execute
(String string, PreprocessorContext context) BreakDirectiveHandler.execute
(String string, PreprocessorContext context) BreakDirectiveHandler.execute
(String string, PreprocessorContext context) CommentNextLineDirectiveHandler.execute
(String string, PreprocessorContext context) CommentNextLineDirectiveHandler.execute
(String string, PreprocessorContext context) ContinueDirectiveHandler.execute
(String string, PreprocessorContext context) ContinueDirectiveHandler.execute
(String string, PreprocessorContext context) DefineDirectiveHandler.execute
(String rawTail, PreprocessorContext context) DefineDirectiveHandler.execute
(String rawTail, PreprocessorContext context) EchoDirectiveHandler.execute
(String string, PreprocessorContext context) EchoDirectiveHandler.execute
(String string, PreprocessorContext context) ElseDirectiveHandler.execute
(String string, PreprocessorContext context) ElseDirectiveHandler.execute
(String string, PreprocessorContext context) EndDirectiveHandler.execute
(String string, PreprocessorContext context) EndDirectiveHandler.execute
(String string, PreprocessorContext context) EndIfDirectiveHandler.execute
(String string, PreprocessorContext context) EndIfDirectiveHandler.execute
(String string, PreprocessorContext context) ErrorDirectiveHandler.execute
(String trimmedString, PreprocessorContext context) ErrorDirectiveHandler.execute
(String trimmedString, PreprocessorContext context) ExcludeIfDirectiveHandler.execute
(String string, PreprocessorContext context) ExcludeIfDirectiveHandler.execute
(String string, PreprocessorContext context) ExitDirectiveHandler.execute
(String string, PreprocessorContext context) ExitDirectiveHandler.execute
(String string, PreprocessorContext context) ExitIfDirectiveHandler.execute
(String string, PreprocessorContext context) ExitIfDirectiveHandler.execute
(String string, PreprocessorContext context) FlushDirectiveHandler.execute
(String string, PreprocessorContext context) FlushDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalElseDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalElseDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalEndIfDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalEndIfDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalIfDirectiveHandler.execute
(String string, PreprocessorContext context) GlobalIfDirectiveHandler.execute
(String string, PreprocessorContext context) IfDefinedDirectiveHandler.execute
(String string, PreprocessorContext context) IfDefinedDirectiveHandler.execute
(String string, PreprocessorContext context) IfDirectiveHandler.execute
(String string, PreprocessorContext context) IfDirectiveHandler.execute
(String string, PreprocessorContext context) IncludeDirectiveHandler.execute
(String string, PreprocessorContext context) IncludeDirectiveHandler.execute
(String string, PreprocessorContext context) LocalDirectiveHandler.execute
(String string, PreprocessorContext context) LocalDirectiveHandler.execute
(String string, PreprocessorContext context) MsgDirectiveHandler.execute
(String rawTail, PreprocessorContext context) MsgDirectiveHandler.execute
(String rawTail, PreprocessorContext context) NoAutoFlushHandler.execute
(String string, PreprocessorContext context) NoAutoFlushHandler.execute
(String string, PreprocessorContext context) OutDirDirectiveHandler.execute
(String string, PreprocessorContext context) OutDirDirectiveHandler.execute
(String string, PreprocessorContext context) OutDisabledDirectiveHandler.execute
(String string, PreprocessorContext context) OutDisabledDirectiveHandler.execute
(String string, PreprocessorContext context) OutEnabledDirectiveHandler.execute
(String string, PreprocessorContext context) OutEnabledDirectiveHandler.execute
(String string, PreprocessorContext context) OutNameDirectiveHandler.execute
(String string, PreprocessorContext context) OutNameDirectiveHandler.execute
(String string, PreprocessorContext context) PostfixDirectiveHandler.execute
(String string, PreprocessorContext context) PostfixDirectiveHandler.execute
(String string, PreprocessorContext context) PrefixDirectiveHandler.execute
(String string, PreprocessorContext context) PrefixDirectiveHandler.execute
(String string, PreprocessorContext context) WhileDirectiveHandler.execute
(String string, PreprocessorContext context) WhileDirectiveHandler.execute
(String string, PreprocessorContext context) private List
<ExpressionTree> ActionDirectiveHandler.parseString
(String str, PreprocessorContext context) private List
<ExpressionTree> ActionDirectiveHandler.parseString
(String str, PreprocessorContext context) protected void
DefineDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
DefineDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
DefineDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
DefinelDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
DefinelDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
DefinelDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
ErrorDirectiveHandler.process
(PreprocessorContext context, String message) protected void
ErrorDirectiveHandler.process
(PreprocessorContext context, String message) protected void
UndefDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
UndefDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
UndefDirectiveHandler.process
(PreprocessorContext context, String varName, Value value, boolean exists) protected void
WarningDirectiveHandler.process
(PreprocessorContext context, String message) protected void
WarningDirectiveHandler.process
(PreprocessorContext context, String message) private void
GlobalDirectiveHandler.processDefinition
(String string, PreprocessorContext context) private void
GlobalDirectiveHandler.processDefinition
(String string, PreprocessorContext context) private void
LocalDirectiveHandler.processLocalDefinition
(String string, PreprocessorContext context) private void
LocalDirectiveHandler.processLocalDefinition
(String string, PreprocessorContext context) Constructor parameters in com.igormaznitsa.jcp.directives with annotations of type Nonnull -
Uses of Nonnull in com.igormaznitsa.jcp.exceptions
Methods in com.igormaznitsa.jcp.exceptions with annotations of type NonnullModifier and TypeMethodDescriptionFilePositionInfo.getFile()
PreprocessorException.getIncludeChain()
private static String
PreprocessorException.makeStackView
(FilePositionInfo[] list, char fill) static String
PreprocessorException.referenceAsString
(char fillChar, Throwable thr) FilePositionInfo.toString()
PreprocessorException.toString()
Constructor parameters in com.igormaznitsa.jcp.exceptions with annotations of type Nonnull -
Uses of Nonnull in com.igormaznitsa.jcp.expression
Methods in com.igormaznitsa.jcp.expression with annotations of type NonnullModifier and TypeMethodDescriptionExpressionTreeElement.addSubTree
(ExpressionTree tree) Add a tree as new child and make the maximum priority for itValue.asBoolean()
Value.asFloat()
Value.asLong()
Value.asString()
private ExpressionTreeElement
Expression.calculateTreeElement
(ExpressionTreeElement element, PreprocessingState state) private Value
Expression.eval
(PreprocessingState state) static Value
Expression.evalExpression
(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.getChildForIndex
(int index) Get the child element for its index (the first is 0)ExpressionItem.getExpressionItemPriority()
Get the priority of the itemValue.getExpressionItemPriority()
Variable.getExpressionItemPriority()
Get the expression item priorityExpressionItem.getExpressionItemType()
Get the type of the itemValue.getExpressionItemType()
Variable.getExpressionItemType()
Get the expression item typestatic ExpressionParser
ExpressionParser.getInstance()
ExpressionTreeElement.getItem()
Get the wrapped itemVariable.getName()
Get the variable nameExpressionTree.getRoot()
Get the root of the treeValueType.getSignature()
Value.getType()
Value.getValue()
ExpressionParser.parse
(String expressionStr, PreprocessorContext context) To parse an expression represented as a string and get a treeprivate ExpressionTree
ExpressionParser.readFunction
(AbstractFunction function, PushbackReader reader, PreprocessorContext context, FilePositionInfo[] includeStack, String sources) The auxiliary method allows to form a function and its arguments as a treestatic Value
Value.recognizeOf
(String str) static Value
Value.recognizeRawString
(String str) static ValueType
Value.recognizeType
(String value) Value.toString()
Variable.toString()
Value.toStringDetail()
static Value
static Value
static Value
static Value
Method parameters in com.igormaznitsa.jcp.expression with annotations of type NonnullModifier and TypeMethodDescriptionprivate 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.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.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
(String expression, PreprocessorContext context) Evaluate expressionstatic Value
Expression.evalExpression
(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
(List<ExpressionTree> arguments) It fills children slots from a list containing expression treesstatic Object
static Object
boolean
ValueType.isCompatible
(ValueType type) To check that the type is compatible with another one(package private) ExpressionItem
ExpressionParser.nextItem
(PushbackReader reader, PreprocessorContext context) Read the next item from the reader(package private) ExpressionItem
ExpressionParser.nextItem
(PushbackReader reader, PreprocessorContext context) Read the next item from the readerExpressionParser.parse
(String expressionStr, PreprocessorContext context) To parse an expression represented as a string and get a treeExpressionParser.parse
(String expressionStr, PreprocessorContext context) To parse an expression represented as a string and get a treeExpressionParser.readExpression
(PushbackReader reader, ExpressionTree tree, PreprocessorContext context, boolean insideBracket, boolean argument) It reads an expression from a reader and fill a treeExpressionParser.readExpression
(PushbackReader reader, ExpressionTree tree, PreprocessorContext context, boolean insideBracket, boolean argument) It reads an expression from a reader and fill a treeExpressionParser.readExpression
(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, PushbackReader reader, PreprocessorContext context, FilePositionInfo[] includeStack, String sources) The auxiliary method allows to form a function and its arguments as a treeprivate ExpressionTree
ExpressionParser.readFunction
(AbstractFunction function, PushbackReader reader, PreprocessorContext context, FilePositionInfo[] includeStack, String sources) The auxiliary method allows to form a function and its arguments as a treeprivate ExpressionTree
ExpressionParser.readFunction
(AbstractFunction function, PushbackReader reader, PreprocessorContext context, FilePositionInfo[] includeStack, String sources) The auxiliary method allows to form a function and its arguments as a tree(package private) ExpressionItem
ExpressionParser.readFunctionArgument
(PushbackReader reader, ExpressionTree tree, PreprocessorContext context, FilePositionInfo[] callStack, String source) The auxiliary method allows to read a function argument(package private) ExpressionItem
ExpressionParser.readFunctionArgument
(PushbackReader reader, ExpressionTree tree, PreprocessorContext context, FilePositionInfo[] callStack, String source) The auxiliary method allows to read a function argument(package private) ExpressionItem
ExpressionParser.readFunctionArgument
(PushbackReader reader, ExpressionTree tree, PreprocessorContext context, FilePositionInfo[] callStack, String source) The auxiliary method allows to read a function argumentstatic Value
Value.recognizeOf
(String str) static Value
Value.recognizeRawString
(String str) static ValueType
Value.recognizeType
(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
static Value
static Value
static Value
Constructor parameters in com.igormaznitsa.jcp.expression with annotations of type NonnullModifierConstructorDescriptionprivate
Expression
(PreprocessorContext context, ExpressionTree tree) private
Expression
(PreprocessorContext context, ExpressionTree tree) (package private)
ExpressionTreeElement
(ExpressionItem item, FilePositionInfo[] callStack, String sourceString) The constructor(package private)
ExpressionTreeElement
(ExpressionItem item, FilePositionInfo[] callStack, String sourceString) The constructorprivate
private
private
private
The constructor -
Uses of Nonnull in com.igormaznitsa.jcp.expression.functions
Methods in com.igormaznitsa.jcp.expression.functions with annotations of type NonnullModifier and TypeMethodDescriptionprivate static String
FunctionBINFILE.convertTo
(File file, FunctionBINFILE.Type type, boolean deflate, int lineLength, String endOfLine) private static byte[]
FunctionBINFILE.deflate
(byte[] data) private static String
FunctionDefinedByUser.execute
(PreprocessorContext context, Value[] values) FunctionABS.executeFloat
(PreprocessorContext context, Value value) FunctionROUND.executeFloat
(PreprocessorContext context, Value value) FunctionABS.executeInt
(PreprocessorContext context, Value value) FunctionROUND.executeInt
(PreprocessorContext context, Value value) abstract Value
AbstractStrConverter.executeStr
(PreprocessorContext context, Value stringToConvert) FunctionEVALFILE.executeStr
(PreprocessorContext context, Value strfilePath) FunctionSTR2CSV.executeStr
(PreprocessorContext context, Value value) FunctionSTR2INT.executeStr
(PreprocessorContext context, Value value) FunctionSTR2JS.executeStr
(PreprocessorContext context, Value value) FunctionSTR2JSON.executeStr
(PreprocessorContext context, Value value) FunctionSTR2WEB.executeStr
(PreprocessorContext context, Value value) FunctionSTR2XML.executeStr
(PreprocessorContext context, Value value) FunctionSTRLEN.executeStr
(PreprocessorContext context, Value value) FunctionTRIMLINES.executeStr
(PreprocessorContext context, Value value) FunctionIS.executeStrAny
(PreprocessorContext context, Value varName, Value value) FunctionSTR2GO.executeStrBool
(PreprocessorContext context, Value source, Value splitAndQuoteLines) FunctionSTR2JAVA.executeStrBool
(PreprocessorContext context, Value source, Value splitAndQuoteLines) FunctionBINFILE.executeStrStr
(PreprocessorContext context, Value strfilePath, Value encodeType) FunctionISSUBSTR.executeStrStr
(PreprocessorContext context, Value subStrValue, Value strValue) abstract ValueType[][]
AbstractFunction.getAllowedArgumentTypes()
Get arrays of supported argument typesfinal ValueType[][]
AbstractStrConverter.getAllowedArgumentTypes()
ValueType[][]
FunctionABS.getAllowedArgumentTypes()
ValueType[][]
FunctionBINFILE.getAllowedArgumentTypes()
ValueType[][]
FunctionDefinedByUser.getAllowedArgumentTypes()
ValueType[][]
FunctionEVALFILE.getAllowedArgumentTypes()
ValueType[][]
FunctionIS.getAllowedArgumentTypes()
ValueType[][]
FunctionISSUBSTR.getAllowedArgumentTypes()
ValueType[][]
FunctionROUND.getAllowedArgumentTypes()
ValueType[][]
FunctionSTR2GO.getAllowedArgumentTypes()
ValueType[][]
FunctionSTR2JAVA.getAllowedArgumentTypes()
ValueType[][]
FunctionSTRLEN.getAllowedArgumentTypes()
AbstractFunction.getExpressionItemPriority()
Get the priority of the function in the expression treeAbstractFunction.getExpressionItemType()
Get the expression item typeabstract String
AbstractFunction.getName()
Get the function nameFunctionABS.getName()
FunctionBINFILE.getName()
FunctionBINFILE.Type.getName()
FunctionDefinedByUser.getName()
FunctionEVALFILE.getName()
FunctionIS.getName()
FunctionISSUBSTR.getName()
FunctionROUND.getName()
FunctionSTR2CSV.getName()
FunctionSTR2GO.getName()
FunctionSTR2INT.getName()
FunctionSTR2JAVA.getName()
FunctionSTR2JS.getName()
FunctionSTR2JSON.getName()
FunctionSTR2WEB.getName()
FunctionSTR2XML.getName()
FunctionSTRLEN.getName()
FunctionTRIMLINES.getName()
abstract String
AbstractFunction.getReference()
Get the function reference to be output for a help requestFunctionABS.getReference()
FunctionBINFILE.getReference()
FunctionDefinedByUser.getReference()
FunctionEVALFILE.getReference()
FunctionIS.getReference()
FunctionISSUBSTR.getReference()
FunctionROUND.getReference()
FunctionSTR2CSV.getReference()
FunctionSTR2GO.getReference()
FunctionSTR2INT.getReference()
FunctionSTR2JAVA.getReference()
FunctionSTR2JS.getReference()
FunctionSTR2JSON.getReference()
FunctionSTR2WEB.getReference()
FunctionSTR2XML.getReference()
FunctionSTRLEN.getReference()
FunctionTRIMLINES.getReference()
abstract ValueType
AbstractFunction.getResultType()
Get the result typeFunctionABS.getResultType()
FunctionBINFILE.getResultType()
FunctionDefinedByUser.getResultType()
FunctionEVALFILE.getResultType()
FunctionIS.getResultType()
FunctionISSUBSTR.getResultType()
FunctionROUND.getResultType()
FunctionSTR2CSV.getResultType()
FunctionSTR2GO.getResultType()
FunctionSTR2INT.getResultType()
FunctionSTR2JAVA.getResultType()
FunctionSTR2JS.getResultType()
FunctionSTR2JSON.getResultType()
FunctionSTR2WEB.getResultType()
FunctionSTR2XML.getResultType()
FunctionSTRLEN.getResultType()
FunctionTRIMLINES.getResultType()
private PreprocessorContext
FunctionEVALFILE.prepareContext
(PreprocessorContext base) private static String
FunctionSTR2GO.toUnicode
(char c) Method parameters in com.igormaznitsa.jcp.expression.functions with annotations of type NonnullModifier and TypeMethodDescriptionprivate static String
FunctionBINFILE.convertTo
(File file, FunctionBINFILE.Type type, boolean deflate, int lineLength, String endOfLine) private static String
FunctionBINFILE.convertTo
(File file, FunctionBINFILE.Type type, boolean deflate, int lineLength, String endOfLine) private static String
FunctionBINFILE.convertTo
(File file, FunctionBINFILE.Type type, boolean deflate, int lineLength, String endOfLine) private static byte[]
FunctionBINFILE.deflate
(byte[] data) private static String
FunctionDefinedByUser.execute
(PreprocessorContext context, Value[] values) FunctionDefinedByUser.execute
(PreprocessorContext context, Value[] values) FunctionABS.executeFloat
(PreprocessorContext context, Value value) FunctionABS.executeFloat
(PreprocessorContext context, Value value) FunctionROUND.executeFloat
(PreprocessorContext context, Value value) FunctionROUND.executeFloat
(PreprocessorContext context, Value value) FunctionABS.executeInt
(PreprocessorContext context, Value value) FunctionABS.executeInt
(PreprocessorContext context, Value value) FunctionROUND.executeInt
(PreprocessorContext context, Value value) FunctionROUND.executeInt
(PreprocessorContext context, Value value) abstract Value
AbstractStrConverter.executeStr
(PreprocessorContext context, Value stringToConvert) abstract Value
AbstractStrConverter.executeStr
(PreprocessorContext context, Value stringToConvert) FunctionEVALFILE.executeStr
(PreprocessorContext context, Value strfilePath) FunctionEVALFILE.executeStr
(PreprocessorContext context, Value strfilePath) FunctionSTR2CSV.executeStr
(PreprocessorContext context, Value value) FunctionSTR2CSV.executeStr
(PreprocessorContext context, Value value) FunctionSTR2INT.executeStr
(PreprocessorContext context, Value value) FunctionSTR2INT.executeStr
(PreprocessorContext context, Value value) FunctionSTR2JS.executeStr
(PreprocessorContext context, Value value) FunctionSTR2JS.executeStr
(PreprocessorContext context, Value value) FunctionSTR2JSON.executeStr
(PreprocessorContext context, Value value) FunctionSTR2JSON.executeStr
(PreprocessorContext context, Value value) FunctionSTR2WEB.executeStr
(PreprocessorContext context, Value value) FunctionSTR2WEB.executeStr
(PreprocessorContext context, Value value) FunctionSTR2XML.executeStr
(PreprocessorContext context, Value value) FunctionSTR2XML.executeStr
(PreprocessorContext context, Value value) FunctionSTRLEN.executeStr
(PreprocessorContext context, Value value) FunctionSTRLEN.executeStr
(PreprocessorContext context, Value value) FunctionTRIMLINES.executeStr
(PreprocessorContext context, Value value) FunctionTRIMLINES.executeStr
(PreprocessorContext context, Value value) FunctionIS.executeStrAny
(PreprocessorContext context, Value varName, Value value) FunctionIS.executeStrAny
(PreprocessorContext context, Value varName, Value value) FunctionIS.executeStrAny
(PreprocessorContext context, Value varName, Value value) FunctionSTR2GO.executeStrBool
(PreprocessorContext context, Value source, Value splitAndQuoteLines) FunctionSTR2GO.executeStrBool
(PreprocessorContext context, Value source, Value splitAndQuoteLines) FunctionSTR2GO.executeStrBool
(PreprocessorContext context, Value source, Value splitAndQuoteLines) FunctionSTR2JAVA.executeStrBool
(PreprocessorContext context, Value source, Value splitAndQuoteLines) FunctionSTR2JAVA.executeStrBool
(PreprocessorContext context, Value source, Value splitAndQuoteLines) FunctionSTR2JAVA.executeStrBool
(PreprocessorContext context, Value source, Value splitAndQuoteLines) FunctionBINFILE.executeStrStr
(PreprocessorContext context, Value strfilePath, Value encodeType) FunctionBINFILE.executeStrStr
(PreprocessorContext context, Value strfilePath, Value encodeType) FunctionBINFILE.executeStrStr
(PreprocessorContext context, Value strfilePath, Value encodeType) FunctionISSUBSTR.executeStrStr
(PreprocessorContext context, Value subStrValue, Value strValue) FunctionISSUBSTR.executeStrStr
(PreprocessorContext context, Value subStrValue, Value strValue) FunctionISSUBSTR.executeStrStr
(PreprocessorContext context, Value subStrValue, Value strValue) static <E extends AbstractFunction>
EAbstractFunction.findForClass
(Class<E> functionClass) Allows to find a function handler instance for its classstatic AbstractFunction
AbstractFunction.findForName
(String str) Find a function handler for its nameprivate static boolean
FunctionBINFILE.hasDeflateFlag
(String name, FunctionBINFILE.Type type) private static boolean
FunctionBINFILE.hasDeflateFlag
(String name, FunctionBINFILE.Type type) private static boolean
FunctionBINFILE.hasSplitFlag
(String name, FunctionBINFILE.Type type) private static boolean
FunctionBINFILE.hasSplitFlag
(String name, FunctionBINFILE.Type type) private PreprocessorContext
FunctionEVALFILE.prepareContext
(PreprocessorContext base) Constructor parameters in com.igormaznitsa.jcp.expression.functions with annotations of type NonnullModifierConstructorDescriptionFunctionDefinedByUser
(String name, int argsNumber, PreprocessorContext context) FunctionDefinedByUser
(String name, int argsNumber, PreprocessorContext context) private
-
Uses of Nonnull in com.igormaznitsa.jcp.expression.functions.xml
Methods in com.igormaznitsa.jcp.expression.functions.xml with annotations of type NonnullModifier and TypeMethodDescriptionstatic String
AbstractXMLFunction.buildPathForElement
(Element element) FunctionXML_NAME.executeStr
(PreprocessorContext context, Value elementId) FunctionXML_OPEN.executeStr
(PreprocessorContext context, Value filePath) FunctionXML_ROOT.executeStr
(PreprocessorContext context, Value documentId) FunctionXML_SIZE.executeStr
(PreprocessorContext context, Value elementListId) FunctionXML_TEXT.executeStr
(PreprocessorContext context, Value elementid) FunctionXML_GET.executeStrInt
(PreprocessorContext context, Value elementListId, Value elementIndex) FunctionXML_ATTR.executeStrStr
(PreprocessorContext context, Value elementId, Value attributeName) FunctionXML_LIST.executeStrStr
(PreprocessorContext context, Value elementId, Value elementTag) FunctionXML_XELEMENT.executeStrStr
(PreprocessorContext context, Value documentId, Value xPath) FunctionXML_XLIST.executeStrStr
(PreprocessorContext context, Value documentId, Value xPath) AbstractXMLFunction.findElementForIndex
(PreprocessorContext context, 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()
AbstractXMLFunction.getAttribute
(PreprocessorContext context, String elementId, String attributeName) AbstractXMLFunction.getCachedDocument
(PreprocessorContext context, String documentId) AbstractXMLFunction.getCachedElement
(PreprocessorContext context, String elementId) AbstractXMLFunction.getCachedElementList
(PreprocessorContext context, String elementListId) static String
AbstractXMLFunction.getFirstLevelTextContent
(Node node) FunctionXML_ATTR.getName()
FunctionXML_GET.getName()
FunctionXML_LIST.getName()
FunctionXML_NAME.getName()
FunctionXML_OPEN.getName()
FunctionXML_ROOT.getName()
FunctionXML_SIZE.getName()
FunctionXML_TEXT.getName()
FunctionXML_XELEMENT.getName()
FunctionXML_XLIST.getName()
NodeContainer.getNode()
NodeContainer.getNodeList()
FunctionXML_ATTR.getReference()
FunctionXML_GET.getReference()
FunctionXML_LIST.getReference()
FunctionXML_NAME.getReference()
FunctionXML_OPEN.getReference()
FunctionXML_ROOT.getReference()
FunctionXML_SIZE.getReference()
FunctionXML_TEXT.getReference()
FunctionXML_XELEMENT.getReference()
FunctionXML_XLIST.getReference()
FunctionXML_ATTR.getResultType()
FunctionXML_GET.getResultType()
FunctionXML_LIST.getResultType()
FunctionXML_NAME.getResultType()
FunctionXML_OPEN.getResultType()
FunctionXML_ROOT.getResultType()
FunctionXML_SIZE.getResultType()
FunctionXML_TEXT.getResultType()
FunctionXML_XELEMENT.getResultType()
FunctionXML_XLIST.getResultType()
static String
AbstractXMLFunction.makeDocumentId
(String fileName) static String
AbstractXMLFunction.makeDocumentRootId
(String documentId) static String
AbstractXMLFunction.makeElementId
(String elementListId, int elementIndex) static String
AbstractXMLFunction.makeElementListId
(Element parentName, String elementName) static String
AbstractXMLFunction.makeXPathElementId
(String documentId, String xpath) static String
AbstractXMLFunction.makeXPathListId
(String documentId, String xpath) private Document
FunctionXML_OPEN.openFileAndParse
(PreprocessorContext context, File file) private XPathExpression
FunctionXML_XELEMENT.prepareXPathExpression
(String path) private XPathExpression
FunctionXML_XLIST.prepareXPathExpression
(String path) Method parameters in com.igormaznitsa.jcp.expression.functions.xml with annotations of type NonnullModifier and TypeMethodDescriptionstatic String
AbstractXMLFunction.buildPathForElement
(Element element) FunctionXML_NAME.executeStr
(PreprocessorContext context, Value elementId) FunctionXML_NAME.executeStr
(PreprocessorContext context, Value elementId) FunctionXML_OPEN.executeStr
(PreprocessorContext context, Value filePath) FunctionXML_OPEN.executeStr
(PreprocessorContext context, Value filePath) FunctionXML_ROOT.executeStr
(PreprocessorContext context, Value documentId) FunctionXML_ROOT.executeStr
(PreprocessorContext context, Value documentId) FunctionXML_SIZE.executeStr
(PreprocessorContext context, Value elementListId) FunctionXML_SIZE.executeStr
(PreprocessorContext context, Value elementListId) FunctionXML_TEXT.executeStr
(PreprocessorContext context, Value elementid) FunctionXML_TEXT.executeStr
(PreprocessorContext context, Value elementid) FunctionXML_GET.executeStrInt
(PreprocessorContext context, Value elementListId, Value elementIndex) FunctionXML_GET.executeStrInt
(PreprocessorContext context, Value elementListId, Value elementIndex) FunctionXML_GET.executeStrInt
(PreprocessorContext context, Value elementListId, Value elementIndex) FunctionXML_ATTR.executeStrStr
(PreprocessorContext context, Value elementId, Value attributeName) FunctionXML_ATTR.executeStrStr
(PreprocessorContext context, Value elementId, Value attributeName) FunctionXML_ATTR.executeStrStr
(PreprocessorContext context, Value elementId, Value attributeName) FunctionXML_LIST.executeStrStr
(PreprocessorContext context, Value elementId, Value elementTag) FunctionXML_LIST.executeStrStr
(PreprocessorContext context, Value elementId, Value elementTag) FunctionXML_LIST.executeStrStr
(PreprocessorContext context, Value elementId, Value elementTag) FunctionXML_XELEMENT.executeStrStr
(PreprocessorContext context, Value documentId, Value xPath) FunctionXML_XELEMENT.executeStrStr
(PreprocessorContext context, Value documentId, Value xPath) FunctionXML_XELEMENT.executeStrStr
(PreprocessorContext context, Value documentId, Value xPath) FunctionXML_XLIST.executeStrStr
(PreprocessorContext context, Value documentId, Value xPath) FunctionXML_XLIST.executeStrStr
(PreprocessorContext context, Value documentId, Value xPath) FunctionXML_XLIST.executeStrStr
(PreprocessorContext context, Value documentId, Value xPath) AbstractXMLFunction.findCachedElement
(PreprocessorContext context, String elementId) AbstractXMLFunction.findCachedElement
(PreprocessorContext context, String elementId) AbstractXMLFunction.findCachedElementList
(PreprocessorContext context, String elementListId) AbstractXMLFunction.findCachedElementList
(PreprocessorContext context, String elementListId) AbstractXMLFunction.findElementForIndex
(PreprocessorContext context, String elementListId, int elementIndex) AbstractXMLFunction.findElementForIndex
(PreprocessorContext context, String elementListId, int elementIndex) AbstractXMLFunction.getAttribute
(PreprocessorContext context, String elementId, String attributeName) AbstractXMLFunction.getAttribute
(PreprocessorContext context, String elementId, String attributeName) AbstractXMLFunction.getAttribute
(PreprocessorContext context, String elementId, String attributeName) AbstractXMLFunction.getCachedDocument
(PreprocessorContext context, String documentId) AbstractXMLFunction.getCachedDocument
(PreprocessorContext context, String documentId) AbstractXMLFunction.getCachedElement
(PreprocessorContext context, String elementId) AbstractXMLFunction.getCachedElement
(PreprocessorContext context, String elementId) AbstractXMLFunction.getCachedElementList
(PreprocessorContext context, String elementListId) AbstractXMLFunction.getCachedElementList
(PreprocessorContext context, String elementListId) int
AbstractXMLFunction.getElementListSize
(PreprocessorContext context, String elementListId) int
AbstractXMLFunction.getElementListSize
(PreprocessorContext context, String elementListId) static String
AbstractXMLFunction.getFirstLevelTextContent
(Node node) static String
AbstractXMLFunction.makeDocumentId
(String fileName) static String
AbstractXMLFunction.makeDocumentRootId
(String documentId) static String
AbstractXMLFunction.makeElementId
(String elementListId, int elementIndex) static String
AbstractXMLFunction.makeElementId
(String elementListId, int elementIndex) static String
AbstractXMLFunction.makeElementListId
(Element parentName, String elementName) static String
AbstractXMLFunction.makeElementListId
(Element parentName, String elementName) static String
AbstractXMLFunction.makeXPathElementId
(String documentId, String xpath) static String
AbstractXMLFunction.makeXPathElementId
(String documentId, String xpath) static String
AbstractXMLFunction.makeXPathListId
(String documentId, String xpath) static String
AbstractXMLFunction.makeXPathListId
(String documentId, String xpath) private Document
FunctionXML_OPEN.openFileAndParse
(PreprocessorContext context, File file) private Document
FunctionXML_OPEN.openFileAndParse
(PreprocessorContext context, File file) private XPathExpression
FunctionXML_XELEMENT.prepareXPathExpression
(String path) private XPathExpression
FunctionXML_XLIST.prepareXPathExpression
(String path) Constructor parameters in com.igormaznitsa.jcp.expression.functions.xml with annotations of type NonnullModifierConstructorDescriptionNodeContainer
(long id, Node node) NodeContainer
(long id, NodeList list) -
Uses of Nonnull in com.igormaznitsa.jcp.expression.operators
Methods in com.igormaznitsa.jcp.expression.operators with annotations of type NonnullModifier and TypeMethodDescriptionOperatorADD.executeAnyStr
(Value arg1, Value arg2) OperatorNOT.executeBool
(Value arg1) OperatorAND.executeBoolBool
(Value arg1, Value arg2) OperatorEQU.executeBoolBool
(Value arg1, Value arg2) OperatorNOTEQU.executeBoolBool
(Value arg1, Value arg2) OperatorOR.executeBoolBool
(Value arg1, Value arg2) OperatorXOR.executeBoolBool
(Value arg1, Value arg2) OperatorADD.executeFloatFloat
(Value arg1, Value arg2) OperatorDIV.executeFloatFloat
(Value arg1, Value arg2) OperatorEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorGREAT.executeFloatFloat
(Value arg1, Value arg2) OperatorGREATEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorLESS.executeFloatFloat
(Value arg1, Value arg2) OperatorLESSEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorMOD.executeFloatFloat
(Value arg1, Value arg2) OperatorMUL.executeFloatFloat
(Value arg1, Value arg2) OperatorNOTEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorSUB.executeFloatFloat
(Value arg1, Value arg2) OperatorADD.executeFloatInt
(Value arg1, Value arg2) OperatorDIV.executeFloatInt
(Value arg1, Value arg2) OperatorEQU.executeFloatInt
(Value arg1, Value arg2) OperatorGREAT.executeFloatInt
(Value arg1, Value arg2) OperatorGREATEQU.executeFloatInt
(Value arg1, Value arg2) OperatorLESS.executeFloatInt
(Value arg1, Value arg2) OperatorLESSEQU.executeFloatInt
(Value arg1, Value arg2) OperatorMOD.executeFloatInt
(Value arg1, Value arg2) OperatorMUL.executeFloatInt
(Value arg1, Value arg2) OperatorNOTEQU.executeFloatInt
(Value arg1, Value arg2) OperatorSUB.executeFloatInt
(Value arg1, Value arg2) OperatorNOT.executeInt
(Value arg1) OperatorADD.executeIntFloat
(Value arg1, Value arg2) OperatorDIV.executeIntFloat
(Value arg1, Value arg2) OperatorEQU.executeIntFloat
(Value arg1, Value arg2) OperatorGREAT.executeIntFloat
(Value arg1, Value arg2) OperatorGREATEQU.executeIntFloat
(Value arg1, Value arg2) OperatorLESS.executeIntFloat
(Value arg1, Value arg2) OperatorLESSEQU.executeIntFloat
(Value arg1, Value arg2) OperatorMOD.executeIntFloat
(Value arg1, Value arg2) OperatorMUL.executeIntFloat
(Value arg1, Value arg2) OperatorNOTEQU.executeIntFloat
(Value arg1, Value arg2) OperatorSUB.executeIntFloat
(Value arg1, Value arg2) OperatorADD.executeIntInt
(Value arg1, Value arg2) OperatorAND.executeIntInt
(Value arg1, Value arg2) OperatorDIV.executeIntInt
(Value arg1, Value arg2) OperatorEQU.executeIntInt
(Value arg1, Value arg2) OperatorGREAT.executeIntInt
(Value arg1, Value arg2) OperatorGREATEQU.executeIntInt
(Value arg1, Value arg2) OperatorLESS.executeIntInt
(Value arg1, Value arg2) OperatorLESSEQU.executeIntInt
(Value arg1, Value arg2) OperatorMOD.executeIntInt
(Value arg1, Value arg2) OperatorMUL.executeIntInt
(Value arg1, Value arg2) OperatorNOTEQU.executeIntInt
(Value arg1, Value arg2) OperatorOR.executeIntInt
(Value arg1, Value arg2) OperatorSUB.executeIntInt
(Value arg1, Value arg2) OperatorXOR.executeIntInt
(Value arg1, Value arg2) OperatorADD.executeStrAny
(Value arg1, Value arg2) OperatorEQU.executeStrStr
(Value arg1, Value arg2) OperatorGREAT.executeStrStr
(Value arg1, Value arg2) OperatorGREATEQU.executeStrStr
(Value arg1, Value arg2) OperatorLESS.executeStrStr
(Value arg1, Value arg2) OperatorLESSEQU.executeStrStr
(Value arg1, Value arg2) OperatorNOTEQU.executeStrStr
(Value arg1, Value arg2) OperatorADD.getExpressionItemPriority()
OperatorAND.getExpressionItemPriority()
OperatorDIV.getExpressionItemPriority()
OperatorEQU.getExpressionItemPriority()
OperatorGREAT.getExpressionItemPriority()
OperatorGREATEQU.getExpressionItemPriority()
OperatorLESS.getExpressionItemPriority()
OperatorLESSEQU.getExpressionItemPriority()
OperatorMOD.getExpressionItemPriority()
OperatorMUL.getExpressionItemPriority()
OperatorNOT.getExpressionItemPriority()
OperatorNOTEQU.getExpressionItemPriority()
OperatorOR.getExpressionItemPriority()
OperatorSUB.getExpressionItemPriority()
OperatorXOR.getExpressionItemPriority()
AbstractOperator.getExpressionItemType()
Get the expression item typeabstract String
AbstractOperator.getKeyword()
Get the operator keywordOperatorADD.getKeyword()
OperatorAND.getKeyword()
OperatorDIV.getKeyword()
OperatorEQU.getKeyword()
OperatorGREAT.getKeyword()
OperatorGREATEQU.getKeyword()
OperatorLESS.getKeyword()
OperatorLESSEQU.getKeyword()
OperatorMOD.getKeyword()
OperatorMUL.getKeyword()
OperatorNOT.getKeyword()
OperatorNOTEQU.getKeyword()
OperatorOR.getKeyword()
OperatorSUB.getKeyword()
OperatorXOR.getKeyword()
abstract String
AbstractOperator.getReference()
Get the operator reference to be shown for a help information requestOperatorADD.getReference()
OperatorAND.getReference()
OperatorDIV.getReference()
OperatorEQU.getReference()
OperatorGREAT.getReference()
OperatorGREATEQU.getReference()
OperatorLESS.getReference()
OperatorLESSEQU.getReference()
OperatorMOD.getReference()
OperatorMUL.getReference()
OperatorNOT.getReference()
OperatorNOTEQU.getReference()
OperatorOR.getReference()
OperatorSUB.getReference()
OperatorXOR.getReference()
AbstractOperator.toString()
Method parameters in com.igormaznitsa.jcp.expression.operators with annotations of type NonnullModifier and TypeMethodDescriptionOperatorADD.executeAnyStr
(Value arg1, Value arg2) OperatorADD.executeAnyStr
(Value arg1, Value arg2) OperatorNOT.executeBool
(Value arg1) OperatorAND.executeBoolBool
(Value arg1, Value arg2) OperatorAND.executeBoolBool
(Value arg1, Value arg2) OperatorEQU.executeBoolBool
(Value arg1, Value arg2) OperatorEQU.executeBoolBool
(Value arg1, Value arg2) OperatorNOTEQU.executeBoolBool
(Value arg1, Value arg2) OperatorNOTEQU.executeBoolBool
(Value arg1, Value arg2) OperatorOR.executeBoolBool
(Value arg1, Value arg2) OperatorOR.executeBoolBool
(Value arg1, Value arg2) OperatorXOR.executeBoolBool
(Value arg1, Value arg2) OperatorXOR.executeBoolBool
(Value arg1, Value arg2) OperatorADD.executeFloatFloat
(Value arg1, Value arg2) OperatorADD.executeFloatFloat
(Value arg1, Value arg2) OperatorDIV.executeFloatFloat
(Value arg1, Value arg2) OperatorDIV.executeFloatFloat
(Value arg1, Value arg2) OperatorEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorGREAT.executeFloatFloat
(Value arg1, Value arg2) OperatorGREAT.executeFloatFloat
(Value arg1, Value arg2) OperatorGREATEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorGREATEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorLESS.executeFloatFloat
(Value arg1, Value arg2) OperatorLESS.executeFloatFloat
(Value arg1, Value arg2) OperatorLESSEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorLESSEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorMOD.executeFloatFloat
(Value arg1, Value arg2) OperatorMOD.executeFloatFloat
(Value arg1, Value arg2) OperatorMUL.executeFloatFloat
(Value arg1, Value arg2) OperatorMUL.executeFloatFloat
(Value arg1, Value arg2) OperatorNOTEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorNOTEQU.executeFloatFloat
(Value arg1, Value arg2) OperatorSUB.executeFloatFloat
(Value arg1, Value arg2) OperatorSUB.executeFloatFloat
(Value arg1, Value arg2) OperatorADD.executeFloatInt
(Value arg1, Value arg2) OperatorADD.executeFloatInt
(Value arg1, Value arg2) OperatorDIV.executeFloatInt
(Value arg1, Value arg2) OperatorDIV.executeFloatInt
(Value arg1, Value arg2) OperatorEQU.executeFloatInt
(Value arg1, Value arg2) OperatorEQU.executeFloatInt
(Value arg1, Value arg2) OperatorGREAT.executeFloatInt
(Value arg1, Value arg2) OperatorGREAT.executeFloatInt
(Value arg1, Value arg2) OperatorGREATEQU.executeFloatInt
(Value arg1, Value arg2) OperatorGREATEQU.executeFloatInt
(Value arg1, Value arg2) OperatorLESS.executeFloatInt
(Value arg1, Value arg2) OperatorLESS.executeFloatInt
(Value arg1, Value arg2) OperatorLESSEQU.executeFloatInt
(Value arg1, Value arg2) OperatorLESSEQU.executeFloatInt
(Value arg1, Value arg2) OperatorMOD.executeFloatInt
(Value arg1, Value arg2) OperatorMOD.executeFloatInt
(Value arg1, Value arg2) OperatorMUL.executeFloatInt
(Value arg1, Value arg2) OperatorMUL.executeFloatInt
(Value arg1, Value arg2) OperatorNOTEQU.executeFloatInt
(Value arg1, Value arg2) OperatorNOTEQU.executeFloatInt
(Value arg1, Value arg2) OperatorSUB.executeFloatInt
(Value arg1, Value arg2) OperatorSUB.executeFloatInt
(Value arg1, Value arg2) OperatorNOT.executeInt
(Value arg1) OperatorADD.executeIntFloat
(Value arg1, Value arg2) OperatorADD.executeIntFloat
(Value arg1, Value arg2) OperatorDIV.executeIntFloat
(Value arg1, Value arg2) OperatorDIV.executeIntFloat
(Value arg1, Value arg2) OperatorEQU.executeIntFloat
(Value arg1, Value arg2) OperatorEQU.executeIntFloat
(Value arg1, Value arg2) OperatorGREAT.executeIntFloat
(Value arg1, Value arg2) OperatorGREAT.executeIntFloat
(Value arg1, Value arg2) OperatorGREATEQU.executeIntFloat
(Value arg1, Value arg2) OperatorGREATEQU.executeIntFloat
(Value arg1, Value arg2) OperatorLESS.executeIntFloat
(Value arg1, Value arg2) OperatorLESS.executeIntFloat
(Value arg1, Value arg2) OperatorLESSEQU.executeIntFloat
(Value arg1, Value arg2) OperatorLESSEQU.executeIntFloat
(Value arg1, Value arg2) OperatorMOD.executeIntFloat
(Value arg1, Value arg2) OperatorMOD.executeIntFloat
(Value arg1, Value arg2) OperatorMUL.executeIntFloat
(Value arg1, Value arg2) OperatorMUL.executeIntFloat
(Value arg1, Value arg2) OperatorNOTEQU.executeIntFloat
(Value arg1, Value arg2) OperatorNOTEQU.executeIntFloat
(Value arg1, Value arg2) OperatorSUB.executeIntFloat
(Value arg1, Value arg2) OperatorSUB.executeIntFloat
(Value arg1, Value arg2) OperatorADD.executeIntInt
(Value arg1, Value arg2) OperatorADD.executeIntInt
(Value arg1, Value arg2) OperatorAND.executeIntInt
(Value arg1, Value arg2) OperatorAND.executeIntInt
(Value arg1, Value arg2) OperatorDIV.executeIntInt
(Value arg1, Value arg2) OperatorDIV.executeIntInt
(Value arg1, Value arg2) OperatorEQU.executeIntInt
(Value arg1, Value arg2) OperatorEQU.executeIntInt
(Value arg1, Value arg2) OperatorGREAT.executeIntInt
(Value arg1, Value arg2) OperatorGREAT.executeIntInt
(Value arg1, Value arg2) OperatorGREATEQU.executeIntInt
(Value arg1, Value arg2) OperatorGREATEQU.executeIntInt
(Value arg1, Value arg2) OperatorLESS.executeIntInt
(Value arg1, Value arg2) OperatorLESS.executeIntInt
(Value arg1, Value arg2) OperatorLESSEQU.executeIntInt
(Value arg1, Value arg2) OperatorLESSEQU.executeIntInt
(Value arg1, Value arg2) OperatorMOD.executeIntInt
(Value arg1, Value arg2) OperatorMOD.executeIntInt
(Value arg1, Value arg2) OperatorMUL.executeIntInt
(Value arg1, Value arg2) OperatorMUL.executeIntInt
(Value arg1, Value arg2) OperatorNOTEQU.executeIntInt
(Value arg1, Value arg2) OperatorNOTEQU.executeIntInt
(Value arg1, Value arg2) OperatorOR.executeIntInt
(Value arg1, Value arg2) OperatorOR.executeIntInt
(Value arg1, Value arg2) OperatorSUB.executeIntInt
(Value arg1, Value arg2) OperatorSUB.executeIntInt
(Value arg1, Value arg2) OperatorXOR.executeIntInt
(Value arg1, Value arg2) OperatorXOR.executeIntInt
(Value arg1, Value arg2) OperatorADD.executeStrAny
(Value arg1, Value arg2) OperatorADD.executeStrAny
(Value arg1, Value arg2) OperatorEQU.executeStrStr
(Value arg1, Value arg2) OperatorEQU.executeStrStr
(Value arg1, Value arg2) OperatorGREAT.executeStrStr
(Value arg1, Value arg2) OperatorGREAT.executeStrStr
(Value arg1, Value arg2) OperatorGREATEQU.executeStrStr
(Value arg1, Value arg2) OperatorGREATEQU.executeStrStr
(Value arg1, Value arg2) OperatorLESS.executeStrStr
(Value arg1, Value arg2) OperatorLESS.executeStrStr
(Value arg1, Value arg2) OperatorLESSEQU.executeStrStr
(Value arg1, Value arg2) OperatorLESSEQU.executeStrStr
(Value arg1, Value arg2) OperatorNOTEQU.executeStrStr
(Value arg1, Value arg2) OperatorNOTEQU.executeStrStr
(Value arg1, Value arg2) static <E extends AbstractOperator>
EAbstractOperator.findForClass
(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 NonnullModifier and TypeMethodDescriptionPreprocessorExtension.processUserFunction
(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 NonnullModifier and TypeMethodDescriptionint
PreprocessorExtension.getUserFunctionArity
(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)PreprocessorExtension.processUserFunction
(String functionName, Value[] arguments) Call to process a user function (the function starts with $)PreprocessorExtension.processUserFunction
(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 NonnullModifier and TypeMethodDescriptionFile[]
PreprocessorMojo.getCfgFiles()
PreprocessorMojo.getDestination()
String[]
PreprocessorMojo.getExcludedFolders()
PreprocessorMojo.getGlobalVars()
PreprocessorMojo.getInEncoding()
PreprocessorMojo.getOutEncoding()
(package private) static String
MavenPropertiesImporter.getProperty
(org.apache.maven.project.MavenProject project, String name) PreprocessorMojo.getSource()
PreprocessorMojo.getTestDestination()
String[]
MavenPropertiesImporter.getVariableNames()
(package private) PreprocessorContext
PreprocessorMojo.makePreprocessorContext
(String sourceFoldersInPreprocessorFormat) (package private) static String
MavenPropertiesImporter.normalizeGetter
(String str) Method parameters in com.igormaznitsa.jcp.maven with annotations of type NonnullModifier and TypeMethodDescriptionprivate void
MavenPropertiesImporter.addVariableIntoInsideMap
(PreprocessorContext context, String name, Value value, boolean verbose) private void
MavenPropertiesImporter.addVariableIntoInsideMap
(PreprocessorContext context, String name, Value value, boolean verbose) private void
MavenPropertiesImporter.addVariableIntoInsideMap
(PreprocessorContext context, String name, Value value, boolean verbose) void
void
(package private) static String
MavenPropertiesImporter.getProperty
(org.apache.maven.project.MavenProject project, String name) (package private) static String
MavenPropertiesImporter.getProperty
(org.apache.maven.project.MavenProject project, String name) MavenPropertiesImporter.getVariable
(String varName, PreprocessorContext context) MavenPropertiesImporter.getVariable
(String varName, PreprocessorContext context) void
(package private) PreprocessorContext
PreprocessorMojo.makePreprocessorContext
(String sourceFoldersInPreprocessorFormat) (package private) static String
MavenPropertiesImporter.normalizeGetter
(String str) private void
MavenPropertiesImporter.printInfoAboutVarIntoLog
(PreprocessorContext context, String varName, String value) private void
MavenPropertiesImporter.printInfoAboutVarIntoLog
(PreprocessorContext context, String varName, String value) private void
MavenPropertiesImporter.printInfoAboutVarIntoLog
(PreprocessorContext context, String varName, String value) private void
PreprocessorClearMojo.processFileSet
(List<org.apache.maven.shared.model.fileset.FileSet> fileSets, org.slf4j.Logger log) private void
PreprocessorClearMojo.processFileSet
(List<org.apache.maven.shared.model.fileset.FileSet> fileSets, org.slf4j.Logger log) private void
PreprocessorClearMojo.processPredefinedFolders
(org.slf4j.Logger log) private void
PreprocessorMojo.replaceSourceRootByPreprocessingDestinationFolder
(PreprocessorContext context) void
PreprocessorMojo.setCfgFiles
(File[] files) void
PreprocessorMojo.setDestination
(File destination) void
PreprocessorMojo.setExcludedFolders
(String... antPatterns) void
PreprocessorMojo.setGlobalVars
(Properties vars) void
PreprocessorMojo.setInEncoding
(String value) void
PreprocessorMojo.setOutEncoding
(String value) void
void
PreprocessorMojo.setTestDestination
(File destination) void
MavenPropertiesImporter.setVariable
(String varName, Value value, PreprocessorContext context) void
MavenPropertiesImporter.setVariable
(String varName, Value value, PreprocessorContext context) void
MavenPropertiesImporter.setVariable
(String varName, Value value, PreprocessorContext context) void
Constructor parameters in com.igormaznitsa.jcp.maven with annotations of type NonnullModifierConstructorDescriptionMavenPropertiesImporter
(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 NonnullConstructor parameters in com.igormaznitsa.jcp.removers with annotations of type NonnullModifierConstructorDescriptionJavaCommentsRemover
(Reader src, Writer dst) JavaCommentsRemover
(Reader src, Writer dst) -
Uses of Nonnull in com.igormaznitsa.jcp.utils
Methods in com.igormaznitsa.jcp.utils with annotations of type NonnullModifier and TypeMethodDescriptionstatic String
PreprocessorUtils.extractTail
(String prefix, String value) static String
PreprocessorUtils.extractTrimmedTail
(String prefix, String value) static String
PreprocessorUtils.generateStringForChar
(char chr, int length) static String
PreprocessorUtils.getFilePath
(File file) static String
PreprocessorUtils.getNextLineCodes()
static String
static BufferedReader
PreprocessorUtils.makeFileReader
(File file, String charset, int bufferSize) static String
PreprocessorUtils.processMacroses
(String processingString, PreprocessorContext context) static byte[]
PreprocessorUtils.readFileAsByteArray
(File file) static String[]
PreprocessorUtils.readWholeTextFileIntoArray
(File file, String encoding, AtomicBoolean endedByNextLine) static String[]
PreprocessorUtils.replaceChar
(String[] source, char toBeReplaced, char replacement) static String
PreprocessorUtils.replacePartByChar
(String text, char chr, int startPosition, int length) static String[]
PreprocessorUtils.replaceStringPrefix
(String[] allowedPrefixesToBeReplaced, String replacement, String[] strings) static String[]
PreprocessorUtils.splitExtensionCommaList
(String extensions) static String[]
PreprocessorUtils.splitForChar
(String string, char delimiter) static String[]
PreprocessorUtils.splitForCharAndHoldEmptyLine
(String string, char delimiter) static String[]
PreprocessorUtils.splitForEqualChar
(String string) Method parameters in com.igormaznitsa.jcp.utils with annotations of type NonnullModifier and TypeMethodDescriptionprivate static void
static void
static void
static void
PreprocessorUtils.copyFileAttributes
(File from, File to) static void
PreprocessorUtils.copyFileAttributes
(File from, File to) static String
PreprocessorUtils.extractTail
(String prefix, String value) static String
PreprocessorUtils.extractTail
(String prefix, String value) static String
PreprocessorUtils.extractTrimmedTail
(String prefix, String value) static String
PreprocessorUtils.extractTrimmedTail
(String prefix, String value) static String
static BufferedReader
PreprocessorUtils.makeFileReader
(File file, String charset, int bufferSize) static BufferedReader
PreprocessorUtils.makeFileReader
(File file, String charset, int bufferSize) void
void
static String
PreprocessorUtils.processMacroses
(String processingString, PreprocessorContext context) static String
PreprocessorUtils.processMacroses
(String processingString, PreprocessorContext context) static byte[]
PreprocessorUtils.readFileAsByteArray
(File file) static String[]
PreprocessorUtils.readWholeTextFileIntoArray
(File file, String encoding, AtomicBoolean endedByNextLine) static String[]
PreprocessorUtils.replaceChar
(String[] source, char toBeReplaced, char replacement) static String
PreprocessorUtils.replacePartByChar
(String text, char chr, int startPosition, int length) static String[]
PreprocessorUtils.replaceStringPrefix
(String[] allowedPrefixesToBeReplaced, String replacement, String[] strings) static String[]
PreprocessorUtils.replaceStringPrefix
(String[] allowedPrefixesToBeReplaced, String replacement, String[] strings) static String[]
PreprocessorUtils.replaceStringPrefix
(String[] allowedPrefixesToBeReplaced, String replacement, String[] strings) static String[]
PreprocessorUtils.splitExtensionCommaList
(String extensions) static String[]
PreprocessorUtils.splitForChar
(String string, char delimiter) static String[]
PreprocessorUtils.splitForCharAndHoldEmptyLine
(String string, char delimiter) static String[]
PreprocessorUtils.splitForEqualChar
(String string) static void
PreprocessorUtils.throwPreprocessorException
(String msg, String processingString, File srcFile, int nextStringIndex, Throwable cause) void
ResetablePrinter.writeBufferTo
(Writer writer) -
Uses of Nonnull in com.igormaznitsa.meta
Methods in com.igormaznitsa.meta with annotations of type NonnullConstructor parameters in com.igormaznitsa.meta with annotations of type Nonnull -
Uses of Nonnull in com.igormaznitsa.meta.common.exceptions
Methods in com.igormaznitsa.meta.common.exceptions with annotations of type NonnullModifier and TypeMethodDescriptionTimeViolationError.getData()
Get the data container which was created during time watcher registration.Method parameters in com.igormaznitsa.meta.common.exceptions with annotations of type NonnullModifier and TypeMethodDescriptionstatic void
MetaErrorListeners.addErrorListener
(MetaErrorListener value) Add new fireError listener for global fireError events.static void
Send notifications to all listeners.static void
Send notifications to all listeners.void
MetaErrorListener.onDetectedError
(String text, 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 NonnullModifierConstructorDescriptionTimeViolationError
(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 NonnullModifier and TypeMethodDescriptionfinal 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 NonnullModifier and TypeMethodDescriptionstatic <T extends 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
(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 String
GetUtils.ensureNonNullAndNonEmpty
(String value, String dflt) Get non-null non-empty string.static String
GetUtils.ensureNonNullStr
(String value) Ensure that a string will not be null.static Error
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.TimeData.getAlertListener()
Get alert listener if providedCallTrace.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 String
Remove all white space chars and ISO control chars.CallTrace.restoreStackTrace()
Restore stack trace as a string from inside data representation.static StackTraceElement
ThreadUtils.stackElement()
Get the stack element of the method caller.static String
Trim left white spaces in string.static String
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 NonnullModifier and TypeMethodDescriptionstatic void
TimeGuard.addPoint
(String timePointName, TimeGuard.TimeAlertListener listener) Add a named time point.static void
TimeGuard.addPoint
(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 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
(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 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 String
GetUtils.ensureNonNullAndNonEmpty
(String value, 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 String
Remove all white space chars and ISO control chars.static String
Trim left white spaces in string.static String
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 NonnullModifierConstructorDescriptionThe Constructor allows to create call trace history with defined end-of-line symbol and since needed stack item position.TimeData
(int stackDepth, String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener violationListener) The Constructor