Uses of Class
java.lang.NoSuchMethodException
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Provides the definition of the Relation Service.
The scripting API consists of interfaces and classes that define
Java Scripting Engines and provides
a framework for their use in Java applications.
-
Uses of NoSuchMethodException in java.lang
Modifier and TypeMethodDescriptionClass.getConstructor(Class<?>... parameterTypes)
Returns aConstructor
object that reflects the specified public constructor of the class represented by thisClass
object.Class.getDeclaredConstructor(Class<?>... parameterTypes)
Returns aConstructor
object that reflects the specified constructor of the class or interface represented by thisClass
object.Class.getDeclaredMethod(String name, Class<?>... parameterTypes)
Returns aMethod
object that reflects the specified declared method of the class or interface represented by thisClass
object.Returns aMethod
object that reflects the specified public member method of the class or interface represented by thisClass
object. -
Uses of NoSuchMethodException in java.lang.invoke
Modifier and TypeMethodDescriptionMethodHandles.Lookup.bind(Object receiver, String name, MethodType type)
Produces an early-bound method handle for a non-static method.MethodHandles.Lookup.findConstructor(Class<?> refc, MethodType type)
Produces a method handle which creates an object and initializes it, using the constructor of the specified type.MethodHandles.Lookup.findSpecial(Class<?> refc, String name, MethodType type, Class<?> specialCaller)
Produces an early-bound method handle for a virtual method.MethodHandles.Lookup.findStatic(Class<?> refc, String name, MethodType type)
Produces a method handle for a static method.MethodHandles.Lookup.findVirtual(Class<?> refc, String name, MethodType type)
Produces a method handle for a virtual method. -
Uses of NoSuchMethodException in javax.management.relation
Modifier and TypeMethodDescriptionvoid
RelationService.addRelation(ObjectName relationObjectName)
Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.void
RelationServiceMBean.addRelation(ObjectName relationObjectName)
Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service. -
Uses of NoSuchMethodException in javax.script
Modifier and TypeMethodDescriptionInvocable.invokeFunction(String name, Object... args)
Used to call top-level procedures and functions defined in scripts.Invocable.invokeMethod(Object thiz, String name, Object... args)
Calls a method on a script object compiled during a previous script execution, which is retained in the state of theScriptEngine
.