private static TypeQualifierAnnotation getDirectTypeQualifierAnnotation ( AnnotatedObject o , TypeQualifierValue < ? > typeQualifierValue ) { TypeQualifierAnnotation result ; Set < TypeQualifierAnnotation > applications = new HashSet <> ( ) ; getDirectApplications ( applications , o , o . getElementType ( ) ) ; result = findMatchingTypeQualifierAnnotation ( applications , typeQualifierValue ) ; return result ; }
Get a directly - applied TypeQualifierAnnotation on given AnnotatedObject .