Uses of Class
javax.annotation.Nullable
-
-
Uses of Nullable in com.igormaznitsa.jcp
Method parameters in com.igormaznitsa.jcp with annotations of type Nullable Modifier and Type Method Description private static PreprocessorContext
JCPreprocessor. processCommandString(PreprocessorContext context, java.lang.String[] originalStrings, java.lang.String[] normalizedStrings)
-
Uses of Nullable in com.igormaznitsa.jcp.ant
Methods in com.igormaznitsa.jcp.ant with annotations of type Nullable Modifier and Type Method Description java.io.File
PreprocessTask.CfgFile. getFile()
java.lang.String
PreprocessTask.Global. getName()
java.lang.String
PreprocessTask.Global. getValue()
Method parameters in com.igormaznitsa.jcp.ant with annotations of type Nullable Modifier and Type Method Description void
PreprocessTask. debug(java.lang.String message)
void
PreprocessTask. error(java.lang.String message)
void
PreprocessTask. info(java.lang.String message)
void
PreprocessTask. warning(java.lang.String message)
-
Uses of Nullable in com.igormaznitsa.jcp.containers
Methods in com.igormaznitsa.jcp.containers with annotations of type Nullable Modifier and Type Method Description java.lang.String
TextFileDataContainer. nextLine()
Method parameters in com.igormaznitsa.jcp.containers with annotations of type Nullable Modifier and Type Method Description boolean
TextFileDataContainer. equals(java.lang.Object that)
PreprocessingState
FileInfoContainer. preprocessFile(PreprocessingState state, PreprocessorContext context)
Preprocess file, NB! it doesn't clear local variables automatically for cloned contextsjava.util.List<PreprocessingState.ExcludeIfInfo>
FileInfoContainer. processGlobalDirectives(PreprocessingState state, PreprocessorContext context)
-
Uses of Nullable in com.igormaznitsa.jcp.context
Methods in com.igormaznitsa.jcp.context with annotations of type Nullable Modifier and Type Method Description Value
PreprocessorContext. findVariableForName(java.lang.String name, boolean enforceUnknownVarAsNull)
Find value among local and global variables for a name.java.lang.String
PreprocessingState. getLastReadString()
Value
PreprocessorContext. getLocalVariable(java.lang.String name)
Get a local variable valuePreprocessorExtension
PreprocessorContext. getPreprocessorExtension()
Get the current preprocessor extensionResetablePrinter
PreprocessingState. getPrinter()
java.lang.Object
PreprocessorContext. getSharedResource(java.lang.String name)
Get a shared source from inside mapValue
EnvironmentVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
Value
JCPSpecialVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
java.lang.String
PreprocessingState. nextLine()
TextFileDataContainer
PreprocessingState. peekFile()
TextFileDataContainer
PreprocessingState. peekIf()
TextFileDataContainer
PreprocessingState. peekWhile()
java.lang.Object
PreprocessorContext. removeSharedResource(java.lang.String name)
Remove a shared object from the inside map for its nameMethod parameters in com.igormaznitsa.jcp.context with annotations of type Nullable Modifier and Type Method Description boolean
PreprocessorContext. containsGlobalVariable(java.lang.String name)
Check that there is a named global variable in the inside storageboolean
PreprocessorContext. containsLocalVariable(java.lang.String name)
Check that a local variable for a name is presentedValue
PreprocessorContext. findVariableForName(java.lang.String name, boolean enforceUnknownVarAsNull)
Find value among local and global variables for a name.Value
PreprocessorContext. getLocalVariable(java.lang.String name)
Get a local variable valueValue
SpecialVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)
Get the value for the variableboolean
PreprocessorContext. isFileAllowedToBeProcessed(java.io.File file)
Check that a file is allowed to be preprocessed fo its extensionboolean
PreprocessorContext. isFileExcludedFromProcess(java.io.File file)
Check that a file is excluded from preprocessing and coping actionsboolean
PreprocessorContext. isGlobalVariable(java.lang.String variableName)
Check that there is a global variable with such name.boolean
PreprocessorContext. isLocalVariable(java.lang.String variableName)
Check that there is a local variable with such name.void
PreprocessorContext. logDebug(java.lang.String text)
Print some debug info into the current logvoid
PreprocessorContext. logError(java.lang.String text)
Print an information about an error into the current logvoid
PreprocessorContext. logInfo(java.lang.String text)
Print an information into the current logvoid
PreprocessorContext. logWarning(java.lang.String text)
Print an information about a warning situation into the current logPreprocessorException
PreprocessingState. makeException(java.lang.String message, java.lang.String causeString, java.lang.Throwable cause)
PreprocessorException
PreprocessingState. makeException(java.lang.String message, java.lang.String causeString, java.lang.Throwable cause)
PreprocessorException
PreprocessingState. makeException(java.lang.String message, java.lang.String causeString, java.lang.Throwable cause)
PreprocessorException
PreprocessorContext. makeException(java.lang.String text, java.lang.Throwable cause)
Prepare exception with message and cause, or return cause if it is a preprocessor exceptionprivate static java.lang.String
PreprocessorContext. makeStackView(TextFileDataContainer cloneSource, boolean cloned, java.util.List<TextFileDataContainer> list)
private static java.lang.String
PreprocessorContext. makeStackView(TextFileDataContainer cloneSource, boolean cloned, java.util.List<TextFileDataContainer> list)
PreprocessorContext
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(java.lang.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 Nullable Modifier and Type Method Description private java.lang.String
PreprocessorException. convertIncludeStackToString()
static PreprocessorException
PreprocessorException. extractPreprocessorException(java.lang.Throwable thr)
java.io.File
PreprocessorException. getProcessingFile()
java.lang.String
PreprocessorException. getProcessingString()
java.io.File
PreprocessorException. getRootFile()
Method parameters in com.igormaznitsa.jcp.exceptions with annotations of type Nullable Modifier and Type Method Description static PreprocessorException
PreprocessorException. extractPreprocessorException(java.lang.Throwable thr)
private static java.lang.String
PreprocessorException. makeStackView(FilePositionInfo[] list, char fill)
static java.lang.String
PreprocessorException. referenceAsString(char fillChar, java.lang.Throwable thr)
Constructor parameters in com.igormaznitsa.jcp.exceptions with annotations of type Nullable Constructor Description PreprocessorException(java.lang.String message, java.lang.String processedText, FilePositionInfo[] includeStack, java.lang.Throwable cause)
PreprocessorException(java.lang.String message, java.lang.String processedText, FilePositionInfo[] includeStack, java.lang.Throwable cause)
PreprocessorException(java.lang.String message, java.lang.String processedText, FilePositionInfo[] includeStack, java.lang.Throwable cause)
PreprocessorException(java.lang.String message, java.lang.String processedText, FilePositionInfo[] includeStack, java.lang.Throwable cause)
-
Uses of Nullable in com.igormaznitsa.jcp.expression
Methods in com.igormaznitsa.jcp.expression with annotations of type Nullable Modifier and Type Method Description ExpressionTreeElement
ExpressionTreeElement. addTreeElement(ExpressionTreeElement element)
Add tree element with sorting operation depends on priority of the elementsExpressionItemPriority
ExpressionParser.SpecialItem. getExpressionItemPriority()
ExpressionItemType
ExpressionParser.SpecialItem. getExpressionItemType()
ExpressionTreeElement
ExpressionTreeElement. getParent()
Get the parent for the elementstatic java.lang.Object
Value. getValue(java.lang.String value, ValueType type)
(package private) ExpressionItem
ExpressionParser. nextItem(java.io.PushbackReader reader, PreprocessorContext context)
Read the next item from the readerExpressionItem
ExpressionParser. readExpression(java.io.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(java.io.PushbackReader reader, ExpressionTree tree, PreprocessorContext context, FilePositionInfo[] callStack, java.lang.String source)
The auxiliary method allows to read a function argumentMethod parameters in com.igormaznitsa.jcp.expression with annotations of type Nullable Modifier and Type Method Description boolean
Value. equals(java.lang.Object var)
private ExpressionTree
ExpressionParser. readFunction(AbstractFunction function, java.io.PushbackReader reader, PreprocessorContext context, FilePositionInfo[] includeStack, java.lang.String sources)
The auxiliary method allows to form a function and its arguments as a treeprivate ExpressionTree
ExpressionParser. readFunction(AbstractFunction function, java.io.PushbackReader reader, PreprocessorContext context, FilePositionInfo[] includeStack, java.lang.String sources)
The auxiliary method allows to form a function and its arguments as a tree(package private) ExpressionItem
ExpressionParser. readFunctionArgument(java.io.PushbackReader reader, ExpressionTree tree, PreprocessorContext context, FilePositionInfo[] callStack, java.lang.String source)
The auxiliary method allows to read a function argument(package private) ExpressionItem
ExpressionParser. readFunctionArgument(java.io.PushbackReader reader, ExpressionTree tree, PreprocessorContext context, FilePositionInfo[] callStack, java.lang.String source)
The auxiliary method allows to read a function argumentConstructor parameters in com.igormaznitsa.jcp.expression with annotations of type Nullable Constructor Description ExpressionTree(FilePositionInfo[] callStack, java.lang.String sources)
ExpressionTree(FilePositionInfo[] callStack, java.lang.String sources)
ExpressionTreeElement(ExpressionItem item, FilePositionInfo[] callStack, java.lang.String sourceString)
The constructorValue(java.lang.String val)
-
Uses of Nullable in com.igormaznitsa.jcp.expression.functions
Methods in com.igormaznitsa.jcp.expression.functions with annotations of type Nullable Modifier and Type Method Description static FunctionBINFILE.Type
FunctionBINFILE.Type. find(java.lang.String name)
static <E extends AbstractFunction>
EAbstractFunction. findForClass(java.lang.Class<E> functionClass)
Allows to find a function handler instance for its classstatic AbstractFunction
AbstractFunction. findForName(java.lang.String str)
Find a function handler for its namejava.lang.String
AbstractFunction. toString()
Method parameters in com.igormaznitsa.jcp.expression.functions with annotations of type Nullable Modifier and Type Method Description static FunctionBINFILE.Type
FunctionBINFILE.Type. find(java.lang.String name)
-
Uses of Nullable in com.igormaznitsa.jcp.expression.functions.xml
Methods in com.igormaznitsa.jcp.expression.functions.xml with annotations of type Nullable Modifier and Type Method Description org.w3c.dom.Element
AbstractXMLFunction. findCachedElement(PreprocessorContext context, java.lang.String elementId)
org.w3c.dom.NodeList
AbstractXMLFunction. findCachedElementList(PreprocessorContext context, java.lang.String elementListId)
-
Uses of Nullable in com.igormaznitsa.jcp.expression.operators
Methods in com.igormaznitsa.jcp.expression.operators with annotations of type Nullable Modifier and Type Method Description static <E extends AbstractOperator>
EAbstractOperator. findForClass(java.lang.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 Nullable Modifier and Type Method Description void
PreprocessorLogger. debug(java.lang.String message)
Log a debug messagevoid
SystemOutLogger. debug(java.lang.String text)
boolean
SystemOutLogger. equals(java.lang.Object value)
void
PreprocessorLogger. error(java.lang.String message)
Log an error messagevoid
SystemOutLogger. error(java.lang.String text)
void
PreprocessorLogger. info(java.lang.String message)
Log an information messagevoid
SystemOutLogger. info(java.lang.String text)
void
PreprocessorLogger. warning(java.lang.String message)
Log a warning messagevoid
SystemOutLogger. warning(java.lang.String text)
-
Uses of Nullable in com.igormaznitsa.jcp.maven
Methods in com.igormaznitsa.jcp.maven with annotations of type Nullable Modifier and Type Method Description java.lang.String
PreprocessorMojo. getExcluded()
java.lang.String
PreprocessorMojo. getProcessing()
Value
MavenPropertiesImporter. getVariable(java.lang.String varName, PreprocessorContext context)
private java.lang.String
PreprocessorMojo. makeSourceRootList()
Method parameters in com.igormaznitsa.jcp.maven with annotations of type Nullable Modifier and Type Method Description void
PreprocessorMojo. setExcluded(java.lang.String excluded)
void
PreprocessorMojo. setProcessing(java.lang.String processing)
-
Uses of Nullable in com.igormaznitsa.jcp.utils
Methods in com.igormaznitsa.jcp.utils with annotations of type Nullable Modifier and Type Method Description static java.lang.String
PreprocessorUtils. getFileExtension(java.io.File file)
static java.lang.String
PreprocessorUtils. normalizeVariableName(java.lang.String name)
Method parameters in com.igormaznitsa.jcp.utils with annotations of type Nullable Modifier and Type Method Description static java.lang.String
PreprocessorUtils. getFileExtension(java.io.File file)
static java.lang.String
PreprocessorUtils. getFilePath(java.io.File file)
static boolean
PreprocessorUtils. isFileContentEquals(java.io.File src, java.io.File dst)
static boolean
PreprocessorUtils. isFileContentEquals(java.io.File src, java.io.File dst)
static java.lang.String
PreprocessorUtils. normalizeVariableName(java.lang.String name)
static java.lang.String[]
PreprocessorUtils. readWholeTextFileIntoArray(java.io.File file, java.lang.String encoding, java.util.concurrent.atomic.AtomicBoolean endedByNextLine)
static java.lang.String[]
PreprocessorUtils. readWholeTextFileIntoArray(java.io.File file, java.lang.String encoding, java.util.concurrent.atomic.AtomicBoolean endedByNextLine)
static void
PreprocessorUtils. throwPreprocessorException(java.lang.String msg, java.lang.String processingString, java.io.File srcFile, int nextStringIndex, java.lang.Throwable cause)
static void
PreprocessorUtils. throwPreprocessorException(java.lang.String msg, java.lang.String processingString, java.io.File srcFile, int nextStringIndex, java.lang.Throwable cause)
static void
PreprocessorUtils. throwPreprocessorException(java.lang.String msg, java.lang.String processingString, java.io.File srcFile, int nextStringIndex, java.lang.Throwable cause)
-
Uses of Nullable in com.igormaznitsa.meta.common.exceptions
Method parameters in com.igormaznitsa.meta.common.exceptions with annotations of type Nullable Modifier and Type Method Description void
MetaErrorListener. onDetectedError(java.lang.String text, java.lang.Throwable error)
The Method will be called if detected some error.Constructor parameters in com.igormaznitsa.meta.common.exceptions with annotations of type Nullable Constructor Description AlreadyDisposedError(java.lang.String message)
Constructor with provided message.UnexpectedProcessingError(java.lang.String message, java.lang.Throwable cause)
Constructor for description and cause.UnexpectedProcessingError(java.lang.String message, java.lang.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 Nullable Modifier and Type Method Description 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. assertIsValid(T obj, Validator<T> validator)
Check an object by a validator.static <T> T
Assertions. assertNull(T object)
Assert that value is nullstatic java.io.Closeable
IOUtils. closeQuetly(java.io.Closeable closeable)
Closing quetly any closeable object.java.lang.String
TimeGuard.TimeData. getAlertMessage()
Get the alert message.Method parameters in com.igormaznitsa.meta.common.utils with annotations of type Nullable Modifier and Type Method Description static void
TimeGuard. addGuard(java.lang.String alertMessage, long maxAllowedDelayInMilliseconds)
Add a time watcher.static void
TimeGuard. addGuard(java.lang.String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener timeAlertListener)
Add a time watcher and provide processor of time violation.static void
TimeGuard. addGuard(java.lang.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(java.lang.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(java.lang.String failMessage, T object)
Assert that value is not nullstatic <T> T
Assertions. assertNotNull(java.lang.String failMessage, T object)
Assert that value is not nullstatic <T> T
Assertions. assertNotNull(T object)
Assert that value is not nullstatic <T> T
Assertions. assertNull(java.lang.String failMessage, T object)
Assert that value is nullstatic <T> T
Assertions. assertNull(java.lang.String failMessage, T object)
Assert that value is nullstatic <T> T
Assertions. assertNull(T object)
Assert that value is nullstatic void
Assertions. assertTrue(java.lang.String message, boolean condition)
Assert condition flag is TRUE.static java.io.Closeable
IOUtils. closeQuetly(java.io.Closeable closeable)
Closing quetly any closeable object.static <T extends java.io.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 java.lang.String
GetUtils. ensureNonNullAndNonEmpty(java.lang.String value, java.lang.String dflt)
Get non-null non-empty string.static java.lang.String
GetUtils. ensureNonNullStr(java.lang.String value)
Ensure that a string will not be null.static java.lang.Error
Assertions. fail(java.lang.String message)
Throw assertion error for some causeboolean
Validator. isValid(T object)
Validate an object.Constructor parameters in com.igormaznitsa.meta.common.utils with annotations of type Nullable Constructor Description TimeData(int stackDepth, java.lang.String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener violationListener)
The Constructor
-