Reviewed By: jvillard, cristianoc Differential Revision: D2647011 fb-gh-sync-id: fb23901master
parent
d545da14c1
commit
f2ba1b1c76
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
package java.io;
|
||||
|
||||
import com.facebook.infer.models.InferUndefined;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public class File {
|
||||
|
||||
public @Nullable File[] listFiles() {
|
||||
if (InferUndefined.boolean_undefined()) {
|
||||
return null;
|
||||
} else {
|
||||
return new File[InferUndefined.int_undefined()];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in new issue