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 PreprocessorContextJCPreprocessor. 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.FilePreprocessTask.CfgFile. getFile()java.lang.StringPreprocessTask.Global. getName()java.lang.StringPreprocessTask.Global. getValue()Method parameters in com.igormaznitsa.jcp.ant with annotations of type Nullable Modifier and Type Method Description voidPreprocessTask. debug(java.lang.String message)voidPreprocessTask. error(java.lang.String message)voidPreprocessTask. info(java.lang.String message)voidPreprocessTask. 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.StringTextFileDataContainer. nextLine()Method parameters in com.igormaznitsa.jcp.containers with annotations of type Nullable Modifier and Type Method Description booleanTextFileDataContainer. equals(java.lang.Object that)PreprocessingStateFileInfoContainer. 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 ValuePreprocessorContext. findVariableForName(java.lang.String name, boolean enforceUnknownVarAsNull)Find value among local and global variables for a name.java.lang.StringPreprocessingState. getLastReadString()ValuePreprocessorContext. getLocalVariable(java.lang.String name)Get a local variable valuePreprocessorExtensionPreprocessorContext. getPreprocessorExtension()Get the current preprocessor extensionResetablePrinterPreprocessingState. getPrinter()java.lang.ObjectPreprocessorContext. getSharedResource(java.lang.String name)Get a shared source from inside mapValueEnvironmentVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)ValueJCPSpecialVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)java.lang.StringPreprocessingState. nextLine()TextFileDataContainerPreprocessingState. peekFile()TextFileDataContainerPreprocessingState. peekIf()TextFileDataContainerPreprocessingState. peekWhile()java.lang.ObjectPreprocessorContext. 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 booleanPreprocessorContext. containsGlobalVariable(java.lang.String name)Check that there is a named global variable in the inside storagebooleanPreprocessorContext. containsLocalVariable(java.lang.String name)Check that a local variable for a name is presentedValuePreprocessorContext. findVariableForName(java.lang.String name, boolean enforceUnknownVarAsNull)Find value among local and global variables for a name.ValuePreprocessorContext. getLocalVariable(java.lang.String name)Get a local variable valueValueSpecialVariableProcessor. getVariable(java.lang.String varName, PreprocessorContext context)Get the value for the variablebooleanPreprocessorContext. isFileAllowedToBeProcessed(java.io.File file)Check that a file is allowed to be preprocessed fo its extensionbooleanPreprocessorContext. isFileExcludedFromProcess(java.io.File file)Check that a file is excluded from preprocessing and coping actionsbooleanPreprocessorContext. isGlobalVariable(java.lang.String variableName)Check that there is a global variable with such name.booleanPreprocessorContext. isLocalVariable(java.lang.String variableName)Check that there is a local variable with such name.voidPreprocessorContext. logDebug(java.lang.String text)Print some debug info into the current logvoidPreprocessorContext. logError(java.lang.String text)Print an information about an error into the current logvoidPreprocessorContext. logInfo(java.lang.String text)Print an information into the current logvoidPreprocessorContext. logWarning(java.lang.String text)Print an information about a warning situation into the current logPreprocessorExceptionPreprocessingState. makeException(java.lang.String message, java.lang.String causeString, java.lang.Throwable cause)PreprocessorExceptionPreprocessingState. makeException(java.lang.String message, java.lang.String causeString, java.lang.Throwable cause)PreprocessorExceptionPreprocessingState. makeException(java.lang.String message, java.lang.String causeString, java.lang.Throwable cause)PreprocessorExceptionPreprocessorContext. 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.StringPreprocessorContext. makeStackView(TextFileDataContainer cloneSource, boolean cloned, java.util.List<TextFileDataContainer> list)private static java.lang.StringPreprocessorContext. makeStackView(TextFileDataContainer cloneSource, boolean cloned, java.util.List<TextFileDataContainer> list)PreprocessorContextPreprocessorContext. 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 workvoidPreprocessorContext. setPreprocessorLogger(PreprocessorLogger logger)Set the logger to print information and error messagesvoidSpecialVariableProcessor. 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.StringPreprocessorException. convertIncludeStackToString()static PreprocessorExceptionPreprocessorException. extractPreprocessorException(java.lang.Throwable thr)java.io.FilePreprocessorException. getProcessingFile()java.lang.StringPreprocessorException. getProcessingString()java.io.FilePreprocessorException. getRootFile()Method parameters in com.igormaznitsa.jcp.exceptions with annotations of type Nullable Modifier and Type Method Description static PreprocessorExceptionPreprocessorException. extractPreprocessorException(java.lang.Throwable thr)private static java.lang.StringPreprocessorException. makeStackView(FilePositionInfo[] list, char fill)static java.lang.StringPreprocessorException. 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 ExpressionTreeElementExpressionTreeElement. addTreeElement(ExpressionTreeElement element)Add tree element with sorting operation depends on priority of the elementsExpressionItemPriorityExpressionParser.SpecialItem. getExpressionItemPriority()ExpressionItemTypeExpressionParser.SpecialItem. getExpressionItemType()ExpressionTreeElementExpressionTreeElement. getParent()Get the parent for the elementstatic java.lang.ObjectValue. getValue(java.lang.String value, ValueType type)(package private) ExpressionItemExpressionParser. nextItem(java.io.PushbackReader reader, PreprocessorContext context)Read the next item from the readerExpressionItemExpressionParser. 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) ExpressionItemExpressionParser. 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 booleanValue. equals(java.lang.Object var)private ExpressionTreeExpressionParser. 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 ExpressionTreeExpressionParser. 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) ExpressionItemExpressionParser. 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) ExpressionItemExpressionParser. 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.TypeFunctionBINFILE.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 AbstractFunctionAbstractFunction. findForName(java.lang.String str)Find a function handler for its namejava.lang.StringAbstractFunction. toString()Method parameters in com.igormaznitsa.jcp.expression.functions with annotations of type Nullable Modifier and Type Method Description static FunctionBINFILE.TypeFunctionBINFILE.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.ElementAbstractXMLFunction. findCachedElement(PreprocessorContext context, java.lang.String elementId)org.w3c.dom.NodeListAbstractXMLFunction. 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 voidPreprocessorLogger. debug(java.lang.String message)Log a debug messagevoidSystemOutLogger. debug(java.lang.String text)booleanSystemOutLogger. equals(java.lang.Object value)voidPreprocessorLogger. error(java.lang.String message)Log an error messagevoidSystemOutLogger. error(java.lang.String text)voidPreprocessorLogger. info(java.lang.String message)Log an information messagevoidSystemOutLogger. info(java.lang.String text)voidPreprocessorLogger. warning(java.lang.String message)Log a warning messagevoidSystemOutLogger. 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.StringPreprocessorMojo. getExcluded()java.lang.StringPreprocessorMojo. getProcessing()ValueMavenPropertiesImporter. getVariable(java.lang.String varName, PreprocessorContext context)private java.lang.StringPreprocessorMojo. makeSourceRootList()Method parameters in com.igormaznitsa.jcp.maven with annotations of type Nullable Modifier and Type Method Description voidPreprocessorMojo. setExcluded(java.lang.String excluded)voidPreprocessorMojo. 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.StringPreprocessorUtils. getFileExtension(java.io.File file)static java.lang.StringPreprocessorUtils. 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.StringPreprocessorUtils. getFileExtension(java.io.File file)static java.lang.StringPreprocessorUtils. getFilePath(java.io.File file)static booleanPreprocessorUtils. isFileContentEquals(java.io.File src, java.io.File dst)static booleanPreprocessorUtils. isFileContentEquals(java.io.File src, java.io.File dst)static java.lang.StringPreprocessorUtils. 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 voidPreprocessorUtils. throwPreprocessorException(java.lang.String msg, java.lang.String processingString, java.io.File srcFile, int nextStringIndex, java.lang.Throwable cause)static voidPreprocessorUtils. throwPreprocessorException(java.lang.String msg, java.lang.String processingString, java.io.File srcFile, int nextStringIndex, java.lang.Throwable cause)static voidPreprocessorUtils. 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 voidMetaErrorListener. 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> TAssertions. 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> TAssertions. assertIsValid(T obj, Validator<T> validator)Check an object by a validator.static <T> TAssertions. assertNull(T object)Assert that value is nullstatic java.io.CloseableIOUtils. closeQuetly(java.io.Closeable closeable)Closing quetly any closeable object.java.lang.StringTimeGuard.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 voidTimeGuard. addGuard(java.lang.String alertMessage, long maxAllowedDelayInMilliseconds)Add a time watcher.static voidTimeGuard. addGuard(java.lang.String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener timeAlertListener)Add a time watcher and provide processor of time violation.static voidTimeGuard. addGuard(java.lang.String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener timeAlertListener)Add a time watcher and provide processor of time violation.static <T> TAssertions. 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> TAssertions. assertEquals(T etalon, T value)Assert that value is equal to some etalon value.static <T> TAssertions. assertEquals(T etalon, T value)Assert that value is equal to some etalon value.static voidAssertions. assertFalse(java.lang.String message, boolean condition)Assert condition flag is FALSE.static <T> TAssertions. assertIsValid(T obj, Validator<T> validator)Check an object by a validator.static <T> TAssertions. assertNotNull(java.lang.String failMessage, T object)Assert that value is not nullstatic <T> TAssertions. assertNotNull(java.lang.String failMessage, T object)Assert that value is not nullstatic <T> TAssertions. assertNotNull(T object)Assert that value is not nullstatic <T> TAssertions. assertNull(java.lang.String failMessage, T object)Assert that value is nullstatic <T> TAssertions. assertNull(java.lang.String failMessage, T object)Assert that value is nullstatic <T> TAssertions. assertNull(T object)Assert that value is nullstatic voidAssertions. assertTrue(java.lang.String message, boolean condition)Assert condition flag is TRUE.static java.io.CloseableIOUtils. 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> TDeferrers. deferredClose(T closeable)Defer object containing public close() method.static <T> TGetUtils. ensureNonNull(T value, T defaultValue)Get value and ensure that the value is not nullstatic java.lang.StringGetUtils. ensureNonNullAndNonEmpty(java.lang.String value, java.lang.String dflt)Get non-null non-empty string.static java.lang.StringGetUtils. ensureNonNullStr(java.lang.String value)Ensure that a string will not be null.static java.lang.ErrorAssertions. fail(java.lang.String message)Throw assertion error for some causebooleanValidator. 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
-