public class MethodInspector extends Object
| Constructor and Description |
|---|
MethodInspector() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.walkmod.javalang.ast.SymbolData> |
findMethod(Class<?> scope,
T[] args,
String name) |
static SymbolType |
findMethodType(Class<?> clazz,
Class<?>[] args,
ArrayFilter<Method> filter,
CompositeBuilder<Method> builder,
Map<String,SymbolType> typeMapping,
boolean throwException) |
static <T extends org.walkmod.javalang.ast.SymbolData> |
findMethodType(SymbolType scope,
T[] args,
ArrayFilter<Method> filter,
CompositeBuilder<Method> builder,
Map<String,SymbolType> typeMapping) |
static Set<Method> |
getInheritedMethods(Class<?> clazz) |
static Set<Method> |
getInhertitedDefaultMethods(Class<?> interf,
Class<?> clazz) |
static Method |
getLambdaMethod(Class<?> clazz,
int paramsSize) |
static Set<Method> |
getVisibleMethods(Class<?> clazz,
Class<?> invocationClass) |
static boolean |
isGeneric(Method m) |
public static <T extends org.walkmod.javalang.ast.SymbolData> Method findMethod(Class<?> scope, T[] args, String name)
public static <T extends org.walkmod.javalang.ast.SymbolData> SymbolType findMethodType(SymbolType scope, T[] args, ArrayFilter<Method> filter, CompositeBuilder<Method> builder, Map<String,SymbolType> typeMapping) throws Exception
Exceptionpublic static boolean isGeneric(Method m)
public static SymbolType findMethodType(Class<?> clazz, Class<?>[] args, ArrayFilter<Method> filter, CompositeBuilder<Method> builder, Map<String,SymbolType> typeMapping, boolean throwException) throws Exception
Exceptionpublic static Set<Method> getInhertitedDefaultMethods(Class<?> interf, Class<?> clazz)
public static Set<Method> getVisibleMethods(Class<?> clazz, Class<?> invocationClass)
Copyright © 2018. All rights reserved.