| Package | Description |
|---|---|
| org.eclipse.jdt.internal.compiler.ast | |
| org.eclipse.jdt.internal.compiler.flow | |
| org.eclipse.jdt.internal.compiler.problem |
| Modifier and Type | Field and Description |
|---|---|
static NullAnnotationMatching |
NullAnnotationMatching.NULL_ANNOTATIONS_MISMATCH |
static NullAnnotationMatching |
NullAnnotationMatching.NULL_ANNOTATIONS_OK |
static NullAnnotationMatching |
NullAnnotationMatching.NULL_ANNOTATIONS_OK_NONNULL |
static NullAnnotationMatching |
NullAnnotationMatching.NULL_ANNOTATIONS_UNCHECKED |
| Modifier and Type | Method and Description |
|---|---|
static NullAnnotationMatching |
NullAnnotationMatching.analyse(TypeBinding requiredType,
TypeBinding providedType,
int nullStatus)
Find any mismatches between the two given types, which are caused by null type annotations.
|
static NullAnnotationMatching |
NullAnnotationMatching.analyse(TypeBinding requiredType,
TypeBinding providedType,
TypeBinding providedSubstitute,
Substitution substitution,
int nullStatus,
Expression providedExpression,
NullAnnotationMatching.CheckMode mode)
Find any mismatches between the two given types, which are caused by null type annotations.
|
static NullAnnotationMatching |
NullAnnotationMatching.okNonNullStatus(Expression providedExpression) |
| Modifier and Type | Method and Description |
|---|---|
void |
FlowContext.recordNullityMismatch(BlockScope currentScope,
Expression expression,
TypeBinding providedType,
TypeBinding expectedType,
FlowInfo flowInfo,
int nullStatus,
NullAnnotationMatching annotationStatus)
Record that a nullity mismatch was detected against an annotated type reference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProblemReporter.nullityMismatchingTypeAnnotation(Expression expression,
TypeBinding providedType,
TypeBinding requiredType,
NullAnnotationMatching status) |
void |
ProblemReporter.referenceExpressionArgumentNullityMismatch(ReferenceExpression location,
TypeBinding requiredType,
TypeBinding providedType,
MethodBinding descriptorMethod,
int idx,
NullAnnotationMatching status) |
Copyright © 2016. All rights reserved.