|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
ThreadLocal |
LOCAL
|
Class |
metaClass
|
Constructor Summary | |
CategoryMethod(CachedMethod metaMethod, Class metaClass)
|
Method Summary | |
---|---|
int |
compareTo(Object o)
Sort by most specific to least specific. |
static Map |
copyMapOfList(Map m)
|
static void |
endScope()
|
static Map |
getMetaMethods(Map properties, Class metaClass)
|
static List |
getMethodList(Map metaMethodsMap, String name)
|
static Map |
getProperties()
|
static boolean |
hasCategoryInAnyThread()
|
boolean |
isCacheable()
|
boolean |
isChildOfParent(Class candidateChild, Class candidateParent)
|
static void |
newScope()
|
static Object |
use(Class categoryClass, Closure closure)
Create a scope based on given categoryClass and invoke closure within that scope. |
static Object |
use(List categoryClasses, Closure closure)
Create a scope based on given categoryClasses and invoke closure within that scope. |
static void |
use(Class categoryClass)
Delegated to from the global use(CategoryClass) method. |
Constructor Detail |
---|
public CategoryMethod(CachedMethod metaMethod, Class metaClass)
Method Detail |
---|
public int compareTo(Object o)
static Map copyMapOfList(Map m)
static void endScope()
static Map getMetaMethods(Map properties, Class metaClass)
static List getMethodList(Map metaMethodsMap, String name)
static Map getProperties()
public static boolean hasCategoryInAnyThread()
public boolean isCacheable()
boolean isChildOfParent(Class candidateChild, Class candidateParent)
static void newScope()
public static Object use(Class categoryClass, Closure closure)
public static Object use(List categoryClasses, Closure closure)
static void use(Class categoryClass)