org.iqual.chaplin
Class DynaCastManager
java.lang.Object
org.iqual.chaplin.DynaCastManager
public class DynaCastManager
- extends Object
This class is the mediator between the injected code in the methods marked by DynaCast
annotation and the dynacast handlers. In such methods the CHECKCAST instruction is replaced
with the call to cast() method within which it is decided which dynacast handler, if any, casts the
incoming instance.
- Since:
- Mar 7, 2009 5:08:44 PM
- Author:
- Zbynek Slajchrt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynaCastManager
public DynaCastManager()
cast
public static Object cast(Object instance,
Class type,
String[] handlerNames)
throws Throwable
- Throws:
Throwable
cast
public static Object cast(Object instance,
String type,
String[] handlerNames)
throws Throwable
- Throws:
Throwable
Copyright © 2009 iquality.org. All Rights Reserved.