edu.umd.cs.findbugs.ba.npe

Class NonNullReturnValueAnnotationChecker

public class NonNullReturnValueAnnotationChecker extends Object implements JavaClassAndMethodChooser

Deprecated:

This callback can be passed to Hierarchy.findInvocationLeastUpperBound to find the @NonNull or @CheckForNull method return value annotation which should be applied at a call site.

Author: David Hovemeyer

Constructor Summary
NonNullReturnValueAnnotationChecker(MayReturnNullPropertyDatabase database)
Method Summary
booleanchoose(JavaClassAndMethod javaClassAndMethod)
JavaClassAndMethodgetAnnotatedMethod()
BooleangetProperty()

Constructor Detail

NonNullReturnValueAnnotationChecker

public NonNullReturnValueAnnotationChecker(MayReturnNullPropertyDatabase database)

Deprecated:

Method Detail

choose

public boolean choose(JavaClassAndMethod javaClassAndMethod)

getAnnotatedMethod

public JavaClassAndMethod getAnnotatedMethod()

getProperty

public Boolean getProperty()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.