All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.maxmind.db.CachedConstructor Maven / Gradle / Ivy

package com.maxmind.db;

import java.lang.reflect.Constructor;
import java.util.Map;

final class CachedConstructor {
    private final Constructor constructor;
    private final Class[] parameterTypes;
    private final java.lang.reflect.Type[] parameterGenericTypes;
    private final Map parameterIndexes;

    CachedConstructor(
        Constructor constructor,
        Class[] parameterTypes,
        java.lang.reflect.Type[] parameterGenericTypes,
        Map parameterIndexes
    ) {
        this.constructor = constructor;
        this.parameterTypes = parameterTypes;
        this.parameterGenericTypes = parameterGenericTypes;
        this.parameterIndexes = parameterIndexes;
    }

    Constructor getConstructor() {
        return this.constructor;
    }

    Class[] getParameterTypes() {
        return this.parameterTypes;
    }

    java.lang.reflect.Type[] getParameterGenericTypes() {
        return this.parameterGenericTypes;
    }

    Map getParameterIndexes() {
        return this.parameterIndexes;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy