Package org.openl.rules.datatype.gen
Class ASMUtils
- java.lang.Object
-
- org.openl.rules.datatype.gen.ASMUtils
-
public final class ASMUtils extends Object
A set of utility methods for working togeter with ASM framework.- Author:
- Yury Molchan
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,List<Method>>buildMap(Class<?> clazz)Builds a map for searching a methodstatic MethodfindMethod(Map<String,List<Method>> methodsMap, String methodName, String descriptor)Search a method in the built map;
-
-
-
Method Detail
-
findMethod
public static Method findMethod(Map<String,List<Method>> methodsMap, String methodName, String descriptor)
Search a method in the built map;- Parameters:
methodsMap- a target map in which the method is searchingmethodName- a method name for searchingdescriptor- an argument types descriptor of a method- Returns:
- null if the method is not found
-
-