public class MethodScorer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BOXED_COERCION_SCORE |
static int |
PRIMITIVE_COERCION_SCORE |
| Modifier and Type | Method and Description |
|---|---|
int |
_addToScoreForTypes(java.lang.Class<?> paramType,
java.lang.Class argType) |
int |
addDegreesOfSeparation(java.lang.Class<?> parameterType,
java.util.Set<? extends java.lang.Class> types) |
int |
addDegreesOfSeparation(java.lang.Class parameterType,
java.lang.Class exprType) |
int |
addToScoreForTypes(java.lang.Class paramType,
java.lang.Class argType) |
static MethodScorer |
instance() |
MethodScore |
scoreMethod(java.lang.reflect.Method funcType,
java.util.List<java.lang.Class> argTypes,
java.lang.Class returnType) |
int |
scoreMethod(MethodScore score,
java.lang.reflect.Method funcType,
java.util.List<java.lang.Class> argTypes,
java.lang.Class returnType) |
java.util.List<MethodScore> |
scoreMethods(java.util.List<java.lang.reflect.Method> funcTypes,
java.util.List<java.lang.Class> argTypes,
java.lang.Class returnType) |
public static final int BOXED_COERCION_SCORE
public static final int PRIMITIVE_COERCION_SCORE
public static MethodScorer instance()
public java.util.List<MethodScore> scoreMethods(java.util.List<java.lang.reflect.Method> funcTypes, java.util.List<java.lang.Class> argTypes, java.lang.Class returnType)
public MethodScore scoreMethod(java.lang.reflect.Method funcType, java.util.List<java.lang.Class> argTypes, java.lang.Class returnType)
public int scoreMethod(MethodScore score, java.lang.reflect.Method funcType, java.util.List<java.lang.Class> argTypes, java.lang.Class returnType)
public int addToScoreForTypes(java.lang.Class paramType,
java.lang.Class argType)
public int _addToScoreForTypes(java.lang.Class<?> paramType,
java.lang.Class argType)
public int addDegreesOfSeparation(java.lang.Class parameterType,
java.lang.Class exprType)
public int addDegreesOfSeparation(java.lang.Class<?> parameterType,
java.util.Set<? extends java.lang.Class> types)
Copyright © 2022. All rights reserved.