boolean (String name, LighterASTNode member) { LighterASTNode typeParams = LightTreeUtil.firstChildOfType(myTree, member, TYPE_PARAMETER_LIST); if (typeParams != null) { for (LighterASTNode param : LightTreeUtil.getChildrenOfType(myTree, typeParams, TYPE_PARAMETER)) { if (name.equals(JavaLightTreeUtil.getNameIdentifierText(myTree, param))) { return true; } } } return false; }