001package org.jadira.reflection.access.asm; 002 003import org.jadira.reflection.access.api.ClassAccess; 004import org.jadira.reflection.access.api.ClassAccessFactory; 005 006public class AsmClassAccessFactory implements ClassAccessFactory { 007 008 public static final ClassAccessFactory FACTORY = new AsmClassAccessFactory(); 009 010 private AsmClassAccessFactory() { 011 } 012 013 @Override 014 public <C> ClassAccess<C> getClassAccess(Class<C> clazz) { 015 return AsmClassAccess.get(clazz); 016 } 017 018 public static ClassAccessFactory get() { 019 return FACTORY; 020 } 021}