Function object to get statements from a Java build resource.
Function object apply method to get statements from a Java build resource.