edu.umd.cs.findbugs.ba.npe
Class NonNullReturnValueAnnotationChecker

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.npe.NonNullReturnValueAnnotationChecker
All Implemented Interfaces:
JavaClassAndMethodChooser

Deprecated.

public class NonNullReturnValueAnnotationChecker
extends java.lang.Object
implements JavaClassAndMethodChooser

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)
          Deprecated.  
 
Method Summary
 boolean choose(JavaClassAndMethod javaClassAndMethod)
          Deprecated.  
 JavaClassAndMethod getAnnotatedMethod()
          Deprecated.  
 java.lang.Boolean getProperty()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonNullReturnValueAnnotationChecker

public NonNullReturnValueAnnotationChecker(MayReturnNullPropertyDatabase database)
Deprecated. 
Method Detail

getProperty

public java.lang.Boolean getProperty()
Deprecated. 

getAnnotatedMethod

public JavaClassAndMethod getAnnotatedMethod()
Deprecated. 

choose

public boolean choose(JavaClassAndMethod javaClassAndMethod)
Deprecated. 
Specified by:
choose in interface JavaClassAndMethodChooser