Uses of Class
java.lang.IllegalAccessException
-
Packages that use IllegalAccessException Package Description java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.invoke Thejava.lang.invoke
package provides low-level primitives for interacting with the Java Virtual Machine.java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.org.w3c.dom.bootstrap Provides a factory for obtaining instances ofDOMImplementation
.org.xml.sax.helpers Provides helper classes, including support for bootstrapping SAX-based applications. -
-
Uses of IllegalAccessException in java.lang
Methods in java.lang that throw IllegalAccessException Modifier and Type Method Description T
Class. newInstance()
Deprecated. -
Uses of IllegalAccessException in java.lang.invoke
Methods in java.lang.invoke that throw IllegalAccessException Modifier and Type Method Description Class<?>
MethodHandles.Lookup. accessClass(Class<?> targetClass)
Tells whether the target class is accessible to the lookup class.MethodHandle
MethodHandles.Lookup. bind(Object receiver, String methodName, MethodType type)
Return an early-bound method handle to a non-static method.Class<?>
MethodHandles.Lookup. defineClass(byte[] classBytes)
Return a class object with the same class loader, the same package and the same protection domain as the lookup's lookup class.Class<?>
MethodHandles.Lookup. findClass(String targetName)
Search the target class by class name via the lookup context.MethodHandle
MethodHandles.Lookup. findConstructor(Class<?> declaringClass, MethodType type)
Return a MethodHandle that will create an object of the required class and initialize it using the constructor method with signature type.MethodHandle
MethodHandles.Lookup. findGetter(Class<?> clazz, String fieldName, Class<?> fieldType)
Return a MethodHandle that provides read access to a field.MethodHandle
MethodHandles.Lookup. findSetter(Class<?> clazz, String fieldName, Class<?> fieldType)
Return a MethodHandle that provides write access to a field.MethodHandle
MethodHandles.Lookup. findSpecial(Class<?> clazz, String methodName, MethodType type, Class<?> specialToken)
Return a MethodHandle bound to a specific-implementation of a virtual method, as if created by an invokespecial bytecode using the class specialToken.MethodHandle
MethodHandles.Lookup. findStatic(Class<?> clazz, String methodName, MethodType type)
Return a MethodHandle to a static method.MethodHandle
MethodHandles.Lookup. findStaticGetter(Class<?> clazz, String fieldName, Class<?> fieldType)
Return a MethodHandle that provides read access to a field.MethodHandle
MethodHandles.Lookup. findStaticSetter(Class<?> clazz, String fieldName, Class<?> fieldType)
Return a MethodHandle that provides write access to a field.VarHandle
MethodHandles.Lookup. findStaticVarHandle(Class<?> definingClass, String name, Class<?> type)
Factory method for obtaining a VarHandle referencing a static field.VarHandle
MethodHandles.Lookup. findVarHandle(Class<?> definingClass, String name, Class<?> type)
Factory method for obtaining a VarHandle referencing a non-static field.MethodHandle
MethodHandles.Lookup. findVirtual(Class<?> clazz, String methodName, MethodType type)
Return a MethodHandle to a virtual method.static MethodHandles.Lookup
MethodHandles. privateLookupIn(Class<?> targetClass, MethodHandles.Lookup callerLookup)
Return a MethodHandles.Lookup object with full capabilities including the access to theprivate
members in the requested classMethodHandle
MethodHandles.Lookup. unreflect(Method method)
Make a MethodHandle to the Reflect method.MethodHandle
MethodHandles.Lookup. unreflectConstructor(Constructor<?> method)
Return a MethodHandle for the reflect constructor.MethodHandle
MethodHandles.Lookup. unreflectGetter(Field field)
Create a MethodHandle that returns the value of the Reflect field.MethodHandle
MethodHandles.Lookup. unreflectSetter(Field field)
Create a MethodHandle that sets the value of the Reflect field.MethodHandle
MethodHandles.Lookup. unreflectSpecial(Method method, Class<?> specialToken)
Return a MethodHandle for the Reflect method, that will directly call the requested method as through from the classspecialToken
.VarHandle
MethodHandles.Lookup. unreflectVarHandle(Field field)
Create aVarHandle
that operates on the field represented by thereflect field
. -
Uses of IllegalAccessException in java.lang.reflect
Methods in java.lang.reflect that throw IllegalAccessException Modifier and Type Method Description Object
Field. get(Object obj)
Returns the value of the field represented by thisField
, on the specified object.boolean
Field. getBoolean(Object obj)
Gets the value of a static or instanceboolean
field.byte
Field. getByte(Object obj)
Gets the value of a static or instancebyte
field.char
Field. getChar(Object obj)
Gets the value of a static or instance field of typechar
or of another primitive type convertible to typechar
via a widening conversion.double
Field. getDouble(Object obj)
Gets the value of a static or instance field of typedouble
or of another primitive type convertible to typedouble
via a widening conversion.float
Field. getFloat(Object obj)
Gets the value of a static or instance field of typefloat
or of another primitive type convertible to typefloat
via a widening conversion.int
Field. getInt(Object obj)
Gets the value of a static or instance field of typeint
or of another primitive type convertible to typeint
via a widening conversion.long
Field. getLong(Object obj)
Gets the value of a static or instance field of typelong
or of another primitive type convertible to typelong
via a widening conversion.short
Field. getShort(Object obj)
Gets the value of a static or instance field of typeshort
or of another primitive type convertible to typeshort
via a widening conversion.Object
Method. invoke(Object obj, Object... args)
Invokes the underlying method represented by thisMethod
object, on the specified object with the specified parameters.T
Constructor. newInstance(Object... initargs)
Uses the constructor represented by thisConstructor
object to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters.void
Field. set(Object obj, Object value)
Sets the field represented by thisField
object on the specified object argument to the specified new value.void
Field. setBoolean(Object obj, boolean z)
Sets the value of a field as aboolean
on the specified object.void
Field. setByte(Object obj, byte b)
Sets the value of a field as abyte
on the specified object.void
Field. setChar(Object obj, char c)
Sets the value of a field as achar
on the specified object.void
Field. setDouble(Object obj, double d)
Sets the value of a field as adouble
on the specified object.void
Field. setFloat(Object obj, float f)
Sets the value of a field as afloat
on the specified object.void
Field. setInt(Object obj, int i)
Sets the value of a field as anint
on the specified object.void
Field. setLong(Object obj, long l)
Sets the value of a field as along
on the specified object.void
Field. setShort(Object obj, short s)
Sets the value of a field as ashort
on the specified object. -
Uses of IllegalAccessException in java.util
Methods in java.util that throw IllegalAccessException Modifier and Type Method Description ResourceBundle
ResourceBundle.Control. newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)
Instantiates a resource bundle for the given bundle name of the given format and locale, using the given class loader if necessary. -
Uses of IllegalAccessException in javax.swing
Methods in javax.swing that throw IllegalAccessException Modifier and Type Method Description static void
UIManager. setLookAndFeel(String className)
Loads theLookAndFeel
specified by the given class name, using the current thread's context class loader, and passes it tosetLookAndFeel(LookAndFeel)
. -
Uses of IllegalAccessException in org.w3c.dom.bootstrap
Methods in org.w3c.dom.bootstrap that throw IllegalAccessException Modifier and Type Method Description static DOMImplementationRegistry
DOMImplementationRegistry. newInstance()
Obtain a new instance of aDOMImplementationRegistry
. -
Uses of IllegalAccessException in org.xml.sax.helpers
Methods in org.xml.sax.helpers that throw IllegalAccessException Modifier and Type Method Description static Parser
ParserFactory. makeParser()
Deprecated.Create a new SAX parser using the `org.xml.sax.parser' system property.static Parser
ParserFactory. makeParser(String className)
Deprecated.Create a new SAX parser object using the class name provided.
-