APIdia Launch Partner
Top Constructors Methods
com.sun.javafx.reflect

public final Class ReflectUtil

extends Object
Class Inheritance
Imports
com.sun.javafx.SecurityUtil, java.lang.reflect.Proxy

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
checkPackageAccess(Class<?> clazz)

Checks package access on the given class.

public static void
checkPackageAccess(String name)

Checks package access on the given classname.

public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ReflectUtilback to summary
private ReflectUtil()

Method Detail

checkPackageAccessback to summary
public static void checkPackageAccess(Class<?> clazz)

Checks package access on the given class. If it is a Proxy#isProxyClass(java.lang.Class) that implements a non-public interface (i.e. may be in a non-restricted package), also check the package access on the proxy interfaces.

checkPackageAccessback to summary
public static void checkPackageAccess(String name)

Checks package access on the given classname. This method is typically called when the Class instance is not available and the caller attempts to load a class on behalf the true caller (application).

isPackageAccessibleback to summary
public static boolean isPackageAccessible(Class<?> clazz)