Examples of ensureAccessibility()


Examples of net.sourceforge.javautil.common.reflection.cache.ClassField.ensureAccessibility()

   * @see InterceptorCompiler
   */
  public static IInterceptorManager getManager (Object instance) {
    ClassField field = ClassCache.getFor(instance.getClass()).getField(InterceptorProxyTypeInterceptor.INTERCEPTOR_FIELD_NAME);
    if (field != null && field.getFieldType() == IInterceptorManager.class) {
      field.ensureAccessibility();
      return (IInterceptorManager) field.getValue(instance);
    }
    return null;
  }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.