private static boolean isArrayFromUbiquitousMethod ( OpcodeStack . Item item ) { XMethod method = item . getReturnValueOf ( ) ; if ( method == null ) { return false ; } FQMethod methodDesc = new FQMethod ( method . getClassName ( ) . replace ( ' ' , ' ' ) , method . getName ( ) , method . getSignature ( ) ) ; return ubiquitousMethods . contains ( methodDesc ) ; }
returns whether the array item was returned from a common method that the user can t do anything about and so don t report CLI in this case .