Uses of Annotation Type
javax.annotation.Nullable
Packages that use Nullable
Package
Description
-
Uses of Nullable in com.igormaznitsa.jcp
Method parameters in com.igormaznitsa.jcp with annotations of type NullableModifier and TypeMethodDescriptionprivate static PreprocessorContext
JCPreprocessor.processCommandString
(PreprocessorContext context, String[] originalStrings, String[] normalizedStrings) -
Uses of Nullable in com.igormaznitsa.jcp.ant
Methods in com.igormaznitsa.jcp.ant with annotations of type NullableModifier and TypeMethodDescriptionPreprocessTask.CfgFile.getFile()
PreprocessTask.Global.getName()
PreprocessTask.Global.getValue()
Method parameters in com.igormaznitsa.jcp.ant with annotations of type Nullable -
Uses of Nullable in com.igormaznitsa.jcp.containers
Methods in com.igormaznitsa.jcp.containers with annotations of type NullableMethod parameters in com.igormaznitsa.jcp.containers with annotations of type NullableModifier and TypeMethodDescriptionboolean
FileInfoContainer.preprocessFile
(PreprocessingState state, PreprocessorContext context) Preprocess file, NB! it doesn't clear local variables automatically for cloned contextsFileInfoContainer.processGlobalDirectives
(PreprocessingState state, PreprocessorContext context) -
Uses of Nullable in com.igormaznitsa.jcp.context
Methods in com.igormaznitsa.jcp.context with annotations of type NullableModifier and TypeMethodDescriptionPreprocessorContext.findVariableForName
(String name, boolean enforceUnknownVarAsNull) Find value among local and global variables for a name.PreprocessingState.getLastReadString()
PreprocessorContext.getLocalVariable
(String name) Get a local variable valuePreprocessorContext.getPreprocessorExtension()
Get the current preprocessor extensionPreprocessingState.getPrinter()
PreprocessorContext.getSharedResource
(String name) Get a shared source from inside mapEnvironmentVariableProcessor.getVariable
(String varName, PreprocessorContext context) JCPSpecialVariableProcessor.getVariable
(String varName, PreprocessorContext context) PreprocessingState.nextLine()
PreprocessingState.peekFile()
PreprocessingState.peekIf()
PreprocessingState.peekWhile()
PreprocessorContext.removeSharedResource
(String name) Remove a shared object from the inside map for its nameMethod parameters in com.igormaznitsa.jcp.context with annotations of type NullableModifier and TypeMethodDescriptionboolean
PreprocessorContext.containsGlobalVariable
(String name) Check that there is a named global variable in the inside storageboolean
PreprocessorContext.containsLocalVariable
(String name) Check that a local variable for a name is presentedPreprocessorContext.findVariableForName
(String name, boolean enforceUnknownVarAsNull) Find value among local and global variables for a name.PreprocessorContext.getLocalVariable
(String name) Get a local variable valueSpecialVariableProcessor.getVariable
(String varName, PreprocessorContext context) Get the value for the variablefinal boolean
PreprocessorContext.isFileAllowedToBeProcessed
(File file) Check that a file is allowed to be preprocessed fo its extensionfinal boolean
PreprocessorContext.isFileExcludedFromProcess
(File file) Check that a file is excluded from preprocessing and coping actionsboolean
PreprocessorContext.isGlobalVariable
(String variableName) Check that there is a global variable with such name.boolean
PreprocessorContext.isLocalVariable
(String variableName) Check that there is a local variable with such name.void
Print some debug info into the current logvoid
Print an information about an error into the current logvoid
Print an information into the current logvoid
PreprocessorContext.logWarning
(String text) Print an information about a warning situation into the current logPreprocessingState.makeException
(String message, String causeString, Throwable cause) PreprocessingState.makeException
(String message, String causeString, Throwable cause) 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 exceptionprivate static String
PreprocessorContext.makeStackView
(TextFileDataContainer cloneSource, boolean cloned, List<TextFileDataContainer> list) private static String
PreprocessorContext.makeStackView
(TextFileDataContainer cloneSource, boolean cloned, List<TextFileDataContainer> list) PreprocessorContext.setPreprocessorExtension
(PreprocessorExtension extension) Set a preprocessor extension, it is a module implements the PreprocessorExtension interface which can process and get some calls from a preprocessor during its workvoid
PreprocessorContext.setPreprocessorLogger
(PreprocessorLogger logger) Set the logger to print information and error messagesvoid
SpecialVariableProcessor.setVariable
(String varName, Value value, PreprocessorContext context) Set a value to the variable -
Uses of Nullable in com.igormaznitsa.jcp.exceptions
Methods in com.igormaznitsa.jcp.exceptions with annotations of type NullableModifier and TypeMethodDescriptionprivate String
PreprocessorException.convertIncludeStackToString()
static PreprocessorException
PreprocessorException.extractPreprocessorException
(Throwable thr) PreprocessorException.getProcessingFile()
PreprocessorException.getProcessingString()
PreprocessorException.getRootFile()
Method parameters in com.igormaznitsa.jcp.exceptions with annotations of type NullableModifier and TypeMethodDescriptionstatic PreprocessorException
PreprocessorException.extractPreprocessorException
(Throwable thr) private static String
PreprocessorException.makeStackView
(FilePositionInfo[] list, char fill) static String
PreprocessorException.referenceAsString
(char fillChar, Throwable thr) Constructor parameters in com.igormaznitsa.jcp.exceptions with annotations of type NullableModifierConstructorDescriptionPreprocessorException
(String message, String processedText, FilePositionInfo[] includeStack, Throwable cause) PreprocessorException
(String message, String processedText, FilePositionInfo[] includeStack, Throwable cause) PreprocessorException
(String message, String processedText, FilePositionInfo[] includeStack, Throwable cause) PreprocessorException
(String message, String processedText, FilePositionInfo[] includeStack, Throwable cause) -
Uses of Nullable in com.igormaznitsa.jcp.expression
Methods in com.igormaznitsa.jcp.expression with annotations of type NullableModifier and TypeMethodDescriptionExpressionTreeElement.addTreeElement
(ExpressionTreeElement element) Add tree element with sorting operation depends on priority of the elementsExpressionParser.SpecialItem.getExpressionItemPriority()
ExpressionParser.SpecialItem.getExpressionItemType()
ExpressionTreeElement.getParent()
Get the parent for the elementstatic Object
(package private) ExpressionItem
ExpressionParser.nextItem
(PushbackReader reader, PreprocessorContext context) Read the next item from the readerExpressionParser.readExpression
(PushbackReader reader, ExpressionTree tree, PreprocessorContext context, boolean insideBracket, boolean argument) It reads an expression from a reader and fill 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 argumentMethod parameters in com.igormaznitsa.jcp.expression with annotations of type NullableModifier and TypeMethodDescriptionboolean
private 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 argumentConstructor parameters in com.igormaznitsa.jcp.expression with annotations of type NullableModifierConstructorDescriptionExpressionTree
(FilePositionInfo[] callStack, String sources) ExpressionTree
(FilePositionInfo[] callStack, String sources) (package private)
ExpressionTreeElement
(ExpressionItem item, FilePositionInfo[] callStack, String sourceString) The constructorprivate
-
Uses of Nullable in com.igormaznitsa.jcp.expression.functions
Methods in com.igormaznitsa.jcp.expression.functions with annotations of type NullableModifier and TypeMethodDescriptionstatic FunctionBINFILE.Type
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 nameAbstractFunction.toString()
Method parameters in com.igormaznitsa.jcp.expression.functions with annotations of type Nullable -
Uses of Nullable in com.igormaznitsa.jcp.expression.functions.xml
Methods in com.igormaznitsa.jcp.expression.functions.xml with annotations of type NullableModifier and TypeMethodDescriptionAbstractXMLFunction.findCachedElement
(PreprocessorContext context, String elementId) AbstractXMLFunction.findCachedElementList
(PreprocessorContext context, String elementListId) -
Uses of Nullable in com.igormaznitsa.jcp.expression.operators
Methods in com.igormaznitsa.jcp.expression.operators with annotations of type NullableModifier and TypeMethodDescriptionstatic <E extends AbstractOperator>
EAbstractOperator.findForClass
(Class<E> operatorClass) Find an operator handler for its class -
Uses of Nullable in com.igormaznitsa.jcp.logger
Method parameters in com.igormaznitsa.jcp.logger with annotations of type NullableModifier and TypeMethodDescriptionvoid
Log a debug messagevoid
boolean
void
Log an error messagevoid
void
Log an information messagevoid
void
Log a warning messagevoid
-
Uses of Nullable in com.igormaznitsa.jcp.maven
Methods in com.igormaznitsa.jcp.maven with annotations of type NullableModifier and TypeMethodDescriptionPreprocessorMojo.getExcluded()
PreprocessorMojo.getProcessing()
MavenPropertiesImporter.getVariable
(String varName, PreprocessorContext context) private String
PreprocessorMojo.makeSourceRootList()
Method parameters in com.igormaznitsa.jcp.maven with annotations of type NullableModifier and TypeMethodDescriptionvoid
PreprocessorMojo.setExcluded
(String excluded) void
PreprocessorMojo.setProcessing
(String processing) -
Uses of Nullable in com.igormaznitsa.jcp.utils
Methods in com.igormaznitsa.jcp.utils with annotations of type NullableModifier and TypeMethodDescriptionstatic String
PreprocessorUtils.getFileExtension
(File file) static String
PreprocessorUtils.normalizeVariableName
(String name) Method parameters in com.igormaznitsa.jcp.utils with annotations of type NullableModifier and TypeMethodDescriptionstatic String
PreprocessorUtils.getFileExtension
(File file) static String
PreprocessorUtils.getFilePath
(File file) static boolean
PreprocessorUtils.isFileContentEquals
(File src, File dst) static boolean
PreprocessorUtils.isFileContentEquals
(File src, File dst) static String
PreprocessorUtils.normalizeVariableName
(String name) static String[]
PreprocessorUtils.readWholeTextFileIntoArray
(File file, String encoding, AtomicBoolean endedByNextLine) static String[]
PreprocessorUtils.readWholeTextFileIntoArray
(File file, String encoding, AtomicBoolean endedByNextLine) static void
PreprocessorUtils.throwPreprocessorException
(String msg, String processingString, File srcFile, int nextStringIndex, Throwable cause) static void
PreprocessorUtils.throwPreprocessorException
(String msg, String processingString, File srcFile, int nextStringIndex, Throwable cause) static void
PreprocessorUtils.throwPreprocessorException
(String msg, String processingString, File srcFile, int nextStringIndex, Throwable cause) -
Uses of Nullable in com.igormaznitsa.meta.common.exceptions
Method parameters in com.igormaznitsa.meta.common.exceptions with annotations of type NullableModifier and TypeMethodDescriptionvoid
MetaErrorListener.onDetectedError
(String text, Throwable error) The Method will be called if detected some error.Constructor parameters in com.igormaznitsa.meta.common.exceptions with annotations of type NullableModifierConstructorDescriptionAlreadyDisposedError
(String message) Constructor with provided message.UnexpectedProcessingError
(String message, Throwable cause) Constructor for description and cause.UnexpectedProcessingError
(String message, Throwable cause) Constructor for description and cause. -
Uses of Nullable in com.igormaznitsa.meta.common.utils
Methods in com.igormaznitsa.meta.common.utils with annotations of type NullableModifier and TypeMethodDescriptionstatic <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> T
Assertions.assertIsValid
(T obj, Validator<T> validator) Check an object by a validator.static <T> T
Assertions.assertNull
(T object) Assert that value is nullstatic Closeable
IOUtils.closeQuetly
(Closeable closeable) Closing quetly any closeable object.TimeGuard.TimeData.getAlertMessage()
Get the alert message.Method parameters in com.igormaznitsa.meta.common.utils with annotations of type NullableModifier and TypeMethodDescriptionstatic void
Add a time watcher.static void
TimeGuard.addGuard
(String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener timeAlertListener) Add a time watcher and provide processor of time violation.static void
TimeGuard.addGuard
(String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener timeAlertListener) Add a time watcher and provide processor of time violation.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> T
Assertions.assertEquals
(T etalon, T value) Assert that value is equal to some etalon value.static <T> T
Assertions.assertEquals
(T etalon, T value) Assert that value is equal to some etalon value.static void
Assertions.assertFalse
(String message, boolean condition) Assert condition flag is FALSE.static <T> T
Assertions.assertIsValid
(T obj, Validator<T> validator) Check an object by a validator.static <T> T
Assertions.assertNotNull
(String failMessage, T object) Assert that value is not nullstatic <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
Assertions.assertNull
(String failMessage, T object) Assert that value is nullstatic <T> T
Assertions.assertNull
(String failMessage, T object) Assert that value is nullstatic <T> T
Assertions.assertNull
(T object) Assert that value is nullstatic void
Assertions.assertTrue
(String message, boolean condition) Assert condition flag is TRUE.static Closeable
IOUtils.closeQuetly
(Closeable closeable) Closing quetly any closeable object.static <T extends Closeable>
TDeferrers.defer
(T closeable) Defer closing of an closeable object.static <T> T
Deferrers.deferredClose
(T closeable) Defer object containing public close() method.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 causeboolean
Validate an object.Constructor parameters in com.igormaznitsa.meta.common.utils with annotations of type NullableModifierConstructorDescriptionTimeData
(int stackDepth, String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener violationListener) The Constructor