org.jadira.reflection.access.unsafe.UnsafeClassAccessFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloning Show documentation
Show all versions of cloning Show documentation
Cloning for Jadira Framework
package org.jadira.reflection.access.unsafe;
import org.jadira.reflection.access.api.ClassAccess;
import org.jadira.reflection.access.api.ClassAccessFactory;
public class UnsafeClassAccessFactory implements ClassAccessFactory {
public static final ClassAccessFactory FACTORY = new UnsafeClassAccessFactory();
private UnsafeClassAccessFactory() {
}
@Override
public ClassAccess getClassAccess(Class clazz) {
return UnsafeClassAccess.get(clazz);
}
public static ClassAccessFactory get() {
return FACTORY;
}
}