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

org.jadira.reflection.access.unsafe.UnsafeClassAccessFactory Maven / Gradle / Ivy

There is a newer version: 7.0.0.CR1
Show newest version
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy