public static < C > PortableClassAccess < C > get ( Class < C > clazz ) { @ SuppressWarnings ( "unchecked" ) PortableClassAccess < C > access = ( PortableClassAccess < C > ) CLASS_ACCESSES . get ( clazz ) ; if ( access != null ) { return access ; } access = new PortableClassAccess < C > ( clazz ) ; CLASS_ACCESSES . putIfAbsent ( clazz , access ) ; return access ; }
Get a new instance that can access the given Class . If the ClassAccess for this class has not been obtained before then the specific PortableClassAccess is created by generating a specialised subclass of this class and returning it .