private static @ CheckForNull TypeQualifierAnnotation findMatchingTypeQualifierAnnotation ( Collection < TypeQualifierAnnotation > typeQualifierAnnotations , TypeQualifierValue < ? > typeQualifierValue ) { for ( TypeQualifierAnnotation typeQualifierAnnotation : typeQualifierAnnotations ) { if ( typeQualifierAnnotation . typeQualifier . equals ( typeQualifierValue ) ) { return typeQualifierAnnotation ; } } return null ; }
Look up a TypeQualifierAnnotation matching given TypeQualifierValue .