naming/src/main/java/org/jboss/as/naming/context/ModularReference.java
public static ModularReference create(final Class<?> type, final RefAddr addr, final Class<?> factoryClass) {
        return create(type.getName(), addr, factoryClass);
    }
public static ModularReference create(final Class<?> type, final RefAddr addr, final Class<?> factoryClass) {
        return create(type.getName(), addr, factoryClass);
    }
Create a ModuleReference from a target type, reference address and factory class.

@param type The class type for the reference
@param addr The address of the object
@param factoryClass The factory class
@return A ModularReference