ASTNode (int role) { LOG.assertTrue(ChildRole.isUnique(role)); switch (role) { default: return null; case ChildRole.NAME: return findChildByType(JavaTokenType.IDENTIFIER); case ChildRole.EXTENDS_LIST: return findChildByType(JavaElementType.EXTENDS_BOUND_LIST); } }