/** * Creates the allocator class name and property map for a constructor function with the specified * number of "this" properties that it initializes. * @param thisProperties number of properties assigned to "this" * @return the allocation strategy */ static AllocationStrategy createAllocationStrategy(final int thisProperties, final boolean dualFields) { final int paddedFieldCount = getPaddedFieldCount(thisProperties); return new AllocationStrategy(paddedFieldCount, dualFields); }