Passed
Push — master ( 664253...f8d759 )
by Filip
05:17
created

getType(DataProviderStrategy,AttributeMetadata,Map)   A

Complexity

Conditions 1

Size

Total Lines 6
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 6
c 1
b 0
f 0
dl 0
loc 6
rs 10
1
package com.hltech.pact.gen.domain.pact;
2
3
import uk.co.jemos.podam.api.AttributeMetadata;
4
import uk.co.jemos.podam.api.DataProviderStrategy;
5
import uk.co.jemos.podam.typeManufacturers.AbstractTypeManufacturer;
6
import uk.co.jemos.podam.typeManufacturers.IntTypeManufacturerImpl;
7
8
import java.lang.reflect.Type;
9
import java.math.BigInteger;
10
import java.util.Map;
11
12
public class BigIntegerManufacturer extends AbstractTypeManufacturer<BigInteger> {
13
14
    @Override
15
    public BigInteger getType(DataProviderStrategy strategy,
16
                              AttributeMetadata attributeMetadata,
17
                              Map<String, Type> genericTypesArgumentsMap) {
18
        return BigInteger.valueOf(
19
            new IntTypeManufacturerImpl().getType(strategy, attributeMetadata, genericTypesArgumentsMap));
20
    }
21
}
22