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 PreprocessorContextJCPreprocessor.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 TypeMethodDescriptionbooleanFileInfoContainer.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 TypeMethodDescriptionbooleanPreprocessorContext.containsGlobalVariable(String name) Check that there is a named global variable in the inside storagebooleanPreprocessorContext.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 booleanPreprocessorContext.isFileAllowedToBeProcessed(File file) Check that a file is allowed to be preprocessed fo its extensionfinal booleanPreprocessorContext.isFileExcludedFromProcess(File file) Check that a file is excluded from preprocessing and coping actionsbooleanPreprocessorContext.isGlobalVariable(String variableName) Check that there is a global variable with such name.booleanPreprocessorContext.isLocalVariable(String variableName) Check that there is a local variable with such name.voidPrint some debug info into the current logvoidPrint an information about an error into the current logvoidPrint an information into the current logvoidPreprocessorContext.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 StringPreprocessorContext.makeStackView(TextFileDataContainer cloneSource, boolean cloned, List<TextFileDataContainer> list) private static StringPreprocessorContext.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 workvoidPreprocessorContext.setPreprocessorLogger(PreprocessorLogger logger) Set the logger to print information and error messagesvoidSpecialVariableProcessor.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 StringPreprocessorException.convertIncludeStackToString()static PreprocessorExceptionPreprocessorException.extractPreprocessorException(Throwable thr) PreprocessorException.getProcessingFile()PreprocessorException.getProcessingString()PreprocessorException.getRootFile()Method parameters in com.igormaznitsa.jcp.exceptions with annotations of type NullableModifier and TypeMethodDescriptionstatic PreprocessorExceptionPreprocessorException.extractPreprocessorException(Throwable thr) private static StringPreprocessorException.makeStackView(FilePositionInfo[] list, char fill) static StringPreprocessorException.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) ExpressionItemExpressionParser.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) ExpressionItemExpressionParser.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 TypeMethodDescriptionbooleanprivate ExpressionTreeExpressionParser.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 ExpressionTreeExpressionParser.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) ExpressionItemExpressionParser.readFunctionArgument(PushbackReader reader, ExpressionTree tree, PreprocessorContext context, FilePositionInfo[] callStack, String source) The auxiliary method allows to read a function argument(package private) ExpressionItemExpressionParser.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.Typestatic <E extends AbstractFunction>
EAbstractFunction.findForClass(Class<E> functionClass) Allows to find a function handler instance for its classstatic AbstractFunctionAbstractFunction.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 TypeMethodDescriptionvoidLog a debug messagevoidbooleanvoidLog an error messagevoidvoidLog an information messagevoidvoidLog 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 StringPreprocessorMojo.makeSourceRootList()Method parameters in com.igormaznitsa.jcp.maven with annotations of type NullableModifier and TypeMethodDescriptionvoidPreprocessorMojo.setExcluded(String excluded) voidPreprocessorMojo.setProcessing(String processing) -
Uses of Nullable in com.igormaznitsa.jcp.utils
Methods in com.igormaznitsa.jcp.utils with annotations of type NullableModifier and TypeMethodDescriptionstatic StringPreprocessorUtils.getFileExtension(File file) static StringPreprocessorUtils.normalizeVariableName(String name) Method parameters in com.igormaznitsa.jcp.utils with annotations of type NullableModifier and TypeMethodDescriptionstatic StringPreprocessorUtils.getFileExtension(File file) static StringPreprocessorUtils.getFilePath(File file) static booleanPreprocessorUtils.isFileContentEquals(File src, File dst) static booleanPreprocessorUtils.isFileContentEquals(File src, File dst) static StringPreprocessorUtils.normalizeVariableName(String name) static String[]PreprocessorUtils.readWholeTextFileIntoArray(File file, String encoding, AtomicBoolean endedByNextLine) static String[]PreprocessorUtils.readWholeTextFileIntoArray(File file, String encoding, AtomicBoolean endedByNextLine) static voidPreprocessorUtils.throwPreprocessorException(String msg, String processingString, File srcFile, int nextStringIndex, Throwable cause) static voidPreprocessorUtils.throwPreprocessorException(String msg, String processingString, File srcFile, int nextStringIndex, Throwable cause) static voidPreprocessorUtils.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 TypeMethodDescriptionvoidMetaErrorListener.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> 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 CloseableIOUtils.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 voidAdd a time watcher.static voidTimeGuard.addGuard(String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener timeAlertListener) Add a time watcher and provide processor of time violation.static voidTimeGuard.addGuard(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(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(String failMessage, T object) Assert that value is not nullstatic <T> TAssertions.assertNotNull(String failMessage, T object) Assert that value is not nullstatic <T> TAssertions.assertNotNull(T object) Assert that value is not nullstatic <T> TAssertions.assertNull(String failMessage, T object) Assert that value is nullstatic <T> TAssertions.assertNull(String failMessage, T object) Assert that value is nullstatic <T> TAssertions.assertNull(T object) Assert that value is nullstatic voidAssertions.assertTrue(String message, boolean condition) Assert condition flag is TRUE.static CloseableIOUtils.closeQuetly(Closeable closeable) Closing quetly any closeable object.static <T extends 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 StringGetUtils.ensureNonNullAndNonEmpty(String value, String dflt) Get non-null non-empty string.static StringGetUtils.ensureNonNullStr(String value) Ensure that a string will not be null.static ErrorThrow assertion error for some causebooleanValidate 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