A B C D F G H I M N O P R S T U V

A

As - Annotation Type in ovm.polyd.tags
Use this tag when you want an argument to be interpreted as an instance of the given class, rather than according to its true runtime class.

B

bestMatch(Class[], Method[], Object[], Class[], Method, String) - Method in class ovm.polyd.policy.Dispatching
Dynamically selects the most appropriate method for a certain combination of arguments.
bestMatch(Class[], Method[]) - Method in class ovm.polyd.policy.Dispatching
Dynamically selects the most appropriate method for a certain combination of arguments.
bestMatch(Class[], Method[]) - Method in class ovm.polyd.policy.MultiDisp
 
bestMatch(Class[], Method[]) - Method in class ovm.polyd.policy.NonSubsump
 
bestMatch(Class[], Method[]) - Method in class ovm.polyd.policy.Overloading
 
bestMatch(Class[], Method[]) - Method in class ovm.polyd.runemu.RunaboutDisp
 
build(Class<T>, Object...) - Static method in class ovm.polyd.PolyD
Creates a new dispatcher.
buildFromDescriptor(Class<T>, Object...) - Static method in class ovm.polyd.PolyD
Creates a new dispatcher from a registered Descriptor.
buildSpecial(Class<T>, Class<K>, Object[], Class[]) - Static method in class ovm.polyd.PolyD
Deprecated. Use PolyD.build(java.lang.Class, java.lang.Object...) instead.
buildSpecialFromDescriptor(Class<T>, Class<K>) - Static method in class ovm.polyd.PolyD
Deprecated. Use PolyD.buildFromDescriptor(java.lang.Class, java.lang.Object...) instead.
buildSpecialFromDescriptor(Class<T>, Class<K>, Object[], Class[]) - Static method in class ovm.polyd.PolyD
Deprecated. Use PolyD.buildFromDescriptor(java.lang.Class, java.lang.Object...) instead.

C

classArrayDiff(Class[], Class[]) - Static method in class ovm.polyd.Utils
Compares two arrays of classes.
classArrayDiff(Class[], Class[], Class[]) - Static method in class ovm.polyd.Utils
Compares two arrays of classes, and attempts to build an array that is a subclass of both arrays.
classDiff(Class, Class) - Static method in class ovm.polyd.Utils
Compares two classes.
compatibleSet(Class[], Method[], Class[], Method, String) - Method in class ovm.polyd.policy.Dispatching
Performs a static preselection on a set of methods, and/or a consistency check.
compatibleSet(Class[], Method[]) - Method in class ovm.polyd.policy.Dispatching
Performs a static preselection on a set of methods, and/or a consistency check.
compatibleSet(Class[], Method[]) - Method in class ovm.polyd.policy.MultiDisp
 
compatibleSet(Class[], Method[]) - Method in class ovm.polyd.policy.NonSubsump
 
compatibleSet(Class[], Method[]) - Method in class ovm.polyd.policy.Overloading
 

D

DebuggingInvocation - Class in ovm.polyd.policy
An invocation policy that prints on the standard output all the method invocations, and the return values.
Descriptor<T> - Class in ovm.polyd
Accumulates information about the new dispatcher.
Descriptor(Class<T>, Class[]) - Constructor for class ovm.polyd.Descriptor
Creates a new Descriptor, given the interface and the list of classes that will be used by the bodies.
disableCaching() - Method in class ovm.polyd.policy.Dispatching
Disables method caching for this policy.
DispatcherCreationException - Exception in ovm.polyd
This exception is thrown if an error condition is detected by PolyD during the creation of a new dispatcher.
Dispatching - Class in ovm.polyd.policy
The common superclass of all dispatching policies.
DispatchingPolicy - Annotation Type in ovm.polyd.tags
Use this tag to specify the dispatching policy that should be used for the whole interface, or for individual messages.

F

Factory - Class in ovm.polyd
Used to create manually new instances of the desired dispatcher.

G

getDispatcher1(Object) - Method in class ovm.polyd.Factory
If you have only one body, use this method to create the new dispatcher.
getDispatcher2(Object, Object) - Method in class ovm.polyd.Factory
If you have two bodies, use this method to create the new dispatcher.
getDispatcher3(Object, Object, Object) - Method in class ovm.polyd.Factory
If you have three bodies, use this method to create the new dispatcher.
getDispatcher4(Object, Object, Object, Object) - Method in class ovm.polyd.Factory
If you have four bodies, use this method to create the new dispatcher.
getDispatcherN(Object[]) - Method in class ovm.polyd.Factory
If you have more than four bodies, use this method to create the new dispatcher.
guru - Variable in error ovm.polyd.InternalError
The internal code of this error.

H

handleMissing(Class[], Method[], Object[], Class[], Method, String) - Method in class ovm.polyd.policy.Dispatching
Handles messages which cannot be dispatched to any method, according to the current dispatching policy.
handleMissing(Class[], Method[]) - Method in class ovm.polyd.policy.Dispatching
Handles messages which cannot be dispatched to any method, according to the current dispatching policy.

I

IfNull - Annotation Type in ovm.polyd.tags
Use this tag to specify the interpretation of null arguments.
InternalError - Error in ovm.polyd
This error is thrown if an unexpected internal error is detected during the execution of PolyD.
Invocation - Class in ovm.polyd.policy
The common superclass of all invocation policies.
InvocationPolicy - Annotation Type in ovm.polyd.tags
Use this tag to specify the invocation policy that should be used for the whole interface, or for individual messages.
invoke(Object, Method, Object[]) - Method in class ovm.polyd.policy.DebuggingInvocation
 
invoke(Object, Method, Object[]) - Method in class ovm.polyd.policy.Invocation
Invoke one method, using the given argument, performing additional actions whenever necessary.
invoke(Object, Method, Object[]) - Method in class ovm.polyd.policy.PlainInvocation
 
invoke(Object, Method, Object[]) - Method in class ovm.polyd.runemu.RunaboutLogInvocation
 
invoke(Object, Method, Object[]) - Method in class ovm.polyd.runemu.RunaboutStatInvocation
 
isEqualOrSub(Class, Class) - Static method in class ovm.polyd.Utils
Compares two classes, and determines whether the first one is equal or a subclass or the second.
isEqualOrSubArrayNull(Class[], Class[]) - Static method in class ovm.polyd.Utils
Compares two arrays of classes, and determines whether each element of the first is equal or a subclass of the second.
isThere(Class[], Method[]) - Static method in class ovm.polyd.Utils
Determines whether any of those methods has has a given combination of formal parameters.

M

methodString(Method) - Static method in class ovm.polyd.Utils
Generates a user-friendly string representation of a method.
Missing - Enum in ovm.polyd
The set of possible values for the OnMissing tag.
MissingMethodException - Exception in ovm.polyd
Thrown if a message with no corresponding method cannot be handled in other ways.
MultiDisp - Class in ovm.polyd.policy
This class implements multidispatching, as a PolyD dispatching policy.
MultiDisp.MultiDispException - Exception in ovm.polyd.policy
Thrown by MultiDisp if an error condition is detected.

N

Name - Annotation Type in ovm.polyd.tags
Use this tag to change the interpretation of a message or method name.
NonSubsump - Class in ovm.polyd.policy
This class implements a non-subsumptive dispatcher, as a PolyD dispatching policy.
NonSubsump.NonSubsumpException - Exception in ovm.polyd.policy
Thrown by NonSubsump if an error condition is detected.

O

OnMissing - Annotation Type in ovm.polyd.tags
Use this tag to specify the handling of messages that do not have any corresponding methods according to the current dispatching policy.
Overloading - Class in ovm.polyd.policy
This class implements overloading, as a PolyD dispatching policy.
Overloading.OverloadingException - Exception in ovm.polyd.policy
Thrown by Overloading if an error condition is detected.
ovm.polyd - package ovm.polyd
Provides the core functionalities of PolyD.
ovm.polyd.policy - package ovm.polyd.policy
Provides a library of standard policy for use with PolyD.
ovm.polyd.runemu - package ovm.polyd.runemu
Implements the Runabout Emulation Layer for PolyD.
ovm.polyd.tags - package ovm.polyd.tags
Provides the annotations used to build PolyD tags.

P

PlainInvocation - Class in ovm.polyd.policy
An invocation policy that simply invokes methods (for testing only).
PolicyException - Exception in ovm.polyd
This exception should be thrown by the policy if an inconsistent set of methods is detected (duplicate methods, for instance, or ambiguities).
PolicyException(String) - Constructor for exception ovm.polyd.PolicyException
Constructs a new exception with the specified detail message.
PolicyException() - Constructor for exception ovm.polyd.PolicyException
Constructs a new exception with null as its detail message.
PolicyException(Throwable) - Constructor for exception ovm.polyd.PolicyException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()).
PolicyException(String, Throwable) - Constructor for exception ovm.polyd.PolicyException
Constructs a new exception with the specified detail message and cause.
PolyD - Class in ovm.polyd
The main class of PolyD: use the methods of this class to build new dispatchers.
PolyD - Annotation Type in ovm.polyd.tags
Use this tag to mark the interfaces that should be used to build PolyD dispatchers.
PolyDException - Exception in ovm.polyd
This class of exceptions is thrown by PolyD or its modules, including the dispatching and invocation policies, whenever something goes wrong.
Preload - Annotation Type in ovm.polyd.tags
This tag is used to pre-initialize the dispatching cache at dispatcher-building time (and to perform early consistency checks).
prepare(Class) - Static method in class ovm.polyd.runemu.RunaboutQuick
Prepares a new Factory, in order to create dispatchers that use RunaboutQuick.
printStats() - Static method in class ovm.polyd.runemu.RunaboutStat
Prints a summary of dispatchers and the messages that they have dispatched so far.
printStats() - Static method in class ovm.polyd.runemu.RunaboutStatInvocation
Prints statistics about the invocations performed so far using this invocation policy.

R

Raw - Annotation Type in ovm.polyd.tags
Use this tag to mark raw arguments.
register() - Method in class ovm.polyd.Descriptor
Generates a new Factory, registering this Descriptor.
registerSpecial() - Method in class ovm.polyd.Descriptor
Deprecated. Use Descriptor.register() instead.
remapNull(Class[], Method[], Object[], Class[], Method, String) - Method in class ovm.polyd.policy.Dispatching
Remaps the arguments when an unexpected null argument is encountered.
remapNull(Class[], Method[]) - Method in class ovm.polyd.policy.Dispatching
Remaps the arguments when an unexpected null argument is encountered.
Runabout - Class in ovm.polyd.runemu
Simple runabout emulation.
Runabout() - Constructor for class ovm.polyd.runemu.Runabout
 
RunaboutBase - Interface in ovm.polyd.runemu
Simple general interface for Runabout emulation.
RunaboutBase2 - Interface in ovm.polyd.runemu
Simplified interface for Runabout emulation.
RunaboutBis - Class in ovm.polyd.runemu
An accurate Runabout emulation, this class can be used as a "drop-in" replacement.
RunaboutCore - Class in ovm.polyd.runemu
A general Runabout emulation, this class can be used as a "drop-in" replacement.
RunaboutDisp - Class in ovm.polyd.runemu
A dispatching policy that reproduces the method selection policy used by the original Runabout.
RunaboutDisp() - Constructor for class ovm.polyd.runemu.RunaboutDisp
 
RunaboutException - Exception in ovm.polyd.runemu
Thrown by the Runabout emulations if an unsupported call is made, or some other error condition is detected.
RunaboutLogInvocation - Class in ovm.polyd.runemu
A logging invocation policy suitable to print a trace of all visit methods in a Runabout emulation.
RunaboutLogInvocation() - Constructor for class ovm.polyd.runemu.RunaboutLogInvocation
 
RunaboutQuick - Class in ovm.polyd.runemu
A Runabout emulation that uses PolyD factories to speed up the construction of new dispatchers.
RunaboutStat - Class in ovm.polyd.runemu
A Runabout emulation that will gather statistics while it runs.
RunaboutStatInvocation - Class in ovm.polyd.runemu
An invocation policy that keeps track of the number of invocations performed.

S

Self - Annotation Type in ovm.polyd.tags
Use this tag to mark the fields in the implementing bodies that you would like to auto-initialize when a new dispatcher, implementing the class of this field, is created.
Seq - Annotation Type in ovm.polyd.tags
This tag is a part of the @Preload specification, and it is never used alone.
setDispatching(Class) - Method in class ovm.polyd.Descriptor
Sets the default dispatching policy of this Descriptor
setInvocation(Class) - Method in class ovm.polyd.Descriptor
Sets the default invocation policy of this Descriptor
setMethodAsClasses(Method, Class[]) - Method in class ovm.polyd.Descriptor
Sets the list of forced classes of a prototype.
setMethodDispatching(Method, Class) - Method in class ovm.polyd.Descriptor
Sets the dispatching policy of a single prototype.
setMethodInvocation(Method, Class) - Method in class ovm.polyd.Descriptor
Sets the invocation policy of a single prototype.
setMethodMissingHandling(Method, Missing) - Method in class ovm.polyd.Descriptor
Sets the missing method handling of a single prototype.
setMethodName(Method, String) - Method in class ovm.polyd.Descriptor
Sets the alternate name of a prototype.
setMethodNullDefaults(Method, Class[]) - Method in class ovm.polyd.Descriptor
Sets the list of defaults for null arguments in the prototype.
setMethodPreload(Method, Object[][]) - Method in class ovm.polyd.Descriptor
Sets the list of defaults for null arguments in the prototype.
setMethodRawClasses(Method, boolean[]) - Method in class ovm.polyd.Descriptor
Sets the list of raw arguments in the prototype.
setMissingHandling(Missing) - Method in class ovm.polyd.Descriptor
Sets the default missing method handling of this Descriptor
setSelfField(Field) - Method in class ovm.polyd.Descriptor
Marks this field as a self field.

T

the$$$Dispatcher - Variable in class ovm.polyd.runemu.RunaboutQuick
Internal use only.
theDispatcher() - Static method in class ovm.polyd.policy.Dispatching
Returns an instance of this dispatching policy.
theDispatcher() - Static method in class ovm.polyd.policy.MultiDisp
Returns an instance of this dispatching policy.
theDispatcher() - Static method in class ovm.polyd.policy.NonSubsump
Returns an instance of this dispatching policy.
theDispatcher() - Static method in class ovm.polyd.policy.Overloading
Returns an instance of this dispatching policy.
theDispatcher() - Static method in class ovm.polyd.runemu.RunaboutDisp
Returns an instance of this dispatching policy.
theInvocation() - Static method in class ovm.polyd.policy.DebuggingInvocation
Returns an instance of this invocation policy.
theInvocation() - Static method in class ovm.polyd.policy.Invocation
Returns an instance of this invocation policy.
theInvocation() - Static method in class ovm.polyd.policy.PlainInvocation
Returns an instance of this invocation policy.
theInvocation() - Static method in class ovm.polyd.runemu.RunaboutLogInvocation
Returns an instance of this invocation policy.
theInvocation() - Static method in class ovm.polyd.runemu.RunaboutStatInvocation
Returns an instance of this invocation policy.
toString() - Method in exception ovm.polyd.DispatcherCreationException
A textual representation of this error condition.
toString() - Method in error ovm.polyd.InternalError
A textual representation of this error condition.
toString() - Method in class ovm.polyd.policy.Dispatching
Returns the name of this dispatcher
toString() - Method in class ovm.polyd.policy.MultiDisp
 
toString() - Method in class ovm.polyd.policy.NonSubsump
 
toString() - Method in class ovm.polyd.policy.Overloading
 
toString() - Method in class ovm.polyd.runemu.RunaboutDisp
 
trouble - Variable in exception ovm.polyd.DispatcherCreationException
The internal code of this exception.

U

Utils - Class in ovm.polyd
A convenience class that implements a few handy utilities.
Utils.Diff - Enum in ovm.polyd
Used to describe the result of a comparison between two classes or arrays of classes.

V

valueOf(String) - Static method in enum ovm.polyd.Missing
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ovm.polyd.Utils.Diff
Returns the enum constant of this type with the specified name.
values() - Static method in enum ovm.polyd.Missing
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum ovm.polyd.Utils.Diff
Returns an array containing the constants of this enum type, in the order they're declared.
visit(Object) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit an Object
visit(byte) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit a byte
visit(short) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit a short
visit(int) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit an int
visit(long) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit a long
visit(float) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit a float
visit(double) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit a double
visit(char) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit a char
visit(boolean) - Method in interface ovm.polyd.runemu.RunaboutBase
Visit a boolean
visit(Object) - Method in interface ovm.polyd.runemu.RunaboutBase2
Visit an Object
visit(Object) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(char) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(byte) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(int) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(long) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(float) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(double) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(short) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(boolean) - Method in class ovm.polyd.runemu.RunaboutBis
A "catch-all" visit method, redirected to visitDefault.
visit(Object) - Method in class ovm.polyd.runemu.RunaboutCore
A "catch-all" visit method, redirected to visitDefault.
visit(Object) - Method in class ovm.polyd.runemu.RunaboutQuick
A "catch-all" visit method.
visit(Object) - Method in class ovm.polyd.runemu.RunaboutStat
A "catch-all" visit method, redirected to visitDefault.
visit(char) - Method in class ovm.polyd.runemu.RunaboutStat
Unused
visit(byte) - Method in class ovm.polyd.runemu.RunaboutStat
Unused
visit(int) - Method in class ovm.polyd.runemu.RunaboutStat
Unused
visit(long) - Method in class ovm.polyd.runemu.RunaboutStat
Unused
visit(float) - Method in class ovm.polyd.runemu.RunaboutStat
Unused
visit(double) - Method in class ovm.polyd.runemu.RunaboutStat
Unused
visit(short) - Method in class ovm.polyd.runemu.RunaboutStat
Unused
visit(boolean) - Method in class ovm.polyd.runemu.RunaboutStat
Unused
visitAppropriate(Object) - Method in class ovm.polyd.runemu.RunaboutBis
The bridge method that performs the actual dispatching, calling the appropriate visit for this object.
visitAppropriate(Object, Class) - Method in class ovm.polyd.runemu.RunaboutBis
The bridge method that performs the dispatching for objects or primitives.
visitAppropriate(Object) - Method in class ovm.polyd.runemu.RunaboutCore
The bridge method that performs the actual dispatching, calling the appropriate visit for this object.
visitAppropriate(Object, Class) - Method in class ovm.polyd.runemu.RunaboutCore
The bridge method that performs the dispatching for objects or primitives (not available in this emulation).
visitAppropriate(Object) - Method in class ovm.polyd.runemu.RunaboutQuick
The bridge method that performs the actual dispatching, calling the appropriate visit for this object.
visitAppropriate(Object) - Method in class ovm.polyd.runemu.RunaboutStat
The bridge method that performs the actual dispatching, calling the appropriate visit for this object.
visitAppropriate(Object, Class) - Method in class ovm.polyd.runemu.RunaboutStat
The bridge method that performs the dispatching for objects or primitives (not available in this emulation).

A B C D F G H I M N O P R S T U V