Uses of Enum
com.google.errorprone.dataflow.nullnesspropagation.Nullness
Packages that use Nullness
Package
Description
A predicate DSL for matching javac AST nodes.
Utility code.
-
Uses of Nullness in com.google.errorprone.dataflow.nullnesspropagation
Subclasses with type arguments of type Nullness in com.google.errorprone.dataflow.nullnesspropagationModifier and TypeClassDescriptionenum
Represents one of the possible nullness values in our nullness analysis.Classes in com.google.errorprone.dataflow.nullnesspropagation that implement interfaces with type arguments of type NullnessModifier and TypeClassDescriptionenum
Represents one of the possible nullness values in our nullness analysis.Methods in com.google.errorprone.dataflow.nullnesspropagation that return NullnessModifier and TypeMethodDescriptionNullness.deducedValueWhenNotEqual()
Returns theNullness
that corresponds to what you can deduce by knowing that some expression is not equal to another expression with thisNullness
.TrustingNullnessAnalysis.getFieldInitializerNullness
(com.sun.source.util.TreePath fieldDeclPath, com.sun.tools.javac.util.Context context) NullnessAnalysis.getNullness
(com.sun.source.util.TreePath exprPath, com.sun.tools.javac.util.Context context) Returns theNullness
of the leaf ofexprPath
.TrustingNullnessAnalysis.getNullness
(com.sun.source.util.TreePath exprPath, com.sun.tools.javac.util.Context context) Returns theNullness
of the leaf ofexprPath
.Nullness.greatestLowerBound
(Nullness other) Nullness.leastUpperBound
(Nullness other) static Nullness
Returns the enum constant of this type with the specified name.static Nullness[]
Nullness.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.errorprone.dataflow.nullnesspropagation that return types with arguments of type NullnessModifier and TypeMethodDescriptionNullnessAnnotations.fromAnnotationMirrors
(List<? extends AnnotationMirror> annotations) NullnessAnnotations.fromAnnotationsOn
(@Nullable com.sun.tools.javac.code.Symbol sym) NullnessAnnotations.fromAnnotationsOn
(@Nullable TypeMirror type) NullnessAnnotations.fromAnnotationTrees
(List<? extends com.sun.source.tree.AnnotationTree> annotations) NullnessAnnotations.fromDefaultAnnotations
(@Nullable Element sym) Walks the syntactically enclosing elements of the given element until it finds a defaulting annotation.NullnessAnnotations.getUpperBound
(TypeVariable typeVar) Returns any declared or implied bound for the given type variable, meaning this returns any annotation on the given type variable and otherwise returnsNullnessAnnotations.fromDefaultAnnotations(javax.lang.model.element.Element)
to find any default in scope of the given type variable.Methods in com.google.errorprone.dataflow.nullnesspropagation with parameters of type NullnessModifier and TypeMethodDescriptionNullness.greatestLowerBound
(Nullness other) Nullness.leastUpperBound
(Nullness other) -
Uses of Nullness in com.google.errorprone.dataflow.nullnesspropagation.inference
Methods in com.google.errorprone.dataflow.nullnesspropagation.inference that return types with arguments of type NullnessModifier and TypeMethodDescriptionInferredNullability.getExprNullness
(com.sun.source.tree.ExpressionTree exprTree) Get inferred nullness qualifier for an expression, if possible.com.google.common.collect.ImmutableMap
<com.sun.tools.javac.code.Symbol.TypeVariableSymbol, Nullness> InferredNullability.getNullnessGenerics
(com.sun.source.tree.MethodInvocationTree callsite) Get inferred nullness qualifiers for method-generic type variables at a callsite. -
Uses of Nullness in com.google.errorprone.matchers
Constructors in com.google.errorprone.matchers with parameters of type Nullness -
Uses of Nullness in com.google.errorprone.util
Methods in com.google.errorprone.util that return NullnessModifier and TypeMethodDescriptionstatic Nullness
ASTHelpers.getNullnessValue
(com.sun.source.tree.ExpressionTree expr, VisitorState state, NullnessAnalysis nullnessAnalysis) Returns theNullness
for an expression as determined by the nullness dataflow analysis.