org.spockframework.util
Class MopUtil

java.lang.Object
  extended by org.spockframework.util.MopUtil

public abstract class MopUtil
extends java.lang.Object


Constructor Summary
MopUtil()
           
 
Method Summary
static java.lang.reflect.Field fieldFor(groovy.lang.MetaProperty property)
           
static java.lang.reflect.Method getterFor(groovy.lang.MetaProperty property)
           
static boolean isReadable(groovy.lang.MetaProperty property)
           
static boolean isWriteable(groovy.lang.MetaProperty property)
           
static java.lang.reflect.Member memberFor(groovy.lang.MetaProperty property)
           
static java.lang.reflect.Method methodFor(groovy.lang.MetaMethod method)
           
static java.lang.reflect.Method setterFor(groovy.lang.MetaProperty property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MopUtil

public MopUtil()
Method Detail

methodFor

public static java.lang.reflect.Method methodFor(groovy.lang.MetaMethod method)

memberFor

public static java.lang.reflect.Member memberFor(groovy.lang.MetaProperty property)

fieldFor

public static java.lang.reflect.Field fieldFor(groovy.lang.MetaProperty property)

getterFor

public static java.lang.reflect.Method getterFor(groovy.lang.MetaProperty property)

setterFor

public static java.lang.reflect.Method setterFor(groovy.lang.MetaProperty property)

isReadable

public static boolean isReadable(groovy.lang.MetaProperty property)

isWriteable

public static boolean isWriteable(groovy.lang.MetaProperty property)


Copyright © 2013. All rights reserved