public final class ProxyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
containsExecMethod(Class clazz)
Verifies that given
Class object contains annotated execute() method. |
static List<Class> |
getAllImplementedInterfaces(Class clazz)
Returns a list of all interfaces implemented by specified class.
|
static Method |
getControllerExecMethod(Class clazz)
Returns a
execute() method for a controller represented by specified class. |
static boolean |
isDialogView(Class clazz)
Checks if specified class represents a dialog view.
|
public static List<Class> getAllImplementedInterfaces(Class clazz)
clazz
- class objectpublic static boolean containsExecMethod(Class clazz)
Class
object contains annotated execute()
method.clazz
- class to checktrue
if class contains such method, false
otherwisepublic static Method getControllerExecMethod(Class clazz)
execute()
method for a controller represented by specified class. This is a method
annotated with DMXControllerDeclaration.Exec
annotation.clazz
- class to checknull
if it does not existpublic static boolean isDialogView(Class clazz)
DMXViewDeclaration
and it's isDialog()
value is true
clazz
- class to checktrue
if class represents a dialog view, false
otherwiseCopyright © 2012-2014 Vektor Software. All Rights Reserved.