// get properties
result.addAll(Arrays.asList(Linq.select(getProperties(type, includeInherited), propertyToMemberInfo())));
// get constructors
result.addAll(Arrays.asList(Linq.select(getConstructors(type, includeInherited), constructorToMemberInfo())));
return result.toArray();
}
private static Function1<Constructor<?>, MemberInfo> constructorToMemberInfo()
{
return new Function1<Constructor<?>, MemberInfo>() {