if (deprecatedScore == NO_MATCH)
return _NO_MATCH_SCORE;
int nameScore = _scoreName(lafName);
TrinidadAgent agent = context. getAgent();
int typeScore = NO_MATCH;
int agentType = agent.getAgentType();
for (int type: _agentTypes)
{
typeScore = Math.max(typeScore, _score(type, agentType));
}
int appScore = _score(_agentApplication, agent.getAgentApplication().ordinal());
int versScore = _score(_agentMajorVersion, agent.getAgentMajorVersion());
int osScore = _score(_agentOS, agent.getAgentOS());
return new ScoreImpl(nameScore,
typeScore,
appScore,
versScore,