Uses of Class
java.lang.IllegalAccessException
| Package | Description |
|---|---|
| java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
| java.lang.invoke |
The
java.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 of
DOMImplementation. |
| 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 TClass. newInstance()Deprecated.This method propagates any exception thrown by the nullary constructor, including a checked exception. -
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)Determines if a class can be accessed from the lookup context defined by thisLookupobject.MethodHandleMethodHandles.Lookup. bind(Object receiver, String name, MethodType type)Produces an early-bound method handle for a non-static method.Class<?>MethodHandles.Lookup. defineClass(byte[] bytes)Defines a class to the same class loader and in the same runtime package and protection domain as this lookup's lookup class.Class<?>MethodHandles.Lookup. findClass(String targetName)Looks up a class by name from the lookup context defined by thisLookupobject, as if resolved by anldcinstruction.MethodHandleMethodHandles.Lookup. findConstructor(Class<?> refc, MethodType type)Produces a method handle which creates an object and initializes it, using the constructor of the specified type.MethodHandleMethodHandles.Lookup. findGetter(Class<?> refc, String name, Class<?> type)Produces a method handle giving read access to a non-static field.MethodHandleMethodHandles.Lookup. findSetter(Class<?> refc, String name, Class<?> type)Produces a method handle giving write access to a non-static field.MethodHandleMethodHandles.Lookup. findSpecial(Class<?> refc, String name, MethodType type, Class<?> specialCaller)Produces an early-bound method handle for a virtual method.MethodHandleMethodHandles.Lookup. findStatic(Class<?> refc, String name, MethodType type)Produces a method handle for a static method.MethodHandleMethodHandles.Lookup. findStaticGetter(Class<?> refc, String name, Class<?> type)Produces a method handle giving read access to a static field.MethodHandleMethodHandles.Lookup. findStaticSetter(Class<?> refc, String name, Class<?> type)Produces a method handle giving write access to a static field.VarHandleMethodHandles.Lookup. findStaticVarHandle(Class<?> decl, String name, Class<?> type)Produces a VarHandle giving access to a static fieldnameof typetypedeclared in a class of typedecl.VarHandleMethodHandles.Lookup. findVarHandle(Class<?> recv, String name, Class<?> type)Produces a VarHandle giving access to a non-static fieldnameof typetypedeclared in a class of typerecv.MethodHandleMethodHandles.Lookup. findVirtual(Class<?> refc, String name, MethodType type)Produces a method handle for a virtual method.static MethodHandles.LookupMethodHandles. privateLookupIn(Class<?> targetClass, MethodHandles.Lookup caller)Returns alookupobject on a target class to emulate all supported bytecode behaviors, including private access.MethodHandleMethodHandles.Lookup. unreflect(Method m)Makes a direct method handle to m, if the lookup class has permission.MethodHandleMethodHandles.Lookup. unreflectConstructor(Constructor<?> c)Produces a method handle for a reflected constructor.MethodHandleMethodHandles.Lookup. unreflectGetter(Field f)Produces a method handle giving read access to a reflected field.MethodHandleMethodHandles.Lookup. unreflectSetter(Field f)Produces a method handle giving write access to a reflected field.MethodHandleMethodHandles.Lookup. unreflectSpecial(Method m, Class<?> specialCaller)Produces a method handle for a reflected method.VarHandleMethodHandles.Lookup. unreflectVarHandle(Field f)Produces a VarHandle giving access to a reflected fieldfof typeTdeclared in a class of typeR. -
Uses of IllegalAccessException in java.lang.reflect
Methods in java.lang.reflect that throw IllegalAccessException Modifier and Type Method Description ObjectField. get(Object obj)Returns the value of the field represented by thisField, on the specified object.booleanField. getBoolean(Object obj)Gets the value of a static or instancebooleanfield.byteField. getByte(Object obj)Gets the value of a static or instancebytefield.charField. getChar(Object obj)Gets the value of a static or instance field of typecharor of another primitive type convertible to typecharvia a widening conversion.doubleField. getDouble(Object obj)Gets the value of a static or instance field of typedoubleor of another primitive type convertible to typedoublevia a widening conversion.floatField. getFloat(Object obj)Gets the value of a static or instance field of typefloator of another primitive type convertible to typefloatvia a widening conversion.intField. getInt(Object obj)Gets the value of a static or instance field of typeintor of another primitive type convertible to typeintvia a widening conversion.longField. getLong(Object obj)Gets the value of a static or instance field of typelongor of another primitive type convertible to typelongvia a widening conversion.shortField. getShort(Object obj)Gets the value of a static or instance field of typeshortor of another primitive type convertible to typeshortvia a widening conversion.ObjectMethod. invoke(Object obj, Object... args)Invokes the underlying method represented by thisMethodobject, on the specified object with the specified parameters.TConstructor. newInstance(Object... initargs)Uses the constructor represented by thisConstructorobject to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters.voidField. set(Object obj, Object value)Sets the field represented by thisFieldobject on the specified object argument to the specified new value.voidField. setBoolean(Object obj, boolean z)Sets the value of a field as abooleanon the specified object.voidField. setByte(Object obj, byte b)Sets the value of a field as abyteon the specified object.voidField. setChar(Object obj, char c)Sets the value of a field as acharon the specified object.voidField. setDouble(Object obj, double d)Sets the value of a field as adoubleon the specified object.voidField. setFloat(Object obj, float f)Sets the value of a field as afloaton the specified object.voidField. setInt(Object obj, int i)Sets the value of a field as aninton the specified object.voidField. setLong(Object obj, long l)Sets the value of a field as alongon the specified object.voidField. setShort(Object obj, short s)Sets the value of a field as ashorton the specified object. -
Uses of IllegalAccessException in java.util
Methods in java.util that throw IllegalAccessException Modifier and Type Method Description ResourceBundleResourceBundle.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 voidUIManager. setLookAndFeel(String className)Loads theLookAndFeelspecified 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 DOMImplementationRegistryDOMImplementationRegistry. 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 ParserParserFactory. makeParser()Deprecated.Create a new SAX parser using the `org.xml.sax.parser' system property.static ParserParserFactory. makeParser(String className)Deprecated.Create a new SAX parser object using the class name provided.