Class MethodVerifier
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodVerifier
-
Field Summary
Fields inherited from class ImplicitNullAnnotationVerifier
environment -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanareReturnTypesCompatible(MethodBinding one, MethodBinding two, LookupEnvironment environment) protected booleancanOverridingMethodDifferInErasure(MethodBinding overridingMethod, MethodBinding inheritedMethod) static MethodBindingcomputeSubstituteMethod(MethodBinding inheritedMethod, MethodBinding currentMethod, LookupEnvironment environment) booleandoesMethodOverride(MethodBinding method, MethodBinding inheritedMethod) static booleandoesMethodOverride(MethodBinding method, MethodBinding inheritedMethod, LookupEnvironment environment) booleanisMethodSubsignature(MethodBinding method, MethodBinding inheritedMethod) static booleanisSubstituteParameterSubsignature(MethodBinding method, MethodBinding substituteMethod, LookupEnvironment environment) voidreportRawReferences(MethodBinding currentMethod, MethodBinding inheritedMethod) toString()Methods inherited from class ImplicitNullAnnotationVerifier
checkImplicitNullAnnotations, ensureNullnessIsKnown, recordDeferredInheritedNullnessModifier and TypeMethodDescriptionvoidcheckImplicitNullAnnotations(MethodBinding currentMethod, AbstractMethodDeclaration srcMethod, boolean complain, Scope scope) Check and fill in implicit annotations from overridden methods and from default.static voidensureNullnessIsKnown(MethodBinding methodBinding, Scope scope) protected voidrecordDeferredInheritedNullness(Scope scope, ASTNode location, MethodBinding inheritedMethod, Boolean inheritedNonNullness, org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier.InheritedNonNullnessInfo nullnessInfo)
-
Method Details
-
areReturnTypesCompatible
public static boolean areReturnTypesCompatible(MethodBinding one, MethodBinding two, LookupEnvironment environment) -
reportRawReferences
-
canOverridingMethodDifferInErasure
protected boolean canOverridingMethodDifferInErasure(MethodBinding overridingMethod, MethodBinding inheritedMethod) -
computeSubstituteMethod
public static MethodBinding computeSubstituteMethod(MethodBinding inheritedMethod, MethodBinding currentMethod, LookupEnvironment environment) -
doesMethodOverride
-
doesMethodOverride
public static boolean doesMethodOverride(MethodBinding method, MethodBinding inheritedMethod, LookupEnvironment environment) -
isMethodSubsignature
-
isSubstituteParameterSubsignature
public static boolean isSubstituteParameterSubsignature(MethodBinding method, MethodBinding substituteMethod, LookupEnvironment environment) -
toString
-