public static Set < Annotation > buildQualifiers ( Set < Annotation > annotations ) { Set < Annotation > qualifiers = new HashSet < Annotation > ( annotations ) ; if ( annotations . isEmpty ( ) ) { qualifiers . add ( DefaultLiteral . INSTANCE ) ; } qualifiers . add ( AnyLiteral . INSTANCE ) ; return qualifiers ; }
Returns a new set with