com.hltech.pact.gen.domain.pact.BigIntegerManufacturer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType(DataProviderStrategy,AttributeMetadata,Map) 0 6 1
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