javax.annotation
Class Nonnull.Checker

java.lang.Object
  extended by javax.annotation.Nonnull.Checker
All Implemented Interfaces:
TypeQualifierValidator<Nonnull>
Enclosing class:
Nonnull

public static class Nonnull.Checker
extends java.lang.Object
implements TypeQualifierValidator<Nonnull>


Constructor Summary
Nonnull.Checker()
           
 
Method Summary
 When forConstantValue(Nonnull qualifierqualifierArgument, java.lang.Object value)
          Given a type qualifier, check to see if a known specific constant value is an instance of the set of values denoted by the qualifier.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Nonnull.Checker

public Nonnull.Checker()
Method Detail

forConstantValue

public When forConstantValue(Nonnull qualifierqualifierArgument,
                             java.lang.Object value)
Description copied from interface: TypeQualifierValidator
Given a type qualifier, check to see if a known specific constant value is an instance of the set of values denoted by the qualifier.

Specified by:
forConstantValue in interface TypeQualifierValidator<Nonnull>
Parameters:
qualifierqualifierArgument - the type qualifier
value - the value to check
Returns:
a value indicating whether or not the value is an member of the values denoted by the type qualifier