Uses of Class
java.lang.ClassCastException
-
Packages that use ClassCastException Package Description java.lang.invoke Thejava.lang.invoke
package provides low-level primitives for interacting with the Java Virtual Machine.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 ClassCastException in java.lang.invoke
Methods in java.lang.invoke that throw ClassCastException Modifier and Type Method Description MethodHandle
MethodHandle. asType(MethodType newType)
Returns a MethodHandle that presents as being of MethodType newType.MethodHandle
MethodHandle. bindTo(Object value)
Bind the value as the first argument to the MethodHandlestatic MethodHandle
MethodHandles. constant(Class<?> returnType, Object constantValue)
Create a MethodHandle that returns the constantValue on each invocation.Object
MethodHandle. invoke(Object... args)
Invoke the receiver MethodHandle against the supplied arguments.Object
MethodHandle. invokeWithArguments(Object... args)
Invoke the MethodHandle using an Object[] of arguments.Object
MethodHandle. invokeWithArguments(List<?> args)
Helper method to callMethodHandle.invokeWithArguments(Object[])
.static <T extends Member>
TMethodHandles. reflectAs(Class<T> expected, MethodHandle target)
Gets the underlying Member of the providedtarget
MethodHandle.Constructors in java.lang.invoke that throw ClassCastException Constructor Description ConstantCallSite(MethodType targetType, MethodHandle hook)
Create a ConstantCallSite and assign the hook MethodHandle's result to its permanent target. -
Uses of ClassCastException in org.w3c.dom.bootstrap
Methods in org.w3c.dom.bootstrap that throw ClassCastException Modifier and Type Method Description static DOMImplementationRegistry
DOMImplementationRegistry. newInstance()
Obtain a new instance of aDOMImplementationRegistry
. -
Uses of ClassCastException in org.xml.sax.helpers
Methods in org.xml.sax.helpers that throw ClassCastException 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.
-