Buggy code:
public static void verifyValue ( String context , String type , String format , String value ) { } public static String getQualifiedTypeName ( Type type ) { } public static String [ ] typeOf ( String javaType , DocletOptions options ) { } public static String [ ] typeOf ( Type type , DocletOptions options ) { } public static List < Type > getParameterizedTypes ( Type type , Map < String , Type > varsToTypes ) { } public static Type getContainerType ( Type type , Map < String , Type > varsToTypes ) { } public static Type getVarType ( TypeVariable var , Map < String , Type > varsToTypes ) { } public static boolean isSet ( String javaType ) { } public static boolean isCollection ( String javaType ) { } public static boolean isMap ( String javaType ) { } public static boolean isFileParameterDataType ( Parameter parameter , DocletOptions options ) { } private static boolean isFileParameterDataType ( ProgramElementDoc paramMember , Type type , DocletOptions options ) { } public static String paramTypeOf ( boolean returnDefault , boolean multipart , ProgramElementDoc paramMember , Type type , DocletOptions options ) { } public static String paramTypeOf ( boolean multipart , Parameter parameter , DocletOptions options ) { } public static String paramNameOf ( Parameter parameter , Map < String , String > overrideParamNames , List < String > paramNameAnnotations , DocletOptions options ) { } public static ClassDoc [ ] getJsonViews ( ProgramElementDoc doc , DocletOptions options ) { } public static boolean hasJsonViews ( ProgramElementDoc doc , DocletOptions options ) { } public static boolean isItemPartOfView ( ClassDoc [ ] operationViews , ClassDoc [ ] itemsViews ) { } public static boolean isAssignableFrom ( ClassDoc [ ] superClasses , ClassDoc clazz ) { } private static boolean isAssignableFrom ( ClassDoc superClass , ClassDoc clazz ) { } public static List < String > getConsumes ( MethodDoc methodDoc , DocletOptions options ) { } public static List < String > getProduces ( MethodDoc methodDoc , DocletOptions options ) { } public static List < String > listValues ( ProgramElementDoc doc , String qualifiedAnnotationType , String annotationValueName , DocletOptions options ) { } public static boolean isPrimitive ( String type , DocletOptions options ) { } public static boolean isPrimitive ( Type type , DocletOptions options ) { } public static boolean isNumber ( Type type , DocletOptions options ) { } public static boolean hasTag ( ProgramElementDoc item , Collection < String > matchTags ) { } public static Set < String > getParamNames ( MethodDoc method ) { } public static Set < String > getMatchingParams ( MethodDoc method , Set < String > params , Collection < String > javadocTags , Collection < String > annotations , DocletOptions options ) { } public static Set < String > getParametersWithAnnotation ( Parameter [ ] params , Collection < String > annotations ) { } @ SuppressWarnings ( "javadoc" ) public static interface TypeFilter { boolean matches ( Type t ) { } } @ SuppressWarnings ( "javadoc" ) public static class NumericTypeFilter implements ParserHelper . TypeFilter { private final DocletOptions options ; public NumericTypeFilter ( DocletOptions options ) { } public boolean matches ( Type t ) { } } public static Map < String , String > getParameterValues ( MethodDoc method , Set < String > params , Collection < String > matchTags , Collection < String > annotations , ParserHelper . TypeFilter annotationTypes , DocletOptions options , String ... valueKeys ) { } public static Map < String , String > getParameterValuesWithAnnotation ( Parameter [ ] params , Collection < String > annotations , ParserHelper . TypeFilter annotationTypes , DocletOptions options , String ... valueKeys ) { Map < String , String > res = new HashMap < String , String > ( ) ; for ( Parameter p : params ) { String value = new AnnotationParser ( p , options ) . getAnnotationValue ( annotations , valueKeys ) ; <START_BUG> if ( value != null ) { <END_BUG> res . put ( p . name ( ) , value ) ; } } return res ; } public static Map < String , String > getMethodParamNameValuePairs ( MethodDoc method , Set < String > params , Collection < String > matchTags , DocletOptions options ) { } public static List < String > getCsvParams ( MethodDoc method , Set < String > params , Collection < String > matchTags , DocletOptions options ) { } public static List < String > getTagCsvValues ( ProgramElementDoc item , Collection < String > matchTags , DocletOptions options ) { } public static String getAnnotationOrTagValue ( ProgramElementDoc item , Collection < String > annotations , Collection < String > matchTags , DocletOptions options , String ... valueKeys ) { } public static String getTagValue ( ProgramElementDoc item , Collection < String > matchTags , DocletOptions options ) { } private static final Set < String > DEPRECATED_TAGS = new HashSet < String > ( ) ; private static final Set < String > DEPRECATED_ANNOTATIONS = new HashSet < String > ( ) ; public static boolean hasAnnotation ( ProgramElementDoc item , Collection < String > annotations , DocletOptions options ) { } public static boolean hasAnnotation ( Parameter item , Collection < String > annotations , DocletOptions options ) { } public static boolean hasAnnotationWithPrefix ( Parameter item , Collection < String > prefixes , DocletOptions options ) { } public static boolean hasJaxRsAnnotation ( Parameter item , DocletOptions options ) { } public static boolean isDeprecated ( ProgramElementDoc item , DocletOptions options ) { } public static boolean isDeprecated ( Parameter parameter , DocletOptions options ) { } public static List < String > getTagValues ( ProgramElementDoc item , Collection < String > matchTags , DocletOptions options ) { } public static Map < String , Type > readSeeTypes ( ProgramElementDoc item ) { }

Fix:
if ( ( value != null ) && ( ( annotationTypes == null ) || ( annotationTypes . matches ( p . type ( ) ) ) ) ) {